DeskTop.js 476 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. ];
  52. //极简模式
  53. U.MD.D.I.easyDeskIcon = [
  54. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  58. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  59. ];
  60. //教师桌面图标的全局变量
  61. U.MD.D.I.teacherDeskIcon2 = [
  62. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  63. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  64. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  65. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  66. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  67. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  68. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  69. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  70. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  71. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  72. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  73. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  74. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  75. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  76. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  77. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  78. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  79. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  80. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  81. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  82. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  83. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  84. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  85. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  86. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  87. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  88. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  89. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  90. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  91. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  92. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  93. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  94. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  95. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  96. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  97. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  98. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  99. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  100. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  101. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  102. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  103. ];
  104. U.MD.D.I.studentDeskIcon = [
  105. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  106. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  107. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  108. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  109. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  110. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  111. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  112. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  113. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  114. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  115. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  116. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  117. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  118. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  119. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  120. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  121. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  122. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  123. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  124. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  125. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  126. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  127. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  128. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  129. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  130. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  131. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  132. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  133. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  134. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  136. ];
  137. U.MD.D.I.studentDeskIcon2 = [
  138. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  139. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  140. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  141. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  142. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  143. ]
  144. U.MD.D.I.studentDeskIcon3 = [
  145. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  146. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  147. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  149. ]
  150. U.MD.D.I.schoolDeskIcon = [
  151. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  152. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  153. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  154. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  155. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  156. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  157. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  158. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  159. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  160. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  161. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  162. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  163. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  164. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  165. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  166. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  167. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  168. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  169. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  170. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  171. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  172. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  173. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  174. ];
  175. U.MD.D.I.orgDeskIcon = [
  176. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  177. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  178. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  179. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  180. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  181. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  182. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  183. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  184. ];
  185. U.MD.D.I.orgStemDeskIcon = [
  186. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  187. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  188. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  189. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  190. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  191. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  192. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  193. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  194. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  195. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  196. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  197. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  198. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  199. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  200. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  201. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  203. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  204. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  205. ];
  206. U.MD.D.I.szulsDeskIcon = [
  207. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  208. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  209. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  210. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  211. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  212. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  213. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  214. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  215. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  216. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  217. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  218. ];
  219. U.MD.D.I.hanDeskIcon = [
  220. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  221. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  222. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  223. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  224. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  225. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  226. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  227. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  228. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  229. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  230. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  231. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  232. ];
  233. U.MD.D.I.GMteacherDeskIcon = [
  234. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  235. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  236. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  237. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  238. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  239. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  240. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  243. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  244. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  245. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  246. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  247. ];
  248. U.MD.D.I.GMstudentDeskIcon = [
  249. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  250. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  251. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  254. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  255. ];
  256. //北师大
  257. U.MD.D.I.BSDNSteacherDeskIcon = [
  258. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  259. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  260. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  261. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  262. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  263. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  264. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  265. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  266. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  267. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  268. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  269. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  270. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  271. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  272. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  273. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  274. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  275. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  276. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  277. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  278. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  279. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  280. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  281. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  282. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  283. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  284. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  285. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  286. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  287. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  288. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  289. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  290. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  291. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  292. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  293. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  294. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  295. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  296. ];
  297. //松山湖
  298. U.MD.D.I.SONGteacherDeskIcon = [
  299. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  300. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  301. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  302. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  303. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  304. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  305. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  306. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  307. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  308. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  309. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  310. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  311. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  312. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  313. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  314. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  315. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  316. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  317. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  318. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  319. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  320. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  321. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  322. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  323. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  324. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  325. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  326. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  327. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  328. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  329. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  330. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  331. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  332. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  333. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  334. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  335. ];
  336. U.MD.D.I.tcStudentDeskIcon = [
  337. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  338. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  339. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  340. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  341. ];
  342. U.MD.D.I.tcTeacherDeskIcon = [
  343. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  344. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  345. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  346. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  347. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  348. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  349. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  350. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcOrganizerDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  358. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  360. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  361. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  362. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  363. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. ];
  367. U.MD.D.I.szscStudentDeskIcon = [
  368. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  369. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  370. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  371. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  372. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  373. ];
  374. U.MD.D.I.szscTeacherDeskIcon = [
  375. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  378. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  379. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  380. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  381. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  382. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  384. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  385. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  386. ];
  387. U.MD.D.I.szscOrganizerDeskIcon = [
  388. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  389. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  390. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  391. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  392. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  393. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  394. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  395. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  407. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  408. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  409. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  412. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  413. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  414. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  415. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  417. ];
  418. U.MD.D.I.wankeAdminDeskIcon = [
  419. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  420. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  421. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  422. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  423. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  424. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  425. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  426. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  427. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  428. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  429. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  430. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  431. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  432. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  433. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  434. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  435. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  436. ];
  437. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  449. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  450. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. ];
  453. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  454. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. ];
  469. //明德教师桌面图标的全局变量
  470. U.MD.D.I.MingdeTeacherDeskIcon = [
  471. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  481. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  482. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  483. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  484. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  485. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  486. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  487. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  488. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  489. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  490. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  491. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  492. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  493. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  494. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  495. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  496. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  497. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  498. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  499. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  500. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  501. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  502. ];
  503. //97c4ee8b-d010-4042-986d-e9d3c217264f
  504. //教师桌面图标的全局变量
  505. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  506. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  507. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  508. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  509. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  510. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  511. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  512. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  513. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  514. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  515. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  516. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  517. ];
  518. //福田
  519. U.MD.D.I.futianTeacherDeskIcon = [
  520. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  521. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  522. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  523. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  524. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  525. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  526. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  527. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  529. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  530. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  531. ];
  532. //福田
  533. U.MD.D.I.futianAdminDeskIcon = [
  534. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  535. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  536. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  537. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  538. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  539. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  540. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  541. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  542. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  543. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  544. ];
  545. //lotech
  546. U.MD.D.I.lotechTeacherDeskIcon = [
  547. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  548. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  549. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  551. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  552. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  556. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  557. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  558. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  559. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  560. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  561. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  562. ];
  563. //龙华中心小学教师桌面图标的全局变量
  564. U.MD.D.I.longhuateacherDeskIcon = [
  565. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  566. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  567. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  568. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  569. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  570. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  571. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  572. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  573. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  574. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  575. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  576. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  577. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  578. ];
  579. //教科院实小教师桌面图标的全局变量
  580. U.MD.D.I.siesteacherDeskIcon = [
  581. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  582. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  583. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  585. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  586. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  587. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  588. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  589. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  590. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  591. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  592. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  596. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  599. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  600. { "Name": "数据融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  601. ];
  602. //教科院实小教师桌面图标的全局变量
  603. U.MD.D.I.siesStudentDeskIcon = [
  604. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  605. { "Name": "项目管理", "Url": "studentCourse", "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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  608. ];
  609. //福田
  610. U.MD.D.I.gdjgTeacherDeskIcon = [
  611. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  612. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  613. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  616. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  617. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  618. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  619. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  620. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  622. ];
  623. //gdjg
  624. U.MD.D.I.gdjgAdminDeskIcon = [
  625. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  626. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  627. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  628. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  629. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  630. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  631. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  632. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  633. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  634. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  635. ];
  636. //hk
  637. U.MD.D.I.hkteacherDeskIcon = [
  638. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  639. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  640. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  641. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  647. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  648. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  649. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  651. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. ];
  656. //hk
  657. U.MD.D.I.hkStudentDeskIcon = [
  658. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  659. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  660. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  663. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  664. ];
  665. //香海正覺蓮社佛教正覺中學
  666. U.MD.D.I.hkZJLSteacherDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  671. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  676. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  677. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  678. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  679. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  682. ];
  683. //香海正覺蓮社佛教正覺中學
  684. U.MD.D.I.hkZJLSStudentDeskIcon = [
  685. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. ];
  690. //云海
  691. U.MD.D.I.yunhaiTeacherDeskIcon = [
  692. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  693. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  694. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  695. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  696. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  697. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  698. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  699. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  700. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  701. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  702. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  703. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  704. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  705. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  706. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  707. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  708. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  709. ];
  710. //福田
  711. U.MD.D.I.heyuanTeacherDeskIcon = [
  712. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  713. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  714. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  715. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  716. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  717. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  718. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  720. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. ];
  724. //福田
  725. U.MD.D.I.heyuanAdminDeskIcon = [
  726. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  727. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  731. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  732. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  733. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  734. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  738. U.MD.D.I.szherTeacherDeskIcon = [
  739. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  742. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  743. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  744. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  745. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  746. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  747. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  748. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  749. ];
  750. //dsei
  751. U.MD.D.I.dseiTeacherDeskIcon = [
  752. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  753. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  754. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  755. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  756. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  759. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  760. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  761. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  762. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  763. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  764. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  765. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  766. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  767. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  768. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  769. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  770. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  771. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  772. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  773. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  774. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  775. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  776. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  777. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  778. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  779. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  780. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  781. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  782. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  783. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  784. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  785. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  786. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  787. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  788. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  789. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  791. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  792. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  793. ];
  794. //dsei
  795. U.MD.D.I.dseiAdminDeskIcon = [
  796. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  797. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  798. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  799. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  800. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  805. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  806. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  807. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  808. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  809. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  810. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  811. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  812. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  813. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  814. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  815. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  816. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  817. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  818. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  819. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  820. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  821. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  822. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  823. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  824. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  825. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  826. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  827. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  828. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  829. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  830. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  831. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  832. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  833. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  835. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  836. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  837. ];
  838. //dsei
  839. U.MD.D.I.dseiStudentDeskIcon = [
  840. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  841. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  842. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  843. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  845. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  846. ];
  847. //未来教育基地
  848. U.MD.D.I.szjkyTeacherDeskIcon = [
  849. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  850. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  854. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  855. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  856. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  857. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  858. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  859. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  860. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  861. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  862. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  863. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  864. ];
  865. //未来教育基地
  866. U.MD.D.I.szjkyAdminDeskIcon = [
  867. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  868. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  869. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  870. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  871. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  872. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  873. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  874. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  875. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  876. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  877. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  878. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  879. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  880. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  881. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  882. ];
  883. //未来教育基地
  884. U.MD.D.I.szjkyStudentDeskIcon = [
  885. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  886. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  887. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  888. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  889. ];
  890. //成华教育局
  891. U.MD.D.I.chjyjTeacherDeskIcon = [
  892. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  893. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  894. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  895. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  896. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  897. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  898. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  899. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  900. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  901. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  902. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  903. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  905. ];
  906. //成华教育局chjyj
  907. U.MD.D.I.chjyjAdminDeskIcon = [
  908. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  911. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  912. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  913. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  914. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  915. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  916. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  917. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  918. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  919. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //成华教育局chjyj
  924. U.MD.D.I.chjyjStudentDeskIcon = [
  925. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  926. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  927. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  928. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  929. ];
  930. //tpc
  931. U.MD.D.I.tpcStudentDeskIcon = [
  932. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  933. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  934. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  935. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  936. ];
  937. //tpc
  938. U.MD.D.I.tpcTeacherDeskIcon = [
  939. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  940. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  941. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  942. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  943. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. ];
  946. //tpc
  947. U.MD.D.I.tpcAdminDeskIcon = [
  948. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  949. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  950. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  951. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  952. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  953. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  954. ];
  955. //THU-IOE
  956. U.MD.D.I.thuioeTeacherDeskIcon = [
  957. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  958. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  962. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  963. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  964. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  965. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  966. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  967. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  968. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  969. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  970. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  971. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  972. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  973. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  974. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  975. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  976. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  977. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  978. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  979. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  980. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  981. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  982. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  983. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  984. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  985. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  986. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  987. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  988. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  989. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  990. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  995. ];
  996. //THU-IOE
  997. U.MD.D.I.thuioeStudentDeskIcon = [
  998. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  999. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1000. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1001. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1002. ];
  1003. //jccssyl
  1004. U.MD.D.I.jccssylTeacherDeskIcon = [
  1005. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1006. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1007. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1010. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1011. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1012. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1013. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1014. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1015. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1016. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1017. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1018. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1019. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1020. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1022. ];
  1023. //jccssyl
  1024. U.MD.D.I.jccssylStudentDeskIcon = [
  1025. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //#region 桌面初始化a
  1031. /**
  1032. * 初始化桌面的起始函数
  1033. *
  1034. */
  1035. U.MD.D.I.init = function () {
  1036. if ($("#U_MD_D_K")[0]) {
  1037. //初始化桌面图标
  1038. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1039. // var clickUrl = ':12588/requestIp.php';
  1040. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1041. // U.MD.D.I.Ip = data;
  1042. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1043. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1044. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1045. // })
  1046. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  1047. // })
  1048. }
  1049. }
  1050. /**
  1051. * 模式切换
  1052. *
  1053. */
  1054. U.MD.D.I.ModeCheck = function (type) {
  1055. if (US.Config.type == type) {
  1056. return
  1057. }
  1058. US.Config.type = type
  1059. $('.U_PBL_Check .active')[0].className = ''
  1060. if (type == 1) {
  1061. $('.U_PBL_Check div')[0].className = 'active'
  1062. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1063. } else {
  1064. $('.U_PBL_Check div')[1].className = 'active'
  1065. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1066. }
  1067. //初始化桌面图标
  1068. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1069. if (type == 2) {
  1070. U.MD.D.I.openApplication("project")
  1071. }
  1072. }
  1073. /**
  1074. * 隐藏任务栏
  1075. *
  1076. * @param {element} 桌面元素
  1077. */
  1078. U.MD.D.I.hiddenTaskbar = function (el) {
  1079. //任务栏位置变小
  1080. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1081. //桌面的位置变大
  1082. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1083. }
  1084. /**
  1085. * 隐藏任务栏
  1086. *
  1087. * @param {element} 桌面元素
  1088. */
  1089. U.MD.D.I.hiddenTaskbarout = function (el) {
  1090. //任务栏位置变小
  1091. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1092. //任务栏位置变化
  1093. U.selectEl(el).css({ "bottom": "-60px" });
  1094. //桌面的位置变大
  1095. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1096. }
  1097. }
  1098. /**
  1099. * 初始化打印桌面图标
  1100. *
  1101. * @param {element} 桌面元素
  1102. */
  1103. U.MD.D.I.initDesktopIcons = function (el, type) {
  1104. var i, //用于循环
  1105. _content, //桌面图标元素
  1106. _iconcontent, //桌面图标元素
  1107. _frag = $$("frag"), //定义一个碎片元素
  1108. _type = US.userInfo.type,
  1109. _org = US.userInfo.org,
  1110. _oid = US.userInfo.organizeid,
  1111. _role = US.userInfo.role,
  1112. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  1113. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  1114. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  1115. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1116. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1117. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1118. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1119. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1120. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1121. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1122. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1123. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1124. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1125. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1126. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1127. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1128. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1129. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1130. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1131. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1132. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1133. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1134. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1135. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1136. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1137. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1138. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1139. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1140. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1141. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1142. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1143. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1144. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1145. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1146. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1147. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1148. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1149. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1150. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1151. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1152. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1153. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1154. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1155. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1156. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1157. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1158. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1159. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1160. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1161. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1162. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1163. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1164. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1165. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1166. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1167. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1168. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1169. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1170. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1171. 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'];
  1172. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff'];
  1173. //清楚桌面图标
  1174. el.innerHTML = "";
  1175. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1176. _teacherDesktopIconInfo.push(
  1177. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1178. { "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)" } },
  1179. )
  1180. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1181. }
  1182. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1183. _teacherDesktopIconInfo.push(
  1184. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1185. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1186. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1187. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1188. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1189. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1190. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1191. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1192. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1193. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1194. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1195. )
  1196. }
  1197. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1198. _teacherDesktopIconInfo.push(
  1199. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1200. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1201. )
  1202. }
  1203. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1204. _teacherDesktopIconInfo.push(
  1205. )
  1206. }
  1207. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1208. _teacherDesktopIconInfo.push(
  1209. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1210. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1211. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1212. )
  1213. _studentDesktopIconInfo.push(
  1214. )
  1215. }
  1216. //麒麟二中 和 民新小学
  1217. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1218. _teacherDesktopIconInfo.push(
  1219. )
  1220. }
  1221. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1222. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1223. _teacherDesktopIconInfo.push(
  1224. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1225. )
  1226. }
  1227. //麒麟二中
  1228. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1229. _studentDesktopIconInfo.push(
  1230. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1231. )
  1232. }
  1233. //万科双语
  1234. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1235. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1236. if (el.Name == '项目管理') {
  1237. el.Name = 'PBL项目'
  1238. }
  1239. return el
  1240. })
  1241. _studentDesktopIconInfo3.push(
  1242. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1243. )
  1244. }
  1245. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1246. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1247. return el.Name != '魔盒识字' && el.Name != '24点'
  1248. })
  1249. }
  1250. 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) {
  1251. _studentDesktopIconInfo.push(
  1252. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1253. { "Name": "学生评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1254. )
  1255. }
  1256. //循环创建桌面图标
  1257. if (type == 1) {
  1258. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1259. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1260. _content = $$("div", {
  1261. className: "U_MD_D_KO",
  1262. "onmousedown": U.UF.C.closure(function (obj) {
  1263. //防止拖动图标即打开了桌面应用
  1264. U.MD.D.click(this, obj);
  1265. }, [_studentDesktopIconInfo[i]]),
  1266. "onclick": U.UF.C.closure(function (obj) {
  1267. //防止拖动图标即打开了桌面应用
  1268. U.MD.D.click(this, obj);
  1269. }, [_studentDesktopIconInfo[i]])
  1270. }, _frag); //
  1271. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1272. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1273. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1274. }
  1275. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1276. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1277. _content = $$("div", {
  1278. className: "U_MD_D_KO",
  1279. "onmousedown": U.UF.C.closure(function (obj) {
  1280. //防止拖动图标即打开了桌面应用
  1281. U.MD.D.click(this, obj);
  1282. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1283. "onclick": U.UF.C.closure(function (obj) {
  1284. //防止拖动图标即打开了桌面应用
  1285. U.MD.D.click(this, obj);
  1286. }, [_hkZJLSStudentDeskIconInfo[i]])
  1287. }, _frag); //
  1288. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1289. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1290. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1291. } //
  1292. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1293. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1294. _content = $$("div", {
  1295. className: "U_MD_D_KO",
  1296. "onmousedown": U.UF.C.closure(function (obj) {
  1297. //防止拖动图标即打开了桌面应用
  1298. U.MD.D.click(this, obj);
  1299. }, [_jccssylStudentDeskIconInfo[i]]),
  1300. "onclick": U.UF.C.closure(function (obj) {
  1301. //防止拖动图标即打开了桌面应用
  1302. U.MD.D.click(this, obj);
  1303. }, [_jccssylStudentDeskIconInfo[i]])
  1304. }, _frag); //
  1305. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1308. }
  1309. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1310. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1311. _content = $$("div", {
  1312. className: "U_MD_D_KO",
  1313. "onmousedown": U.UF.C.closure(function (obj) {
  1314. //防止拖动图标即打开了桌面应用
  1315. U.MD.D.click(this, obj);
  1316. }, [_thuioeStudentDeskIconInfo[i]]),
  1317. "onclick": U.UF.C.closure(function (obj) {
  1318. //防止拖动图标即打开了桌面应用
  1319. U.MD.D.click(this, obj);
  1320. }, [_thuioeStudentDeskIconInfo[i]])
  1321. }, _frag); //
  1322. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1323. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1324. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1325. }
  1326. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1327. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1328. _content = $$("div", {
  1329. className: "U_MD_D_KO",
  1330. "onmousedown": U.UF.C.closure(function (obj) {
  1331. //防止拖动图标即打开了桌面应用
  1332. U.MD.D.click(this, obj);
  1333. }, [_tpcStudentDeskIconInfo[i]]),
  1334. "onclick": U.UF.C.closure(function (obj) {
  1335. //防止拖动图标即打开了桌面应用
  1336. U.MD.D.click(this, obj);
  1337. }, [_tpcStudentDeskIconInfo[i]])
  1338. }, _frag); //
  1339. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1340. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1341. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1342. } //
  1343. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1344. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1345. _content = $$("div", {
  1346. className: "U_MD_D_KO",
  1347. "onmousedown": U.UF.C.closure(function (obj) {
  1348. //防止拖动图标即打开了桌面应用
  1349. U.MD.D.click(this, obj);
  1350. }, [_chjyjStudentDeskIconInfo[i]]),
  1351. "onclick": U.UF.C.closure(function (obj) {
  1352. //防止拖动图标即打开了桌面应用
  1353. U.MD.D.click(this, obj);
  1354. }, [_chjyjStudentDeskIconInfo[i]])
  1355. }, _frag); //
  1356. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1357. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1358. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1359. }
  1360. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1361. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1362. _content = $$("div", {
  1363. className: "U_MD_D_KO",
  1364. "onmousedown": U.UF.C.closure(function (obj) {
  1365. //防止拖动图标即打开了桌面应用
  1366. U.MD.D.click(this, obj);
  1367. }, [_szjkyStudentDeskIconInfo[i]]),
  1368. "onclick": U.UF.C.closure(function (obj) {
  1369. //防止拖动图标即打开了桌面应用
  1370. U.MD.D.click(this, obj);
  1371. }, [_szjkyStudentDeskIconInfo[i]])
  1372. }, _frag); //
  1373. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1376. }
  1377. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1378. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1379. _content = $$("div", {
  1380. className: "U_MD_D_KO",
  1381. "onmousedown": U.UF.C.closure(function (obj) {
  1382. //防止拖动图标即打开了桌面应用
  1383. U.MD.D.click(this, obj);
  1384. }, [_dseiStudentDeskIconInfo[i]]),
  1385. "onclick": U.UF.C.closure(function (obj) {
  1386. //防止拖动图标即打开了桌面应用
  1387. U.MD.D.click(this, obj);
  1388. }, [_dseiStudentDeskIconInfo[i]])
  1389. }, _frag); //
  1390. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1391. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1392. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1393. }
  1394. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1395. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1396. _content = $$("div", {
  1397. className: "U_MD_D_KO",
  1398. "onmousedown": U.UF.C.closure(function (obj) {
  1399. //防止拖动图标即打开了桌面应用
  1400. U.MD.D.click(this, obj);
  1401. }, [_siesStudentDeskIconInfo[i]]),
  1402. "onclick": U.UF.C.closure(function (obj) {
  1403. //防止拖动图标即打开了桌面应用
  1404. U.MD.D.click(this, obj);
  1405. }, [_siesStudentDeskIconInfo[i]])
  1406. }, _frag); //
  1407. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1408. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1409. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1410. }
  1411. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1412. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1413. _content = $$("div", {
  1414. className: "U_MD_D_KO",
  1415. "onmousedown": U.UF.C.closure(function (obj) {
  1416. //防止拖动图标即打开了桌面应用
  1417. U.MD.D.click(this, obj);
  1418. }, [_hkStudentDeskIconInfo[i]]),
  1419. "onclick": U.UF.C.closure(function (obj) {
  1420. //防止拖动图标即打开了桌面应用
  1421. U.MD.D.click(this, obj);
  1422. }, [_hkStudentDeskIconInfo[i]])
  1423. }, _frag); //
  1424. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1425. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1426. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1427. }
  1428. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1429. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1430. _content = $$("div", {
  1431. className: "U_MD_D_KO",
  1432. "onmousedown": U.UF.C.closure(function (obj) {
  1433. //防止拖动图标即打开了桌面应用
  1434. U.MD.D.click(this, obj);
  1435. }, [_studentDesktopIconInfo[i]]),
  1436. "onclick": U.UF.C.closure(function (obj) {
  1437. //防止拖动图标即打开了桌面应用
  1438. U.MD.D.click(this, obj);
  1439. }, [_studentDesktopIconInfo[i]])
  1440. }, _frag); //
  1441. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1442. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1443. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1444. }
  1445. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1446. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1447. _content = $$("div", {
  1448. className: "U_MD_D_KO",
  1449. "onmousedown": U.UF.C.closure(function (obj) {
  1450. //防止拖动图标即打开了桌面应用
  1451. U.MD.D.click(this, obj);
  1452. }, [_tcStudentDeskIconInfo[i]]),
  1453. "onclick": U.UF.C.closure(function (obj) {
  1454. //防止拖动图标即打开了桌面应用
  1455. U.MD.D.click(this, obj);
  1456. }, [_tcStudentDeskIconInfo[i]])
  1457. }, _frag); //
  1458. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1459. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1460. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1461. }
  1462. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1463. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1464. _content = $$("div", {
  1465. className: "U_MD_D_KO",
  1466. "onmousedown": U.UF.C.closure(function (obj) {
  1467. //防止拖动图标即打开了桌面应用
  1468. U.MD.D.click(this, obj);
  1469. }, [_szscStudentDeskIconInfo[i]]),
  1470. "onclick": U.UF.C.closure(function (obj) {
  1471. //防止拖动图标即打开了桌面应用
  1472. U.MD.D.click(this, obj);
  1473. }, [_szscStudentDeskIconInfo[i]])
  1474. }, _frag); //
  1475. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1476. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1477. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1478. }
  1479. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1480. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1481. _content = $$("div", {
  1482. className: "U_MD_D_KO",
  1483. "onmousedown": U.UF.C.closure(function (obj) {
  1484. //防止拖动图标即打开了桌面应用
  1485. U.MD.D.click(this, obj);
  1486. }, [_studentDesktopIconInfo3[i]]),
  1487. "onclick": U.UF.C.closure(function (obj) {
  1488. //防止拖动图标即打开了桌面应用
  1489. U.MD.D.click(this, obj);
  1490. }, [_studentDesktopIconInfo3[i]])
  1491. }, _frag); //
  1492. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1493. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1494. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1495. }
  1496. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1497. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1498. _content = $$("div", {
  1499. className: "U_MD_D_KO",
  1500. "onmousedown": U.UF.C.closure(function (obj) {
  1501. //防止拖动图标即打开了桌面应用
  1502. U.MD.D.click(this, obj);
  1503. }, [_studentDesktopIconInfo2[i]]),
  1504. "onclick": U.UF.C.closure(function (obj) {
  1505. //防止拖动图标即打开了桌面应用
  1506. U.MD.D.click(this, obj);
  1507. }, [_studentDesktopIconInfo2[i]])
  1508. }, _frag); //
  1509. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1510. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1511. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1512. }
  1513. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1514. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1515. _content = $$("div", {
  1516. className: "U_MD_D_KO",
  1517. "onmousedown": U.UF.C.closure(function (obj) {
  1518. //防止拖动图标即打开了桌面应用
  1519. U.MD.D.click(this, obj);
  1520. }, [_wanketeacherDesktopIconInfo[i]]),
  1521. "onclick": U.UF.C.closure(function (obj) {
  1522. //防止拖动图标即打开了桌面应用
  1523. U.MD.D.click(this, obj);
  1524. }, [_wanketeacherDesktopIconInfo[i]])
  1525. }, _frag); //
  1526. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1527. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1528. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1529. }
  1530. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1531. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1532. _content = $$("div", {
  1533. className: "U_MD_D_KO",
  1534. "onmousedown": U.UF.C.closure(function (obj) {
  1535. //防止拖动图标即打开了桌面应用
  1536. U.MD.D.click(this, obj);
  1537. }, [_wankeAdminDesktopIconInfo[i]]),
  1538. "onclick": U.UF.C.closure(function (obj) {
  1539. //防止拖动图标即打开了桌面应用
  1540. U.MD.D.click(this, obj);
  1541. }, [_wankeAdminDesktopIconInfo[i]])
  1542. }, _frag); //
  1543. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1544. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1545. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1546. }
  1547. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1548. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1549. _content = $$("div", {
  1550. className: "U_MD_D_KO",
  1551. "onmousedown": U.UF.C.closure(function (obj) {
  1552. //防止拖动图标即打开了桌面应用
  1553. U.MD.D.click(this, obj);
  1554. }, [_jccssylTeacherDeskIconInfo[i]]),
  1555. "onclick": U.UF.C.closure(function (obj) {
  1556. //防止拖动图标即打开了桌面应用
  1557. U.MD.D.click(this, obj);
  1558. }, [_jccssylTeacherDeskIconInfo[i]])
  1559. }, _frag); //
  1560. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1561. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1562. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1563. }
  1564. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1565. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1566. _content = $$("div", {
  1567. className: "U_MD_D_KO",
  1568. "onmousedown": U.UF.C.closure(function (obj) {
  1569. //防止拖动图标即打开了桌面应用
  1570. U.MD.D.click(this, obj);
  1571. }, [_tpcOrganizerDeskIconInfo[i]]),
  1572. "onclick": U.UF.C.closure(function (obj) {
  1573. //防止拖动图标即打开了桌面应用
  1574. U.MD.D.click(this, obj);
  1575. }, [_tpcOrganizerDeskIconInfo[i]])
  1576. }, _frag); //
  1577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1580. }
  1581. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1582. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1583. _content = $$("div", {
  1584. className: "U_MD_D_KO",
  1585. "onmousedown": U.UF.C.closure(function (obj) {
  1586. //防止拖动图标即打开了桌面应用
  1587. U.MD.D.click(this, obj);
  1588. }, [_tpcTeacherDeskIconInfo[i]]),
  1589. "onclick": U.UF.C.closure(function (obj) {
  1590. //防止拖动图标即打开了桌面应用
  1591. U.MD.D.click(this, obj);
  1592. }, [_tpcTeacherDeskIconInfo[i]])
  1593. }, _frag); //
  1594. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1595. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1596. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1597. }
  1598. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1599. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1600. _content = $$("div", {
  1601. className: "U_MD_D_KO",
  1602. "onmousedown": U.UF.C.closure(function (obj) {
  1603. //防止拖动图标即打开了桌面应用
  1604. U.MD.D.click(this, obj);
  1605. }, [_teacherDesktopIconInfo2[i]]),
  1606. "onclick": U.UF.C.closure(function (obj) {
  1607. //防止拖动图标即打开了桌面应用
  1608. U.MD.D.click(this, obj);
  1609. }, [_teacherDesktopIconInfo2[i]])
  1610. }, _frag); //
  1611. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1612. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1613. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1614. }
  1615. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1616. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1617. _content = $$("div", {
  1618. className: "U_MD_D_KO",
  1619. "onmousedown": U.UF.C.closure(function (obj) {
  1620. //防止拖动图标即打开了桌面应用
  1621. U.MD.D.click(this, obj);
  1622. }, [_thuioeTeacherDeskIconInfo[i]]),
  1623. "onclick": U.UF.C.closure(function (obj) {
  1624. //防止拖动图标即打开了桌面应用
  1625. U.MD.D.click(this, obj);
  1626. }, [_thuioeTeacherDeskIconInfo[i]])
  1627. }, _frag); //
  1628. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1629. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1630. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1631. }
  1632. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1633. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1634. _content = $$("div", {
  1635. className: "U_MD_D_KO",
  1636. "onmousedown": U.UF.C.closure(function (obj) {
  1637. //防止拖动图标即打开了桌面应用
  1638. U.MD.D.click(this, obj);
  1639. }, [_lotechTeacherDeskIconInfo[i]]),
  1640. "onclick": U.UF.C.closure(function (obj) {
  1641. //防止拖动图标即打开了桌面应用
  1642. U.MD.D.click(this, obj);
  1643. }, [_lotechTeacherDeskIconInfo[i]])
  1644. }, _frag); //
  1645. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1646. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1647. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1648. }//
  1649. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1650. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1651. _content = $$("div", {
  1652. className: "U_MD_D_KO",
  1653. "onmousedown": U.UF.C.closure(function (obj) {
  1654. //防止拖动图标即打开了桌面应用
  1655. U.MD.D.click(this, obj);
  1656. }, [_siesTeacherDeskIconInfo[i]]),
  1657. "onclick": U.UF.C.closure(function (obj) {
  1658. //防止拖动图标即打开了桌面应用
  1659. U.MD.D.click(this, obj);
  1660. }, [_siesTeacherDeskIconInfo[i]])
  1661. }, _frag); //
  1662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1665. }
  1666. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1667. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1668. _content = $$("div", {
  1669. className: "U_MD_D_KO",
  1670. "onmousedown": U.UF.C.closure(function (obj) {
  1671. //防止拖动图标即打开了桌面应用
  1672. U.MD.D.click(this, obj);
  1673. }, [_longhuaTeacherDeskIconInfo[i]]),
  1674. "onclick": U.UF.C.closure(function (obj) {
  1675. //防止拖动图标即打开了桌面应用
  1676. U.MD.D.click(this, obj);
  1677. }, [_longhuaTeacherDeskIconInfo[i]])
  1678. }, _frag); //
  1679. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1680. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1681. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1682. }
  1683. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1684. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1685. _content = $$("div", {
  1686. className: "U_MD_D_KO",
  1687. "onmousedown": U.UF.C.closure(function (obj) {
  1688. //防止拖动图标即打开了桌面应用
  1689. U.MD.D.click(this, obj);
  1690. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1691. "onclick": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_yunhaiTeacherDeskIconInfo[i]])
  1695. }, _frag); //
  1696. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1697. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1698. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1699. } //_hkStudentDeskIconInfo
  1700. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1701. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1702. _content = $$("div", {
  1703. className: "U_MD_D_KO",
  1704. "onmousedown": U.UF.C.closure(function (obj) {
  1705. //防止拖动图标即打开了桌面应用
  1706. U.MD.D.click(this, obj);
  1707. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1708. "onclick": U.UF.C.closure(function (obj) {
  1709. //防止拖动图标即打开了桌面应用
  1710. U.MD.D.click(this, obj);
  1711. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1712. }, _frag); //
  1713. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1714. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1715. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1716. }
  1717. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1718. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1719. _content = $$("div", {
  1720. className: "U_MD_D_KO",
  1721. "onmousedown": U.UF.C.closure(function (obj) {
  1722. //防止拖动图标即打开了桌面应用
  1723. U.MD.D.click(this, obj);
  1724. }, [_hkTeacherDeskIconInfo[i]]),
  1725. "onclick": U.UF.C.closure(function (obj) {
  1726. //防止拖动图标即打开了桌面应用
  1727. U.MD.D.click(this, obj);
  1728. }, [_hkTeacherDeskIconInfo[i]])
  1729. }, _frag); //
  1730. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1731. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1732. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1733. }
  1734. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1735. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1736. _content = $$("div", {
  1737. className: "U_MD_D_KO",
  1738. "onmousedown": U.UF.C.closure(function (obj) {
  1739. //防止拖动图标即打开了桌面应用
  1740. U.MD.D.click(this, obj);
  1741. }, [_gdjgAdminDeskIconInfo[i]]),
  1742. "onclick": U.UF.C.closure(function (obj) {
  1743. //防止拖动图标即打开了桌面应用
  1744. U.MD.D.click(this, obj);
  1745. }, [_gdjgAdminDeskIconInfo[i]])
  1746. }, _frag); //
  1747. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1748. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1749. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1750. }
  1751. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1752. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1753. _content = $$("div", {
  1754. className: "U_MD_D_KO",
  1755. "onmousedown": U.UF.C.closure(function (obj) {
  1756. //防止拖动图标即打开了桌面应用
  1757. U.MD.D.click(this, obj);
  1758. }, [_gdjgTeacherDeskIconInfo[i]]),
  1759. "onclick": U.UF.C.closure(function (obj) {
  1760. //防止拖动图标即打开了桌面应用
  1761. U.MD.D.click(this, obj);
  1762. }, [_gdjgTeacherDeskIconInfo[i]])
  1763. }, _frag); //
  1764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1767. }
  1768. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1769. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1770. _content = $$("div", {
  1771. className: "U_MD_D_KO",
  1772. "onmousedown": U.UF.C.closure(function (obj) {
  1773. //防止拖动图标即打开了桌面应用
  1774. U.MD.D.click(this, obj);
  1775. }, [_szherTeacherDeskIconInfo[i]]),
  1776. "onclick": U.UF.C.closure(function (obj) {
  1777. //防止拖动图标即打开了桌面应用
  1778. U.MD.D.click(this, obj);
  1779. }, [_szherTeacherDeskIconInfo[i]])
  1780. }, _frag); //
  1781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1784. }
  1785. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1786. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1787. _content = $$("div", {
  1788. className: "U_MD_D_KO",
  1789. "onmousedown": U.UF.C.closure(function (obj) {
  1790. //防止拖动图标即打开了桌面应用
  1791. U.MD.D.click(this, obj);
  1792. }, [_heyuannAdminDeskIconInfo[i]]),
  1793. "onclick": U.UF.C.closure(function (obj) {
  1794. //防止拖动图标即打开了桌面应用
  1795. U.MD.D.click(this, obj);
  1796. }, [_heyuannAdminDeskIconInfo[i]])
  1797. }, _frag); //
  1798. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1799. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1800. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1801. }
  1802. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1803. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1804. _content = $$("div", {
  1805. className: "U_MD_D_KO",
  1806. "onmousedown": U.UF.C.closure(function (obj) {
  1807. //防止拖动图标即打开了桌面应用
  1808. U.MD.D.click(this, obj);
  1809. }, [_heyuanTeacherDeskIconInfo[i]]),
  1810. "onclick": U.UF.C.closure(function (obj) {
  1811. //防止拖动图标即打开了桌面应用
  1812. U.MD.D.click(this, obj);
  1813. }, [_heyuanTeacherDeskIconInfo[i]])
  1814. }, _frag); //
  1815. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1816. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1817. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1818. } //
  1819. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1820. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1821. _content = $$("div", {
  1822. className: "U_MD_D_KO",
  1823. "onmousedown": U.UF.C.closure(function (obj) {
  1824. //防止拖动图标即打开了桌面应用
  1825. U.MD.D.click(this, obj);
  1826. }, [_dseiAdminDeskIconInfo[i]]),
  1827. "onclick": U.UF.C.closure(function (obj) {
  1828. //防止拖动图标即打开了桌面应用
  1829. U.MD.D.click(this, obj);
  1830. }, [_dseiAdminDeskIconInfo[i]])
  1831. }, _frag); //
  1832. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1833. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1834. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1835. }
  1836. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1837. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1838. _content = $$("div", {
  1839. className: "U_MD_D_KO",
  1840. "onmousedown": U.UF.C.closure(function (obj) {
  1841. //防止拖动图标即打开了桌面应用
  1842. U.MD.D.click(this, obj);
  1843. }, [_dseiTeacherDeskIconInfo[i]]),
  1844. "onclick": U.UF.C.closure(function (obj) {
  1845. //防止拖动图标即打开了桌面应用
  1846. U.MD.D.click(this, obj);
  1847. }, [_dseiTeacherDeskIconInfo[i]])
  1848. }, _frag); //
  1849. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1850. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1851. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1852. } //
  1853. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1854. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1855. _content = $$("div", {
  1856. className: "U_MD_D_KO",
  1857. "onmousedown": U.UF.C.closure(function (obj) {
  1858. //防止拖动图标即打开了桌面应用
  1859. U.MD.D.click(this, obj);
  1860. }, [_chjyjAdminDeskIconInfo[i]]),
  1861. "onclick": U.UF.C.closure(function (obj) {
  1862. //防止拖动图标即打开了桌面应用
  1863. U.MD.D.click(this, obj);
  1864. }, [_chjyjAdminDeskIconInfo[i]])
  1865. }, _frag); //
  1866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1869. }//
  1870. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1871. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1872. _content = $$("div", {
  1873. className: "U_MD_D_KO",
  1874. "onmousedown": U.UF.C.closure(function (obj) {
  1875. //防止拖动图标即打开了桌面应用
  1876. U.MD.D.click(this, obj);
  1877. }, [_chjyjTeacherDeskIconInfo[i]]),
  1878. "onclick": U.UF.C.closure(function (obj) {
  1879. //防止拖动图标即打开了桌面应用
  1880. U.MD.D.click(this, obj);
  1881. }, [_chjyjTeacherDeskIconInfo[i]])
  1882. }, _frag); //
  1883. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1884. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1885. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1886. }
  1887. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1888. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1889. _content = $$("div", {
  1890. className: "U_MD_D_KO",
  1891. "onmousedown": U.UF.C.closure(function (obj) {
  1892. //防止拖动图标即打开了桌面应用
  1893. U.MD.D.click(this, obj);
  1894. }, [_szjkyAdminDeskIconInfo[i]]),
  1895. "onclick": U.UF.C.closure(function (obj) {
  1896. //防止拖动图标即打开了桌面应用
  1897. U.MD.D.click(this, obj);
  1898. }, [_szjkyAdminDeskIconInfo[i]])
  1899. }, _frag); //
  1900. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1901. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1902. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1903. }//
  1904. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1905. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1906. _content = $$("div", {
  1907. className: "U_MD_D_KO",
  1908. "onmousedown": U.UF.C.closure(function (obj) {
  1909. //防止拖动图标即打开了桌面应用
  1910. U.MD.D.click(this, obj);
  1911. }, [_szjkyTeacherDeskIconInfo[i]]),
  1912. "onclick": U.UF.C.closure(function (obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_szjkyTeacherDeskIconInfo[i]])
  1916. }, _frag); //
  1917. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1918. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1919. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1920. }
  1921. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1922. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1923. _content = $$("div", {
  1924. className: "U_MD_D_KO",
  1925. "onmousedown": U.UF.C.closure(function (obj) {
  1926. //防止拖动图标即打开了桌面应用
  1927. U.MD.D.click(this, obj);
  1928. }, [_futianAdminDeskIconInfo[i]]),
  1929. "onclick": U.UF.C.closure(function (obj) {
  1930. //防止拖动图标即打开了桌面应用
  1931. U.MD.D.click(this, obj);
  1932. }, [_futianAdminDeskIconInfo[i]])
  1933. }, _frag); //
  1934. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1937. }
  1938. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1939. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1940. _content = $$("div", {
  1941. className: "U_MD_D_KO",
  1942. "onmousedown": U.UF.C.closure(function (obj) {
  1943. //防止拖动图标即打开了桌面应用
  1944. U.MD.D.click(this, obj);
  1945. }, [_futianTeacherDeskIconInfo[i]]),
  1946. "onclick": U.UF.C.closure(function (obj) {
  1947. //防止拖动图标即打开了桌面应用
  1948. U.MD.D.click(this, obj);
  1949. }, [_futianTeacherDeskIconInfo[i]])
  1950. }, _frag); //
  1951. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1952. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1953. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1954. }
  1955. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1956. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1957. _content = $$("div", {
  1958. className: "U_MD_D_KO",
  1959. "onmousedown": U.UF.C.closure(function (obj) {
  1960. //防止拖动图标即打开了桌面应用
  1961. U.MD.D.click(this, obj);
  1962. }, [_MingdeTeacherDeskIcon[i]]),
  1963. "onclick": U.UF.C.closure(function (obj) {
  1964. //防止拖动图标即打开了桌面应用
  1965. U.MD.D.click(this, obj);
  1966. }, [_MingdeTeacherDeskIcon[i]])
  1967. }, _frag); //
  1968. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1969. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1970. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1971. }
  1972. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1973. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1974. _content = $$("div", {
  1975. className: "U_MD_D_KO",
  1976. "onmousedown": U.UF.C.closure(function (obj) {
  1977. //防止拖动图标即打开了桌面应用
  1978. U.MD.D.click(this, obj);
  1979. }, [_lhsAdminDesktopIconInfo[i]]),
  1980. "onclick": U.UF.C.closure(function (obj) {
  1981. //防止拖动图标即打开了桌面应用
  1982. U.MD.D.click(this, obj);
  1983. }, [_lhsAdminDesktopIconInfo[i]])
  1984. }, _frag); //
  1985. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1986. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1987. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1988. }
  1989. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1990. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1991. _content = $$("div", {
  1992. className: "U_MD_D_KO",
  1993. "onmousedown": U.UF.C.closure(function (obj) {
  1994. //防止拖动图标即打开了桌面应用
  1995. U.MD.D.click(this, obj);
  1996. }, [_lhsteacherDesktopIconInfo[i]]),
  1997. "onclick": U.UF.C.closure(function (obj) {
  1998. //防止拖动图标即打开了桌面应用
  1999. U.MD.D.click(this, obj);
  2000. }, [_lhsteacherDesktopIconInfo[i]])
  2001. }, _frag); //
  2002. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2003. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2004. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2005. }
  2006. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2007. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2008. _content = $$("div", {
  2009. className: "U_MD_D_KO",
  2010. "onmousedown": U.UF.C.closure(function (obj) {
  2011. //防止拖动图标即打开了桌面应用
  2012. U.MD.D.click(this, obj);
  2013. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2014. "onclick": U.UF.C.closure(function (obj) {
  2015. //防止拖动图标即打开了桌面应用
  2016. U.MD.D.click(this, obj);
  2017. }, [_zhoujiateacherDesktopIconInfo[i]])
  2018. }, _frag); //
  2019. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2020. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2021. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2022. }
  2023. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2024. for (i = 0; i < _hanDeskIcon.length; i++) {
  2025. _content = $$("div", {
  2026. className: "U_MD_D_KO",
  2027. "onmousedown": U.UF.C.closure(function (obj) {
  2028. //防止拖动图标即打开了桌面应用
  2029. U.MD.D.click(this, obj);
  2030. }, [_hanDeskIcon[i]]),
  2031. "onclick": U.UF.C.closure(function (obj) {
  2032. //防止拖动图标即打开了桌面应用
  2033. U.MD.D.click(this, obj);
  2034. }, [_hanDeskIcon[i]])
  2035. }, _frag); //
  2036. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2037. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2038. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2039. }
  2040. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2041. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2042. _content = $$("div", {
  2043. className: "U_MD_D_KO",
  2044. "onmousedown": U.UF.C.closure(function (obj) {
  2045. //防止拖动图标即打开了桌面应用
  2046. U.MD.D.click(this, obj);
  2047. }, [_orgStemDeskIcon[i]]),
  2048. "onclick": U.UF.C.closure(function (obj) {
  2049. //防止拖动图标即打开了桌面应用
  2050. U.MD.D.click(this, obj);
  2051. }, [_orgStemDeskIcon[i]])
  2052. }, _frag); //
  2053. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2054. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2055. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2056. }
  2057. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2058. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2059. _content = $$("div", {
  2060. className: "U_MD_D_KO",
  2061. "onmousedown": U.UF.C.closure(function (obj) {
  2062. //防止拖动图标即打开了桌面应用
  2063. U.MD.D.click(this, obj);
  2064. }, [_szulsDeskIcon[i]]),
  2065. "onclick": U.UF.C.closure(function (obj) {
  2066. //防止拖动图标即打开了桌面应用
  2067. U.MD.D.click(this, obj);
  2068. }, [_szulsDeskIcon[i]])
  2069. }, _frag); //
  2070. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2071. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2072. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2073. }
  2074. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2075. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2076. _content = $$("div", {
  2077. className: "U_MD_D_KO",
  2078. "onmousedown": U.UF.C.closure(function (obj) {
  2079. //防止拖动图标即打开了桌面应用
  2080. U.MD.D.click(this, obj);
  2081. }, [_orgDesktopIconInfo[i]]),
  2082. "onclick": U.UF.C.closure(function (obj) {
  2083. //防止拖动图标即打开了桌面应用
  2084. U.MD.D.click(this, obj);
  2085. }, [_orgDesktopIconInfo[i]])
  2086. }, _frag); //
  2087. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2088. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2089. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2090. }
  2091. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2092. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2093. _content = $$("div", {
  2094. className: "U_MD_D_KO",
  2095. "onmousedown": U.UF.C.closure(function (obj) {
  2096. //防止拖动图标即打开了桌面应用
  2097. U.MD.D.click(this, obj);
  2098. }, [_schoolDesktopIconInfo[i]]),
  2099. "onclick": U.UF.C.closure(function (obj) {
  2100. //防止拖动图标即打开了桌面应用
  2101. U.MD.D.click(this, obj);
  2102. }, [_schoolDesktopIconInfo[i]])
  2103. }, _frag); //
  2104. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2105. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2106. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2107. }
  2108. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2109. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2110. _content = $$("div", {
  2111. className: "U_MD_D_KO",
  2112. "onmousedown": U.UF.C.closure(function (obj) {
  2113. //防止拖动图标即打开了桌面应用
  2114. U.MD.D.click(this, obj);
  2115. }, [_GMteacherDesktopIconInfo[i]]),
  2116. "onclick": U.UF.C.closure(function (obj) {
  2117. //防止拖动图标即打开了桌面应用
  2118. U.MD.D.click(this, obj);
  2119. }, [_GMteacherDesktopIconInfo[i]])
  2120. }, _frag); //
  2121. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2122. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2123. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2124. }
  2125. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2126. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2127. _content = $$("div", {
  2128. className: "U_MD_D_KO",
  2129. "onmousedown": U.UF.C.closure(function (obj) {
  2130. //防止拖动图标即打开了桌面应用
  2131. U.MD.D.click(this, obj);
  2132. }, [_SONGteacherDesktopIconInfo[i]]),
  2133. "onclick": U.UF.C.closure(function (obj) {
  2134. //防止拖动图标即打开了桌面应用
  2135. U.MD.D.click(this, obj);
  2136. }, [_SONGteacherDesktopIconInfo[i]])
  2137. }, _frag); //
  2138. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2139. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2140. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2141. }
  2142. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2143. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2144. _content = $$("div", {
  2145. className: "U_MD_D_KO",
  2146. "onmousedown": U.UF.C.closure(function (obj) {
  2147. //防止拖动图标即打开了桌面应用
  2148. U.MD.D.click(this, obj);
  2149. }, [_GMstudentDesktopIconInfo[i]]),
  2150. "onclick": U.UF.C.closure(function (obj) {
  2151. //防止拖动图标即打开了桌面应用
  2152. U.MD.D.click(this, obj);
  2153. }, [_GMstudentDesktopIconInfo[i]])
  2154. }, _frag); //
  2155. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2156. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2157. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2158. }
  2159. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2160. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2161. _content = $$("div", {
  2162. className: "U_MD_D_KO",
  2163. "onmousedown": U.UF.C.closure(function (obj) {
  2164. //防止拖动图标即打开了桌面应用
  2165. U.MD.D.click(this, obj);
  2166. }, [_tcTeacherDeskIconInfo[i]]),
  2167. "onclick": U.UF.C.closure(function (obj) {
  2168. //防止拖动图标即打开了桌面应用
  2169. U.MD.D.click(this, obj);
  2170. }, [_tcTeacherDeskIconInfo[i]])
  2171. }, _frag); //
  2172. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2173. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2174. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2175. }
  2176. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2177. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2178. _content = $$("div", {
  2179. className: "U_MD_D_KO",
  2180. "onmousedown": U.UF.C.closure(function (obj) {
  2181. //防止拖动图标即打开了桌面应用
  2182. U.MD.D.click(this, obj);
  2183. }, [_tcOrganizerDeskIconInfo[i]]),
  2184. "onclick": U.UF.C.closure(function (obj) {
  2185. //防止拖动图标即打开了桌面应用
  2186. U.MD.D.click(this, obj);
  2187. }, [_tcOrganizerDeskIconInfo[i]])
  2188. }, _frag); //
  2189. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2190. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2191. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2192. }
  2193. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2194. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2195. _content = $$("div", {
  2196. className: "U_MD_D_KO",
  2197. "onmousedown": U.UF.C.closure(function (obj) {
  2198. //防止拖动图标即打开了桌面应用
  2199. U.MD.D.click(this, obj);
  2200. }, [_szscTeacherDeskIconInfo[i]]),
  2201. "onclick": U.UF.C.closure(function (obj) {
  2202. //防止拖动图标即打开了桌面应用
  2203. U.MD.D.click(this, obj);
  2204. }, [_szscTeacherDeskIconInfo[i]])
  2205. }, _frag); //
  2206. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2207. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2208. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2209. }
  2210. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2211. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2212. _content = $$("div", {
  2213. className: "U_MD_D_KO",
  2214. "onmousedown": U.UF.C.closure(function (obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_szscOrganizerDeskIconInfo[i]]),
  2218. "onclick": U.UF.C.closure(function (obj) {
  2219. //防止拖动图标即打开了桌面应用
  2220. U.MD.D.click(this, obj);
  2221. }, [_szscOrganizerDeskIconInfo[i]])
  2222. }, _frag); //
  2223. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2224. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2225. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2226. }
  2227. } else {
  2228. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2229. _content = $$("div", {
  2230. className: "U_MD_D_KO",
  2231. "onmousedown": U.UF.C.closure(function (obj) {
  2232. //防止拖动图标即打开了桌面应用
  2233. U.MD.D.click(this, obj);
  2234. }, [_teacherDesktopIconInfo[i]]),
  2235. "onclick": U.UF.C.closure(function (obj) {
  2236. //防止拖动图标即打开了桌面应用
  2237. U.MD.D.click(this, obj);
  2238. }, [_teacherDesktopIconInfo[i]])
  2239. }, _frag); //
  2240. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2241. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2242. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2243. }
  2244. }
  2245. } else {
  2246. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2247. _content = $$("div", {
  2248. className: "U_MD_D_KO",
  2249. style: { 'width': '124px', 'height': '145px' },
  2250. "onmousedown": U.UF.C.closure(function (obj) {
  2251. //防止拖动图标即打开了桌面应用
  2252. U.MD.D.click(this, obj);
  2253. }, [_easyDesktopIconInfo[i]]),
  2254. "onclick": U.UF.C.closure(function (obj) {
  2255. //防止拖动图标即打开了桌面应用
  2256. U.MD.D.click(this, obj);
  2257. }, [_easyDesktopIconInfo[i]])
  2258. }, _frag); //
  2259. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2260. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2261. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2262. }
  2263. }
  2264. if (type == 1) {
  2265. //加载好后给图标定位
  2266. U.MD.D.iconPostion($(_frag).Child());
  2267. } else {
  2268. //加载好后给图标定位
  2269. U.MD.D.iconPostion2($(_frag).Child());
  2270. }
  2271. //把图标加载到页面
  2272. el.appendChild(_frag);
  2273. }
  2274. /**
  2275. * 显示任务栏
  2276. *
  2277. * @param {element} 桌面元素
  2278. */
  2279. U.MD.D.I.displayTaskbar = function (el) {
  2280. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2281. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2282. //任务栏位置变化
  2283. U.selectEl(el).css({ "bottom": "0px" });
  2284. //桌面位置变话
  2285. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2286. }
  2287. }
  2288. //#region 桌面图标拖动逻辑
  2289. /**
  2290. * 桌面排列图标
  2291. *
  2292. * @param {element} 桌面元素
  2293. * @param {object} 上下相距的距离
  2294. * @param {object} 左右相距的距离
  2295. * @return {object} 命名空间
  2296. */
  2297. U.MD.D.iconPostion = function (childs, top, left) {
  2298. var i; //用于循环处理
  2299. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2300. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2301. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2302. for (i = 0; i < childs.length; i++) {
  2303. //如果竖排top超过了范围处理
  2304. if (top + 95 > US.height - 10) {
  2305. //left超过了页面范围处理,则向上重叠打印处理
  2306. if ((left + 180) > US.width) {
  2307. top -= 110;
  2308. left -= 90;
  2309. }
  2310. //没有超过范围,那么left+90添加到下一个竖排打印
  2311. else {
  2312. left += 90;
  2313. top = 15;
  2314. };
  2315. }
  2316. //给图标的位置赋值
  2317. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2318. if (i < childs.length - 1) {
  2319. //页面图标每次向下加95
  2320. top += 95;
  2321. }
  2322. }
  2323. //返回最后调用的图标的位置
  2324. return [top, left];
  2325. }
  2326. /**
  2327. * 桌面排列图标
  2328. *
  2329. * @param {element} 桌面元素
  2330. * @param {object} 上下相距的距离
  2331. * @param {object} 左右相距的距离
  2332. * @return {object} 命名空间
  2333. */
  2334. U.MD.D.iconPostion2 = function (childs, top, left) {
  2335. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2336. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2337. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2338. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2339. for (i = 0; i < childs.length; i++) {
  2340. //如果竖排top超过了范围处理
  2341. if (left + 150 > US.width - 10) {
  2342. //left超过了页面范围处理,则向上重叠打印处理
  2343. if ((top + 180) > US.Height) {
  2344. top -= 150;
  2345. left -= 150;
  2346. }
  2347. //没有超过范围,那么left+90添加到下一个竖排打印
  2348. else {
  2349. top += 150;
  2350. left = ol;
  2351. };
  2352. }
  2353. //给图标的位置赋值
  2354. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2355. if (i < childs.length - 1) {
  2356. //页面图标每次向下加95
  2357. left += 150;
  2358. }
  2359. }
  2360. //返回最后调用的图标的位置
  2361. return [top, left];
  2362. }
  2363. /**
  2364. * 桌面点击事件逻辑
  2365. *
  2366. * @param {element} 桌面元素
  2367. * @param {object} 上下相距的距离
  2368. * @param {object} 左右相距的距离
  2369. * @return {object} 命名空间
  2370. */
  2371. U.MD.D.click = function (el, obj) {
  2372. var _buttonnumber = event.button; //点击的按钮的事件值
  2373. var _userinfo = US.userInfo;
  2374. U.UF.EV.stopBubble(); //阻止向上冒泡
  2375. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2376. if (_buttonnumber < 2) {
  2377. //如果是click事件的处理
  2378. if (event.type == "click") {
  2379. //如果元素在mousemove事件中没有移动则出发click事件
  2380. if (!U.MD.D.I.IsDrag) {
  2381. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2382. U.alert("请先登录您的账号!");
  2383. setTimeout(() => {
  2384. U.MD.U.L.login();
  2385. }, 2000);
  2386. } else {
  2387. //打开应用处理
  2388. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2389. }
  2390. }
  2391. }
  2392. //如果是mouse事件的处理
  2393. else {
  2394. if (US.Config.type == '1') {
  2395. //拖动处理,添加拖动和拖动结束事件
  2396. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2397. }
  2398. }
  2399. U.MD.D.I.IsDrag = false;
  2400. }
  2401. }
  2402. /**
  2403. * 拖动的处理
  2404. *
  2405. */
  2406. U.MD.D.iconMove = function () {
  2407. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2408. U.MD.D.I.IsDrag = true;
  2409. }
  2410. /**
  2411. * 拖动结束后,这里是定位处理,以网状的形式定位
  2412. *
  2413. * @param {element} 拖动的元素
  2414. * @return {object} 命名空间
  2415. */
  2416. U.MD.D.iconUp = function (el) {
  2417. var _top = 15,
  2418. _left = 20,
  2419. _margin,
  2420. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2421. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2422. if (_positioninfo["OT"] > 15) {
  2423. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2424. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2425. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2426. }
  2427. if (_positioninfo["OL"] > 20) {
  2428. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2429. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2430. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2431. }
  2432. //while循环判断么一个重叠的元素
  2433. do {
  2434. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2435. _top = _positioninfo[0] + 95; //得到定位后的top
  2436. _left = _positioninfo[1]; //得到定位后的left
  2437. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2438. }
  2439. /**
  2440. * 判断拖动后图标是否重叠
  2441. *
  2442. * @param {element} 拖动的元素
  2443. * @param {element} 桌面所有的元素
  2444. * @param {array} 拖动元素的位置
  2445. ----------[0] 上 top
  2446. ----------[1] 左 left
  2447. * @return {object} 命名空间
  2448. */
  2449. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2450. //循环所有的图标
  2451. for (var i = 0; i < childs.length; i++) {
  2452. //判断有没有和该图标诶子重叠的元素
  2453. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2454. return childs[i]; //如果有返回
  2455. }
  2456. }
  2457. }
  2458. //#endregion
  2459. //#endregion
  2460. //#region 桌面应用
  2461. /**
  2462. * 打开应用
  2463. *
  2464. * @param {string} 类型
  2465. -----------------Disk 网盘系统
  2466. -----------------PDisk 学习系统网盘
  2467. -----------------Poto 图片
  2468. -----------------Video 视频
  2469. -----------------Music 音乐
  2470. -----------------Word word
  2471. -----------------Excel excel
  2472. -----------------Txt 记事本
  2473. -----------------PB 学习系统
  2474. -----------------Blog 朋友圈系统
  2475. -----------------FTP ftp系统
  2476. -----------------Group 好友群
  2477. -----------------SY 首页系统
  2478. -----------------Set 个人设置
  2479. -----------------XSet 系统设置
  2480. -----------------App 我们所有的app
  2481. -----------------BC c.1473.cn 平台
  2482. -----------------CWeb d.1473.cn 变成平台
  2483. -----------------其他的外联系统 我们统一用iframe打开
  2484. * @param {array} 类型
  2485. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2486. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2487. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2488. 如果第一个参数为其他,则无第二个参数
  2489. * @returns {array}
  2490. */
  2491. window.addEventListener('message', function (e) { // 监听 message 事件
  2492. // alert(e.data.type);
  2493. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2494. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2495. //3是展示全部阶段 2学生 1老师 4专家
  2496. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2497. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2498. //3是展示全部阶段 2学生 1老师 4专家
  2499. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2500. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2501. //3是展示全部阶段 2学生 1老师 4专家
  2502. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2503. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2504. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2505. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2506. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2507. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2508. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2509. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2510. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2511. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2512. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2513. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2514. //3是展示全部阶段 2学生 1老师 4专家
  2515. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2516. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2517. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2518. U.MD.D.I.selectUser();
  2519. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2520. var _formel = document.getElementById("study");
  2521. U.UF.F.windowZooming(_formel);
  2522. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2523. var _formel = document.getElementById("studyDetail");
  2524. U.UF.F.windowZooming(_formel);
  2525. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2526. var _formel = document.getElementById("studyDetail");
  2527. U.UF.F.windowZooming(_formel);
  2528. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2529. var _formel = document.getElementById("studentStudy");
  2530. U.UF.F.windowZooming(_formel);
  2531. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2532. // var _formel = document.getElementById("study");
  2533. //如果最大化了,那么就把他缩小
  2534. // if (_formel.ismaximize) {
  2535. // return;
  2536. // }
  2537. // U.UF.F.windowZooming(_formel);
  2538. // U.UF.F.topWindow(_formel);
  2539. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2540. // var _formel = document.getElementById("studyDetail");
  2541. //如果最大化了,那么就把他缩小
  2542. // if (_formel.ismaximize) {
  2543. // return;
  2544. // }
  2545. // U.UF.F.windowZooming(_formel);
  2546. // U.UF.F.topWindow(_formel);
  2547. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2548. // var _formel = document.getElementById("studentStudy");
  2549. // if (_formel.ismaximize) {
  2550. // return;
  2551. // }
  2552. // U.UF.F.windowZooming(_formel);
  2553. // U.UF.F.topWindow(_formel);
  2554. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2555. var _formel = document.getElementById("study");
  2556. // if (_formel.ismaximize) {
  2557. // return;
  2558. // }
  2559. // U.UF.F.windowZooming(_formel);
  2560. U.UF.F.topWindow(_formel);
  2561. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2562. var _formel = document.getElementById("studentIndex");
  2563. U.UF.F.windowZooming(_formel);
  2564. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2565. var _formel = document.getElementById("studyDetailS");
  2566. U.UF.F.windowZooming(_formel);
  2567. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2568. var _formel = document.getElementById("studioIndex");
  2569. U.UF.F.windowZooming(_formel);
  2570. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2571. var _formel = document.getElementById("studyDetailStudio");
  2572. U.UF.F.windowZooming(_formel);
  2573. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2574. var _formel = document.getElementById("studyDetailStudio");
  2575. U.UF.F.windowZooming(_formel);
  2576. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2577. var _formel = document.getElementById("studyDetailNT");
  2578. U.UF.F.windowZooming(_formel);
  2579. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2580. var _formel = document.getElementById("studyDetailS");
  2581. U.UF.F.windowZooming(_formel);
  2582. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2583. var _formel = document.getElementById("studyDetailS");
  2584. U.UF.F.topWindow(_formel);
  2585. } else if (e.data.tools && e.data.tools == "1") {
  2586. // U.MD.D.I.openApplication("whiteboard")
  2587. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2588. } else if (e.data.tools && e.data.tools == "2") {
  2589. U.MD.D.I.openApplication("note")
  2590. } else if (e.data.tools && e.data.tools == "3") {
  2591. // U.MD.D.I.openApplication("mind")
  2592. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2593. } else if (e.data.tools && e.data.tools == "4") {
  2594. U.MD.D.I.openApplication("investigation")
  2595. } else if (e.data.tools && e.data.tools == "6") {
  2596. // U.MD.D.I.openApplication("doc")
  2597. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2598. } else if (e.data.tools && e.data.tools == "7") {
  2599. // U.MD.D.I.openApplication("mindNetwork")
  2600. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2601. } else if (e.data.tools && e.data.tools == "8") {
  2602. U.MD.D.I.openApplication("library")
  2603. } else if (e.data.tools && e.data.tools == "17") {
  2604. U.MD.D.I.openApplication("stuLibrary")
  2605. } else if (e.data.tools && e.data.tools == "18") {
  2606. U.MD.D.I.openApplication("train")
  2607. } else if (e.data.tools && e.data.tools == "21") {
  2608. U.MD.D.I.openApplication("program")
  2609. } else if (e.data.tools && e.data.tools == "22") {
  2610. U.MD.D.I.openApplication("AIprogram2")
  2611. } else if (e.data.tools && e.data.tools == "23") {
  2612. U.MD.D.I.openApplication("Pythonprogram")
  2613. } else if (e.data.tools && e.data.tools == "24") {
  2614. U.MD.D.I.openApplication("AIprogram")
  2615. } else if (e.data.tools && e.data.tools == "25") {
  2616. U.MD.D.I.openApplication("sys")
  2617. } else if (e.data.tools && e.data.tools == "26") {
  2618. // U.MD.D.I.openApplication("courseDesign")
  2619. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2620. } else if (e.data.tools && e.data.tools == "31") {
  2621. U.MD.D.I.openApplication("netWorkPanel")
  2622. } else if (e.data.tools && e.data.tools == "32") {
  2623. U.MD.D.I.openApplication("codeEdit")
  2624. } else if (e.data.tools && e.data.tools == "57") {
  2625. U.MD.D.I.openApplication("CocoPi")
  2626. } else if (e.data.tools && e.data.tools == "63") {
  2627. U.MD.D.I.openApplication("Wood")
  2628. } else if (e.data.tools && e.data.tools == "58") {
  2629. U.MD.D.I.openApplication("car")
  2630. } else if (e.data.tools && e.data.tools == "59") {
  2631. U.MD.D.I.openApplication("lineSearch")
  2632. } else if (e.data.tools && e.data.tools == "60") {
  2633. U.MD.D.I.openApplication("deepLearning")
  2634. } else if (e.data.tools && e.data.tools == "61") {
  2635. U.MD.D.I.openApplication("allHistory")
  2636. } else if (e.data.tools && e.data.tools == "28") {
  2637. U.MD.D.I.openApplication("translation")
  2638. } else if (e.data.tools && e.data.tools == "37") {
  2639. U.MD.D.I.openApplication("mohe")
  2640. } else if (e.data.tools && e.data.tools == "38") {
  2641. U.MD.D.I.openApplication("24game")
  2642. } else if (e.data.tools && e.data.tools == "39") {
  2643. U.MD.D.I.openApplication("GeoGebra")
  2644. } else if (e.data.tools && e.data.tools == "43") {
  2645. U.MD.D.I.openApplication("studentEvaluate")
  2646. } else if (e.data.tools && e.data.tools == "44") {
  2647. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2648. } else if (e.data.tools && e.data.tools == "46") {
  2649. U.MD.D.I.openApplication("project")
  2650. } else if (e.data.tools && e.data.tools == "1s") {
  2651. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2652. } else if (e.data.tools && e.data.tools == "3s") {
  2653. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2654. } else if (e.data.tools && e.data.tools == "6s") {
  2655. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2656. } else if (e.data.tools && e.data.tools == "1studio") {
  2657. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2658. } else if (e.data.tools && e.data.tools == "3studio") {
  2659. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2660. } else if (e.data.tools && e.data.tools == "6studio") {
  2661. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2662. } else if (e.data.tools && e.data.tools == "3y") {
  2663. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2664. } else if (e.data.tools && e.data.tools == "1y") {
  2665. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2666. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2667. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2668. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2669. U.MD.D.I.openApplication("AIAnalyse")
  2670. } else if (e.data.tools && e.data.tools == "1teacher") {
  2671. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2672. } else if (e.data.tools && e.data.tools == "3teacher") {
  2673. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2674. } else if (e.data.tools && e.data.tools == "7teacher") {
  2675. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2676. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2677. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2678. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2679. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2680. } else if (e.data.tools && e.data.tools == "1E") {
  2681. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2682. } else if (e.data.tools && e.data.tools == "3E") {
  2683. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2684. } else if (e.data.tools && e.data.tools == "57y") {
  2685. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2686. } else if (e.data.tools && e.data.tools == "57u") {
  2687. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2688. } else if (e.data.tools && e.data.tools == "57teacher") {
  2689. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2690. } else if (e.data.tools && e.data.tools == "64") {
  2691. U.MD.D.I.openApplication("AIChat")
  2692. } else if (e.data.tools && e.data.tools == "66") {
  2693. U.MD.D.I.openApplication("formulaEdi")
  2694. } else if (e.data.tools && e.data.tools == "67") {
  2695. U.MD.D.I.openApplication("molStr")
  2696. } else if (e.data.tools && e.data.tools == "68") {
  2697. U.MD.D.I.openApplication("timeAxis")
  2698. } else if (e.data.tools && e.data.tools == "openCourse") {
  2699. let _data = {
  2700. typea: e.data.typea || '',
  2701. typeb: e.data.typeb || '',
  2702. typed: e.data.typed || '',
  2703. }
  2704. U.MD.D.I.openInApplication("index", _data)
  2705. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2706. let _data = {
  2707. classid: e.data.classid || '',
  2708. }
  2709. U.MD.D.I.openInApplication("dataClass", _data)
  2710. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2711. let _data = {
  2712. cid: e.data.cid || '',
  2713. gid: e.data.gid || '',
  2714. }
  2715. U.MD.D.I.openInApplication("opencCscl", _data)
  2716. }
  2717. });
  2718. U.MD.D.I.selectUser = function () {
  2719. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2720. if (res.value[0].length > 0) {
  2721. US.userInfo = res.value[0][0];
  2722. $(".userName")[0].innerHTML = US.userInfo.username;
  2723. }
  2724. }, [], { "type": "GET", "withCredentials": true });
  2725. }
  2726. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2727. var _userinfo = US.userInfo, //登录用户信息
  2728. _userid = US.userInfo.userid, //登录用户id
  2729. _oid = _userinfo.organizeid,
  2730. _type = US.userInfo.type,
  2731. _org = US.userInfo.org,
  2732. _role = US.userInfo.role,
  2733. _classId = US.userInfo.classid;
  2734. if (_type == 4) {
  2735. tType = 4
  2736. }
  2737. switch (str) {
  2738. case "studyDetailNT": //无终端模式
  2739. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2740. setTimeout(() => {
  2741. U.MD.U.L.login();
  2742. }, 2000);
  2743. } else {
  2744. _formdiv = new U.UF.UI.form(
  2745. "课程详情",
  2746. $$("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 }), {
  2747. "id": "studyDetailNT",
  2748. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2749. "onresize": function () { }
  2750. }, {
  2751. closecallback: function () { }
  2752. }, { "style": { "height": "36px" } }).form; //创建窗体
  2753. _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); } }
  2754. break;
  2755. }
  2756. case "studyDetail":
  2757. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2758. setTimeout(() => {
  2759. U.MD.U.L.login();
  2760. }, 2000);
  2761. } else {
  2762. _formdiv = new U.UF.UI.form(
  2763. "课程详情",
  2764. $$("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 }), {
  2765. "id": "studyDetail",
  2766. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2767. "onresize": function () { }
  2768. }, {
  2769. closecallback: function () { }
  2770. }, { "style": { "height": "36px" } }).form; //创建窗体
  2771. _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); } }
  2772. break;
  2773. }
  2774. case "studyDetailS":
  2775. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2776. setTimeout(() => {
  2777. U.MD.U.L.login();
  2778. }, 2000);
  2779. } else {
  2780. _formdiv = new U.UF.UI.form(
  2781. "项目详情",
  2782. $$("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 }), {
  2783. "id": "studyDetailS",
  2784. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2785. "onresize": function () { }
  2786. }, {
  2787. closecallback: function () { }
  2788. }, { "style": { "height": "36px" } }).form; //创建窗体
  2789. _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); } }
  2790. break;
  2791. }
  2792. case "studyDetailStudio":
  2793. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2794. setTimeout(() => {
  2795. U.MD.U.L.login();
  2796. }, 2000);
  2797. } else {
  2798. _formdiv = new U.UF.UI.form(
  2799. "工作详情",
  2800. $$("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 }), {
  2801. "id": "studyDetailStudio",
  2802. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2803. "onresize": function () { }
  2804. }, {
  2805. closecallback: function () { }
  2806. }, { "style": { "height": "36px" } }).form; //创建窗体
  2807. _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); } }
  2808. break;
  2809. }
  2810. case "studyDetailS5":
  2811. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2812. setTimeout(() => {
  2813. U.MD.U.L.login();
  2814. }, 2000);
  2815. } else {
  2816. _formdiv = new U.UF.UI.form(
  2817. "项目详情",
  2818. $$("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 }), {
  2819. "id": "studyDetailS",
  2820. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2821. "onresize": function () { }
  2822. }, {
  2823. closecallback: function () { }
  2824. }, { "style": { "height": "36px" } }).form; //创建窗体
  2825. _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); } }
  2826. break;
  2827. }
  2828. case "studyDetailGM":
  2829. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2830. setTimeout(() => {
  2831. U.MD.U.L.login();
  2832. }, 2000);
  2833. } else {
  2834. _formdiv = new U.UF.UI.form(
  2835. "课程详情",
  2836. $$("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 }), {
  2837. "id": "studyDetail",
  2838. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2839. "onresize": function () { }
  2840. }, {
  2841. closecallback: function () { }
  2842. }, { "style": { "height": "36px" } }).form; //创建窗体
  2843. _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); } }
  2844. break;
  2845. }
  2846. case "hanUrl":
  2847. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2848. setTimeout(() => {
  2849. U.MD.U.L.login();
  2850. }, 2000);
  2851. } else {
  2852. _formdiv = new U.UF.UI.form(
  2853. "汉字宫",
  2854. $$("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" }), {
  2855. "id": "hanUrl",
  2856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2857. "onresize": function () { }
  2858. }, {
  2859. closecallback: function () { }
  2860. }, { "style": { "height": "36px" } }).form; //创建窗体
  2861. _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); } }
  2862. break;
  2863. }
  2864. case "index":
  2865. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2866. setTimeout(() => {
  2867. U.MD.U.L.login();
  2868. }, 2000);
  2869. } else {
  2870. _formdiv = new U.UF.UI.form(
  2871. "课程中心",
  2872. $$("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 }), {
  2873. "id": "study",
  2874. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2875. "onresize": function () { }
  2876. }, {
  2877. closecallback: function () { }
  2878. }, { "style": { "height": "36px" } }).form; //创建窗体
  2879. _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); } }
  2880. break;
  2881. }
  2882. case "dataClass":
  2883. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2884. setTimeout(() => {
  2885. U.MD.U.L.login();
  2886. }, 2000);
  2887. } else {
  2888. _formdiv = new U.UF.UI.form(
  2889. "数据报告",
  2890. $$("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 }), {
  2891. "id": "dataClass",
  2892. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2893. "onresize": function () { }
  2894. }, {
  2895. closecallback: function () { }
  2896. }, { "style": { "height": "36px" } }).form; //创建窗体
  2897. _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); } }
  2898. break;
  2899. }
  2900. case "opencCscl":
  2901. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2902. setTimeout(() => {
  2903. U.MD.U.L.login();
  2904. }, 2000);
  2905. } else {
  2906. _formdiv = new U.UF.UI.form(
  2907. "协同建构",
  2908. $$("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.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2909. "id": "futureClass",
  2910. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2911. "onresize": function () { }
  2912. }, {
  2913. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  2914. }, { "style": { "height": "36px" } }).form; //创建窗体
  2915. _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); } }
  2916. break;
  2917. }
  2918. }
  2919. }
  2920. U.MD.D.I.openApplication = function (str, obj, info) {
  2921. obj = obj || {};
  2922. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2923. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2924. _userinfo = US.userInfo, //登录用户信息
  2925. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2926. _oid = obj.organizeid || _userinfo.organizeid,
  2927. _type = US.userInfo.type,
  2928. _org = US.userInfo.org,
  2929. _role = US.userInfo.role,
  2930. _classId = US.userInfo.classid,
  2931. _TscreenType = 1
  2932. _screenType = 2,
  2933. _SscreenType = 3;
  2934. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2935. return;
  2936. }
  2937. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2938. switch (str) {
  2939. case "studnetProject": //好友打开
  2940. _formdiv = new U.UF.UI.form(
  2941. "我的项目",
  2942. $$("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 }), {
  2943. "id": "studnetProject",
  2944. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2945. "onresize": function () { }
  2946. }, {
  2947. closecallback: function () { }
  2948. }, { "style": { "height": "36px" } }).form; //创建窗体
  2949. _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); } }
  2950. break;
  2951. case "studentEvaluate": //好友打开
  2952. _formdiv = new U.UF.UI.form(
  2953. "我的评价",
  2954. $$("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 }), {
  2955. "id": "studentEvaluate",
  2956. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2957. "onresize": function () { }
  2958. }, {
  2959. closecallback: function () { }
  2960. }, { "style": { "height": "36px" } }).form; //创建窗体
  2961. _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); } }
  2962. break;
  2963. case "my":
  2964. _formdiv = new U.UF.UI.form(
  2965. "我的资料",
  2966. $$("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 }), {
  2967. "id": "my",
  2968. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2969. "onresize": function () { }
  2970. }, {
  2971. closecallback: function () { }
  2972. }, { "style": { "height": "36px" } }).form; //创建窗体
  2973. _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); } }
  2974. break;
  2975. case "program":
  2976. _formdiv = new U.UF.UI.form(
  2977. "编程平台",
  2978. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2979. "id": "program",
  2980. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2981. "onresize": function () { }
  2982. }, {
  2983. closecallback: function () { }
  2984. }, { "style": { "height": "36px" } }).form; //创建窗体
  2985. _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); } }
  2986. break;
  2987. case "library":
  2988. _formdiv = new U.UF.UI.form(
  2989. "素材库",
  2990. $$("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 }), {
  2991. "id": "library",
  2992. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2993. "onresize": function () { }
  2994. }, {
  2995. closecallback: function () { }
  2996. }, { "style": { "height": "36px" } }).form; //创建窗体
  2997. _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); } }
  2998. break;
  2999. case "whiteboard":
  3000. _formdiv = new U.UF.UI.form(
  3001. "电子白板",
  3002. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3003. "id": "whiteboard",
  3004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3005. "onresize": function () { }
  3006. }, {
  3007. closecallback: function () { }
  3008. }, { "style": { "height": "36px" } }).form; //创建窗体
  3009. _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); } }
  3010. break;
  3011. case "investigation":
  3012. _formdiv = new U.UF.UI.form(
  3013. "问卷调查",
  3014. $$("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 }), {
  3015. "id": "investigation",
  3016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3017. "onresize": function () { }
  3018. }, {
  3019. closecallback: function () { }
  3020. }, { "style": { "height": "36px" } }).form; //创建窗体
  3021. _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); } }
  3022. break;
  3023. case "note":
  3024. _formdiv = new U.UF.UI.form(
  3025. "便签分类",
  3026. $$("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 }), {
  3027. "id": "note",
  3028. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3029. "onresize": function () { }
  3030. }, {
  3031. closecallback: function () { }
  3032. }, { "style": { "height": "36px" } }).form; //创建窗体
  3033. _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); } }
  3034. break;
  3035. // case "score":
  3036. // _formdiv = new U.UF.UI.form(
  3037. // "量规评分",
  3038. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3039. // "id": "score",
  3040. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3041. // "onresize": function() {}
  3042. // }, {
  3043. // closecallback: function() {}
  3044. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3045. // _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); } }
  3046. // break;
  3047. case "mind":
  3048. _formdiv = new U.UF.UI.form(
  3049. "思维导图",
  3050. $$("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"
  3051. "id": "mind",
  3052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3053. "onresize": function () { }
  3054. }, {
  3055. closecallback: function () { }
  3056. }, { "style": { "height": "36px" } }).form; //创建窗体
  3057. _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); } }
  3058. break;
  3059. case "doc":
  3060. // U.MD.D.I.isRoom();
  3061. _formdiv = new U.UF.UI.form(
  3062. "协同文档",
  3063. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3064. "id": "doc",
  3065. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3066. "onresize": function () { }
  3067. }, {
  3068. closecallback: function () { }
  3069. }, { "style": { "height": "36px" } }).form; //创建窗体
  3070. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3071. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3072. // })
  3073. _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); } }
  3074. break;
  3075. case "studentStudy":
  3076. _formdiv = new U.UF.UI.form(
  3077. "课程中心",
  3078. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3079. "id": "studentStudy",
  3080. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3081. "onresize": function () { }
  3082. }, {
  3083. closecallback: function () { }
  3084. }, { "style": { "height": "36px" } }).form; //创建窗体
  3085. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3086. break;
  3087. case "train": //好友打开
  3088. _formdiv = new U.UF.UI.form(
  3089. "训练平台",
  3090. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3091. "id": "train",
  3092. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3093. "onresize": function () { }
  3094. }, {
  3095. closecallback: function () { }
  3096. }, { "style": { "height": "36px" } }).form; //创建窗体
  3097. _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); } }
  3098. break;
  3099. case "mindNetwork": //好友打开
  3100. _formdiv = new U.UF.UI.form(
  3101. "思维网格",
  3102. $$("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 }), {
  3103. "id": "mindNetwork",
  3104. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3105. "onresize": function () { }
  3106. }, {
  3107. closecallback: function () { }
  3108. }, { "style": { "height": "36px" } }).form; //创建窗体
  3109. _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); } }
  3110. break;
  3111. case "studentClassRoom": //好友打开
  3112. _formdiv = new U.UF.UI.form(
  3113. "实时课堂",
  3114. $$("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 }), {
  3115. "id": "studentClassRoom",
  3116. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //创建窗体
  3121. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3122. setTimeout(() => {
  3123. U.UF.F.windowZooming(_formdiv)
  3124. }, 0);
  3125. break;
  3126. }
  3127. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3128. switch (str) {
  3129. case "studnetProject": //好友打开
  3130. _formdiv = new U.UF.UI.form(
  3131. "我的项目",
  3132. $$("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 }), {
  3133. "id": "studnetProject",
  3134. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3135. "onresize": function () { }
  3136. }, {
  3137. closecallback: function () { }
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3140. break;
  3141. case "studentEvaluate": //好友打开
  3142. _formdiv = new U.UF.UI.form(
  3143. "我的评价",
  3144. $$("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 }), {
  3145. "id": "studentEvaluate",
  3146. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3147. "onresize": function () { }
  3148. }, {
  3149. closecallback: function () { }
  3150. }, { "style": { "height": "36px" } }).form; //创建窗体
  3151. _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); } }
  3152. break;
  3153. case "my":
  3154. _formdiv = new U.UF.UI.form(
  3155. "我的资料",
  3156. $$("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 }), {
  3157. "id": "my",
  3158. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3159. "onresize": function () { }
  3160. }, {
  3161. closecallback: function () { }
  3162. }, { "style": { "height": "36px" } }).form; //创建窗体
  3163. _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); } }
  3164. break;
  3165. case "program":
  3166. _formdiv = new U.UF.UI.form(
  3167. "编程平台",
  3168. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3169. "id": "program",
  3170. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3171. "onresize": function () { }
  3172. }, {
  3173. closecallback: function () { }
  3174. }, { "style": { "height": "36px" } }).form; //创建窗体
  3175. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3176. break;
  3177. case "library":
  3178. _formdiv = new U.UF.UI.form(
  3179. "素材库",
  3180. $$("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 }), {
  3181. "id": "library",
  3182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3183. "onresize": function () { }
  3184. }, {
  3185. closecallback: function () { }
  3186. }, { "style": { "height": "36px" } }).form; //创建窗体
  3187. _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); } }
  3188. break;
  3189. case "whiteboard":
  3190. _formdiv = new U.UF.UI.form(
  3191. "电子白板",
  3192. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3193. "id": "whiteboard",
  3194. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3195. "onresize": function () { }
  3196. }, {
  3197. closecallback: function () { }
  3198. }, { "style": { "height": "36px" } }).form; //创建窗体
  3199. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3200. break;
  3201. case "investigation":
  3202. _formdiv = new U.UF.UI.form(
  3203. "问卷调查",
  3204. $$("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 }), {
  3205. "id": "investigation",
  3206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3207. "onresize": function () { }
  3208. }, {
  3209. closecallback: function () { }
  3210. }, { "style": { "height": "36px" } }).form; //创建窗体
  3211. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3212. break;
  3213. case "note":
  3214. _formdiv = new U.UF.UI.form(
  3215. "便签分类",
  3216. $$("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 }), {
  3217. "id": "note",
  3218. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3219. "onresize": function () { }
  3220. }, {
  3221. closecallback: function () { }
  3222. }, { "style": { "height": "36px" } }).form; //创建窗体
  3223. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3224. break;
  3225. // case "score":
  3226. // _formdiv = new U.UF.UI.form(
  3227. // "量规评分",
  3228. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3229. // "id": "score",
  3230. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3231. // "onresize": function() {}
  3232. // }, {
  3233. // closecallback: function() {}
  3234. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3235. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3236. // break;
  3237. case "mind":
  3238. _formdiv = new U.UF.UI.form(
  3239. "思维导图",
  3240. $$("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"
  3241. "id": "mind",
  3242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3243. "onresize": function () { }
  3244. }, {
  3245. closecallback: function () { }
  3246. }, { "style": { "height": "36px" } }).form; //创建窗体
  3247. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3248. break;
  3249. case "doc":
  3250. // U.MD.D.I.isRoom();
  3251. _formdiv = new U.UF.UI.form(
  3252. "协同文档",
  3253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3254. "id": "doc",
  3255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3256. "onresize": function () { }
  3257. }, {
  3258. closecallback: function () { }
  3259. }, { "style": { "height": "36px" } }).form; //创建窗体
  3260. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3261. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3262. })
  3263. _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); } }
  3264. break;
  3265. case "train": //好友打开
  3266. _formdiv = new U.UF.UI.form(
  3267. "训练平台",
  3268. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3269. "id": "train",
  3270. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function () { }
  3272. }, {
  3273. closecallback: function () { }
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3276. break;
  3277. case "studentStudy":
  3278. _formdiv = new U.UF.UI.form(
  3279. "课程中心",
  3280. $$("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
  3281. "id": "studentStudy",
  3282. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3283. "onresize": function () { }
  3284. }, {
  3285. closecallback: function () { }
  3286. }, { "style": { "height": "36px" } }).form; //创建窗体
  3287. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3288. break;
  3289. case "mindNetwork": //好友打开
  3290. _formdiv = new U.UF.UI.form(
  3291. "思维网格",
  3292. $$("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 }), {
  3293. "id": "mindNetwork",
  3294. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function () { }
  3296. }, {
  3297. closecallback: function () { }
  3298. }, { "style": { "height": "36px" } }).form; //创建窗体
  3299. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3300. break;
  3301. case "studentClassRoom": //好友打开
  3302. _formdiv = new U.UF.UI.form(
  3303. "实时课堂",
  3304. $$("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 }), {
  3305. "id": "studentClassRoom",
  3306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function () { }
  3308. }, {
  3309. closecallback: function () { }
  3310. }, { "style": { "height": "36px" } }).form; //创建窗体
  3311. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3312. setTimeout(() => {
  3313. U.UF.F.windowZooming(_formdiv)
  3314. }, 0);
  3315. break;
  3316. }
  3317. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3318. //选择应用处理
  3319. switch (str) {
  3320. case "project": //好友打开
  3321. _formdiv = new U.UF.UI.form(
  3322. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3323. $$("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 }), {
  3324. "id": "project",
  3325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3326. "onresize": function () { }
  3327. }, {
  3328. closecallback: function () { }
  3329. }, { "style": { "height": "36px" } }).form; //创建窗体
  3330. _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); } }
  3331. break;
  3332. case "student":
  3333. _formdiv = new U.UF.UI.form(
  3334. "学生管理",
  3335. $$("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 }), {
  3336. "id": "student",
  3337. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3338. "onresize": function () { }
  3339. }, {
  3340. closecallback: function () { }
  3341. }, { "style": { "height": "36px" } }).form; //创建窗体
  3342. _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); } }
  3343. break;
  3344. case "evaluate":
  3345. _formdiv = new U.UF.UI.form(
  3346. "学生评价",
  3347. $$("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 }), {
  3348. "id": "evaluate",
  3349. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3350. "onresize": function () { }
  3351. }, {
  3352. closecallback: function () { }
  3353. }, { "style": { "height": "36px" } }).form; //创建窗体
  3354. _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); } }
  3355. break;
  3356. case "sys":
  3357. _formdiv = new U.UF.UI.form(
  3358. "目标管理",
  3359. $$("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 }), {
  3360. "id": "sys",
  3361. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3362. "onresize": function () { }
  3363. }, {
  3364. closecallback: function () { }
  3365. }, { "style": { "height": "36px" } }).form; //创建窗体
  3366. _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); } }
  3367. break;
  3368. case "courseDesign":
  3369. _formdiv = new U.UF.UI.form(
  3370. "项目设计",
  3371. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3372. "id": "courseDesign",
  3373. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3374. "onresize": function () { }
  3375. }, {
  3376. closecallback: function () { }
  3377. }, { "style": { "height": "36px" } }).form; //创建窗体
  3378. _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); } }
  3379. break;
  3380. case "program":
  3381. _formdiv = new U.UF.UI.form(
  3382. "编程平台",
  3383. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3384. "id": "program",
  3385. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3386. "onresize": function () { }
  3387. }, {
  3388. closecallback: function () { }
  3389. }, { "style": { "height": "36px" } }).form; //创建窗体
  3390. _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); } }
  3391. break;
  3392. case "class":
  3393. _formdiv = new U.UF.UI.form(
  3394. "班级管理",
  3395. $$("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 }), {
  3396. "id": "class",
  3397. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3398. "onresize": function () { }
  3399. }, {
  3400. closecallback: function () { }
  3401. }, { "style": { "height": "36px" } }).form; //创建窗体
  3402. _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); } }
  3403. break;
  3404. case "Grade":
  3405. _formdiv = new U.UF.UI.form(
  3406. "年级管理",
  3407. $$("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 }), {
  3408. "id": "Grade",
  3409. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3410. "onresize": function () { }
  3411. }, {
  3412. closecallback: function () { }
  3413. }, { "style": { "height": "36px" } }).form; //创建窗体
  3414. _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); } }
  3415. break;
  3416. case "teacherOffice":
  3417. _formdiv = new U.UF.UI.form(
  3418. "教研室",
  3419. $$("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 }), {
  3420. "id": "teacherOffice",
  3421. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3422. "onresize": function () { }
  3423. }, {
  3424. closecallback: function () { }
  3425. }, { "style": { "height": "36px" } }).form; //创建窗体
  3426. _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); } }
  3427. break;
  3428. case "my":
  3429. _formdiv = new U.UF.UI.form(
  3430. "我的资料",
  3431. $$("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 }), {
  3432. "id": "my",
  3433. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3434. "onresize": function () { }
  3435. }, {
  3436. closecallback: function () { }
  3437. }, { "style": { "height": "36px" } }).form; //创建窗体
  3438. _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); } }
  3439. break;
  3440. case "notice":
  3441. _formdiv = new U.UF.UI.form(
  3442. "通知公告",
  3443. $$("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 }), {
  3444. "id": "notice",
  3445. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3446. "onresize": function () { }
  3447. }, {
  3448. closecallback: function () { }
  3449. }, { "style": { "height": "36px" } }).form; //创建窗体
  3450. _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); } }
  3451. break;
  3452. case "library":
  3453. _formdiv = new U.UF.UI.form(
  3454. "素材库",
  3455. $$("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 }), {
  3456. "id": "library",
  3457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3458. "onresize": function () { }
  3459. }, {
  3460. closecallback: function () { }
  3461. }, { "style": { "height": "36px" } }).form; //创建窗体
  3462. _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); } }
  3463. break;
  3464. case "whiteboard":
  3465. _formdiv = new U.UF.UI.form(
  3466. "电子白板",
  3467. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3468. "id": "whiteboard",
  3469. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3470. "onresize": function () { }
  3471. }, {
  3472. closecallback: function () { }
  3473. }, { "style": { "height": "36px" } }).form; //创建窗体
  3474. _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); } }
  3475. break;
  3476. case "investigation":
  3477. _formdiv = new U.UF.UI.form(
  3478. "问卷调查",
  3479. $$("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 }), {
  3480. "id": "investigation",
  3481. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3482. "onresize": function () { }
  3483. }, {
  3484. closecallback: function () { }
  3485. }, { "style": { "height": "36px" } }).form; //创建窗体
  3486. _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); } }
  3487. break;
  3488. case "note":
  3489. _formdiv = new U.UF.UI.form(
  3490. "便签分类",
  3491. $$("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 }), {
  3492. "id": "note",
  3493. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3494. "onresize": function () { }
  3495. }, {
  3496. closecallback: function () { }
  3497. }, { "style": { "height": "36px" } }).form; //创建窗体
  3498. _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); } }
  3499. break;
  3500. // case "score":
  3501. // _formdiv = new U.UF.UI.form(
  3502. // "量规评分",
  3503. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3504. // "id": "score",
  3505. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3506. // "onresize": function() {}
  3507. // }, {
  3508. // closecallback: function() {}
  3509. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. // _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); } }
  3511. // break;
  3512. case "mind":
  3513. _formdiv = new U.UF.UI.form(
  3514. "思维导图",
  3515. $$("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"
  3516. "id": "mind",
  3517. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3518. "onresize": function () { }
  3519. }, {
  3520. closecallback: function () { }
  3521. }, { "style": { "height": "36px" } }).form; //创建窗体
  3522. _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); } }
  3523. break;
  3524. case "doc":
  3525. // U.MD.D.I.isRoom();
  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": "/Office/Word/WordEditArea.htm" }), {
  3529. "id": "doc",
  3530. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3531. "onresize": function () { }
  3532. }, {
  3533. closecallback: function () { }
  3534. }, { "style": { "height": "36px" } }).form; //创建窗体
  3535. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3536. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3537. })
  3538. _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); } }
  3539. break;
  3540. case "study":
  3541. _formdiv = new U.UF.UI.form(
  3542. "课程中心",
  3543. $$("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
  3544. "id": "study",
  3545. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3546. "onresize": function () { }
  3547. }, {
  3548. closecallback: function () { }
  3549. }, { "style": { "height": "36px" } }).form; //创建窗体
  3550. _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); } }
  3551. break;
  3552. case "mindNetwork": //好友打开
  3553. _formdiv = new U.UF.UI.form(
  3554. "思维网格",
  3555. $$("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 }), {
  3556. "id": "mindNetwork",
  3557. "style": { "width": "90%", "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/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3563. break;
  3564. case "train": //好友打开
  3565. _formdiv = new U.UF.UI.form(
  3566. "训练平台",
  3567. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3568. "id": "mindNetwork",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _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); } }
  3575. break;
  3576. case "teacherClassRoom": //好友打开
  3577. _formdiv = new U.UF.UI.form(
  3578. "实时课堂",
  3579. $$("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 }), {
  3580. "id": "teacherClassRoom",
  3581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _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); } }
  3587. setTimeout(() => {
  3588. U.UF.F.windowZooming(_formdiv)
  3589. }, 0);
  3590. break;
  3591. }
  3592. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3593. switch (str) {
  3594. case "project": //好友打开
  3595. _formdiv = new U.UF.UI.form(
  3596. "课程管理",
  3597. $$("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 }), {
  3598. "id": "project",
  3599. "style": { "width": "90%", "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/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3605. break;
  3606. case "evaluate":
  3607. _formdiv = new U.UF.UI.form(
  3608. "学生评价",
  3609. $$("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 }), {
  3610. "id": "evaluate",
  3611. "style": { "width": "90%", "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/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3617. break;
  3618. case "notice":
  3619. _formdiv = new U.UF.UI.form(
  3620. "通知公告",
  3621. $$("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 }), {
  3622. "id": "notice",
  3623. "style": { "width": "90%", "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3629. break;
  3630. case "stuLibrary":
  3631. _formdiv = new U.UF.UI.form(
  3632. "学习资料",
  3633. $$("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 }), {
  3634. "id": "stuLibrary",
  3635. "style": { "width": "90%", "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/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3641. break;
  3642. case "program":
  3643. _formdiv = new U.UF.UI.form(
  3644. "编程平台",
  3645. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3646. "id": "program",
  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/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3653. break;
  3654. case "whiteboard":
  3655. _formdiv = new U.UF.UI.form(
  3656. "电子白板",
  3657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3658. "id": "whiteboard",
  3659. "style": { "width": "90%", "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/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3665. break;
  3666. case "investigation":
  3667. _formdiv = new U.UF.UI.form(
  3668. "问卷调查",
  3669. $$("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 }), {
  3670. "id": "investigation",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3677. break;
  3678. case "mind":
  3679. _formdiv = new U.UF.UI.form(
  3680. "思维导图",
  3681. $$("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"
  3682. "id": "mind",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3689. break;
  3690. case "doc":
  3691. // U.MD.D.I.isRoom();
  3692. _formdiv = new U.UF.UI.form(
  3693. "协同文档",
  3694. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3695. "id": "doc",
  3696. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3697. "onresize": function () { }
  3698. }, {
  3699. closecallback: function () { }
  3700. }, { "style": { "height": "36px" } }).form; //创建窗体
  3701. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3702. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3703. })
  3704. _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); } }
  3705. break;
  3706. case "study":
  3707. _formdiv = new U.UF.UI.form(
  3708. "课程中心",
  3709. $$("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
  3710. "id": "study",
  3711. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3712. "onresize": function () { }
  3713. }, {
  3714. closecallback: function () { }
  3715. }, { "style": { "height": "36px" } }).form; //创建窗体
  3716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3717. break;
  3718. case "mindNetwork": //好友打开
  3719. _formdiv = new U.UF.UI.form(
  3720. "思维网格",
  3721. $$("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 }), {
  3722. "id": "mindNetwork",
  3723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function () { }
  3725. }, {
  3726. closecallback: function () { }
  3727. }, { "style": { "height": "36px" } }).form; //创建窗体
  3728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3729. break;
  3730. case "train": //好友打开
  3731. _formdiv = new U.UF.UI.form(
  3732. "训练平台",
  3733. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3734. "id": "train",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function () { }
  3737. }, {
  3738. closecallback: function () { }
  3739. }, { "style": { "height": "36px" } }).form; //创建窗体
  3740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3741. break;
  3742. case "sys":
  3743. _formdiv = new U.UF.UI.form(
  3744. "目标管理",
  3745. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3746. "id": "sys",
  3747. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3748. "onresize": function () { }
  3749. }, {
  3750. closecallback: function () { }
  3751. }, { "style": { "height": "36px" } }).form; //创建窗体
  3752. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3753. break;
  3754. case "courseDesign":
  3755. _formdiv = new U.UF.UI.form(
  3756. "项目设计",
  3757. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3758. "id": "courseDesign",
  3759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function () { }
  3761. }, {
  3762. closecallback: function () { }
  3763. }, { "style": { "height": "36px" } }).form; //创建窗体
  3764. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3765. break;
  3766. }
  3767. } else if (!_type) {
  3768. switch (str) {
  3769. case "my":
  3770. _formdiv = new U.UF.UI.form(
  3771. "我的资料",
  3772. $$("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 }), {
  3773. "id": "my",
  3774. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3775. "onresize": function () { }
  3776. }, {
  3777. closecallback: function () { }
  3778. }, { "style": { "height": "36px" } }).form; //创建窗体
  3779. _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); } }
  3780. break;
  3781. }
  3782. }
  3783. switch (str) {
  3784. // AIprogram2 AI体验 aihub.cocorobo.cn
  3785. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3786. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3787. case "formulaEdi": //公式编辑
  3788. _formdiv = new U.UF.UI.form(
  3789. "公式编辑",
  3790. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3791. "id": "formulaEdi",
  3792. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3793. "onresize": function () { }
  3794. }, {
  3795. closecallback: function () { }
  3796. }, { "style": { "height": "36px" } }).form; //创建窗体
  3797. _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); } }
  3798. break;
  3799. case "molStr": //分子结构
  3800. _formdiv = new U.UF.UI.form(
  3801. "分子结构",
  3802. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3803. "id": "molStr",
  3804. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3805. "onresize": function () { }
  3806. }, {
  3807. closecallback: function () { }
  3808. }, { "style": { "height": "36px" } }).form; //创建窗体
  3809. _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); } }
  3810. break;
  3811. case "timeAxis": //时间轴
  3812. _formdiv = new U.UF.UI.form(
  3813. "时间轴",
  3814. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3815. "id": "timeAxis",
  3816. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3817. "onresize": function () { }
  3818. }, {
  3819. closecallback: function () { }
  3820. }, { "style": { "height": "36px" } }).form; //创建窗体
  3821. _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); } }
  3822. break;
  3823. case "AIprogram2": //AI体验
  3824. _formdiv = new U.UF.UI.form(
  3825. "AI体验",
  3826. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3827. "id": "AIprogram2",
  3828. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3829. "onresize": function () { }
  3830. }, {
  3831. closecallback: function () { }
  3832. }, { "style": { "height": "36px" } }).form; //创建窗体
  3833. _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); } }
  3834. break;
  3835. case "Pythonprogram": //python编程
  3836. _formdiv = new U.UF.UI.form(
  3837. "Python编程",
  3838. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3839. "id": "Pythonprogram",
  3840. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3841. "onresize": function () { }
  3842. }, {
  3843. closecallback: function () { }
  3844. }, { "style": { "height": "36px" } }).form; //创建窗体
  3845. _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); } }
  3846. break;
  3847. case "AIprogram": //ai编程
  3848. _formdiv = new U.UF.UI.form(
  3849. "AI编程平台",
  3850. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3851. "id": "AIprogram",
  3852. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3853. "onresize": function () { }
  3854. }, {
  3855. closecallback: function () { }
  3856. }, { "style": { "height": "36px" } }).form; //创建窗体
  3857. _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); } }
  3858. break;
  3859. case "CocoPi": //CocoPi
  3860. _formdiv = new U.UF.UI.form(
  3861. "CocoPi",
  3862. $$("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.cn" }), {
  3863. "id": "CocoPi",
  3864. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3865. "onresize": function () { }
  3866. }, {
  3867. closecallback: function () { }
  3868. }, { "style": { "height": "36px" } }).form; //创建窗体
  3869. _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); } }
  3870. break;
  3871. case "Wood": //Wood
  3872. _formdiv = new U.UF.UI.form(
  3873. "海龟编程",
  3874. $$("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/" }), {
  3875. "id": "Wood",
  3876. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3877. "onresize": function () { }
  3878. }, {
  3879. closecallback: function () { }
  3880. }, { "style": { "height": "36px" } }).form; //创建窗体
  3881. _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); } }
  3882. break;
  3883. case "car": //模拟驾驶
  3884. _formdiv = new U.UF.UI.form(
  3885. "模拟驾驶",
  3886. $$("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/" }), {
  3887. "id": "car",
  3888. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //创建窗体
  3893. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3894. break;
  3895. case "lineSearch": //路径搜索
  3896. _formdiv = new U.UF.UI.form(
  3897. "路径搜索",
  3898. $$("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/" }), {
  3899. "id": "lineSearch",
  3900. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3901. "onresize": function () { }
  3902. }, {
  3903. closecallback: function () { }
  3904. }, { "style": { "height": "36px" } }).form; //创建窗体
  3905. _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); } }
  3906. break;
  3907. case "deepLearning": //深度学习
  3908. _formdiv = new U.UF.UI.form(
  3909. "深度学习",
  3910. $$("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/#" }), {
  3911. "id": "deepLearning",
  3912. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3913. "onresize": function () { }
  3914. }, {
  3915. closecallback: function () { }
  3916. }, { "style": { "height": "36px" } }).form; //创建窗体
  3917. _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); } }
  3918. break;
  3919. case "allHistory": //深度学习
  3920. _formdiv = new U.UF.UI.form(
  3921. "全历史",
  3922. $$("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/" }), {
  3923. "id": "allHistory",
  3924. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3925. "onresize": function () { }
  3926. }, {
  3927. closecallback: function () { }
  3928. }, { "style": { "height": "36px" } }).form; //创建窗体
  3929. _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); } }
  3930. break;
  3931. case "chatPDF": //ai编程
  3932. _formdiv = new U.UF.UI.form(
  3933. "chatPDF",
  3934. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3935. "id": "chatPDF",
  3936. "style": { "width": "70%", "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/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3942. break;
  3943. case "resources": //国家教育
  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": "https://so.eduyun.cn/synResource" }), {
  3947. "id": "resources",
  3948. "style": { "width": "80%", "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/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3954. break;
  3955. case "codeEdit": //源码编辑
  3956. _formdiv = new U.UF.UI.form(
  3957. "源码编辑",
  3958. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3959. "id": "codeEdit",
  3960. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3961. "onresize": function () { }
  3962. }, {
  3963. closecallback: function () { }
  3964. }, { "style": { "height": "36px" } }).form; //创建窗体
  3965. _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); } }
  3966. break; //
  3967. case "MindMap": //MindMap
  3968. _formdiv = new U.UF.UI.form(
  3969. "MindMap",
  3970. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3971. "id": "MindMap",
  3972. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3973. "onresize": function () { }
  3974. }, {
  3975. closecallback: function () { }
  3976. }, { "style": { "height": "36px" } }).form; //创建窗体
  3977. _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); } }
  3978. break;
  3979. case "netWorkPanel": //netWorkPanel
  3980. _formdiv = new U.UF.UI.form(
  3981. "netWorkPanel",
  3982. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3983. "id": "netWorkPanel",
  3984. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3985. "onresize": function () { }
  3986. }, {
  3987. closecallback: function () { }
  3988. }, { "style": { "height": "36px" } }).form; //创建窗体
  3989. _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); } }
  3990. break;
  3991. case "GeoGebra": //GeoGebra
  3992. _formdiv = new U.UF.UI.form(
  3993. "GeoGebra",
  3994. $$("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" }), {
  3995. "id": "GeoGebra",
  3996. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function () { }
  3998. }, {
  3999. closecallback: function () { }
  4000. }, { "style": { "height": "36px" } }).form; //创建窗体
  4001. _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); } }
  4002. break;
  4003. case "translation": //翻译
  4004. _formdiv = new U.UF.UI.form(
  4005. "翻译",
  4006. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4007. "id": "translation",
  4008. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4009. "onresize": function () { }
  4010. }, {
  4011. closecallback: function () { }
  4012. }, { "style": { "height": "36px" } }).form; //创建窗体
  4013. _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); } }
  4014. break;
  4015. case "mohe": //魔盒
  4016. _formdiv = new U.UF.UI.form(
  4017. "魔盒识字",
  4018. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4019. "id": "mohe",
  4020. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4021. "onresize": function () { }
  4022. }, {
  4023. closecallback: function () { }
  4024. }, { "style": { "height": "36px" } }).form; //创建窗体
  4025. _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); } }
  4026. break;
  4027. case "24game": //24点
  4028. _formdiv = new U.UF.UI.form(
  4029. "24点",
  4030. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4031. "id": "24game",
  4032. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4033. "onresize": function () { }
  4034. }, {
  4035. closecallback: function () { }
  4036. }, { "style": { "height": "36px" } }).form; //创建窗体
  4037. _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); } }
  4038. break;
  4039. case "case":
  4040. _formdiv = new U.UF.UI.form(
  4041. "课程进展",
  4042. $$("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 }), {
  4043. "id": "case",
  4044. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function () { }
  4046. }, {
  4047. closecallback: function () { }
  4048. }, { "style": { "height": "36px" } }).form; //创建窗体
  4049. _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); } }
  4050. break;
  4051. case "snf":
  4052. _formdiv = new U.UF.UI.form(
  4053. "赛诺梵",
  4054. $$("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" }), {
  4055. "id": "snf",
  4056. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4057. "onresize": function () { }
  4058. }, {
  4059. closecallback: function () { }
  4060. }, { "style": { "height": "36px" } }).form; //创建窗体
  4061. _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); } }
  4062. break;
  4063. case "hanFamily":
  4064. _formdiv = new U.UF.UI.form(
  4065. "汉字家族",
  4066. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4067. "id": "hanFamily",
  4068. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4069. "onresize": function () { }
  4070. }, {
  4071. closecallback: function () { }
  4072. }, { "style": { "height": "36px" } }).form; //创建窗体
  4073. _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); } }
  4074. break;
  4075. case "hanClassics":
  4076. _formdiv = new U.UF.UI.form(
  4077. "国学经典",
  4078. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4079. "id": "hanClassics",
  4080. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4081. "onresize": function () { }
  4082. }, {
  4083. closecallback: function () { }
  4084. }, { "style": { "height": "36px" } }).form; //创建窗体
  4085. _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); } }
  4086. break;
  4087. case "hanTraining":
  4088. _formdiv = new U.UF.UI.form(
  4089. "笔画训练",
  4090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4091. "id": "hanTraining",
  4092. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4093. "onresize": function () { }
  4094. }, {
  4095. closecallback: function () { }
  4096. }, { "style": { "height": "36px" } }).form; //创建窗体
  4097. _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); } }
  4098. break;
  4099. case "hanClass":
  4100. _formdiv = new U.UF.UI.form(
  4101. "书法课堂",
  4102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4103. "id": "hanClass",
  4104. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4105. "onresize": function () { }
  4106. }, {
  4107. closecallback: function () { }
  4108. }, { "style": { "height": "36px" } }).form; //创建窗体
  4109. _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); } }
  4110. break;
  4111. case "han":
  4112. _formdiv = new U.UF.UI.form(
  4113. "汉字宫",
  4114. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4115. "id": "han",
  4116. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function () { }
  4118. }, {
  4119. closecallback: function () { }
  4120. }, { "style": { "height": "36px" } }).form; //创建窗体
  4121. _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); } }
  4122. break;
  4123. case "projectGM": //课程管理
  4124. _formdiv = new U.UF.UI.form(
  4125. "课程管理",
  4126. $$("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 }), {
  4127. "id": "projectGM",
  4128. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4129. "onresize": function () { }
  4130. }, {
  4131. closecallback: function () { }
  4132. }, { "style": { "height": "36px" } }).form; //创建窗体
  4133. _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); } }
  4134. break;
  4135. case "studyGM": //课程中心
  4136. _formdiv = new U.UF.UI.form(
  4137. "课程中心",
  4138. $$("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
  4139. "id": "study",
  4140. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4141. "onresize": function () { }
  4142. }, {
  4143. closecallback: function () { }
  4144. }, { "style": { "height": "36px" } }).form; //创建窗体
  4145. _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); } }
  4146. break;
  4147. // studentGM
  4148. case "studentGM": //学生管理
  4149. _formdiv = new U.UF.UI.form(
  4150. "学生管理",
  4151. $$("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 }), {
  4152. "id": "studentGM",
  4153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4154. "onresize": function () { }
  4155. }, {
  4156. closecallback: function () { }
  4157. }, { "style": { "height": "36px" } }).form; //创建窗体
  4158. _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); } }
  4159. break;
  4160. case "evaluateGM": //学生评价
  4161. _formdiv = new U.UF.UI.form(
  4162. "学生评价",
  4163. $$("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 }), {
  4164. "id": "evaluateGM",
  4165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4166. "onresize": function () { }
  4167. }, {
  4168. closecallback: function () { }
  4169. }, { "style": { "height": "36px" } }).form; //创建窗体
  4170. _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); } }
  4171. break;
  4172. // classGM
  4173. case "classGM": //班级管理
  4174. _formdiv = new U.UF.UI.form(
  4175. "班级管理",
  4176. $$("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 }), {
  4177. "id": "classGM",
  4178. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4179. "onresize": function () { }
  4180. }, {
  4181. closecallback: function () { }
  4182. }, { "style": { "height": "36px" } }).form; //创建窗体
  4183. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4184. break;
  4185. // dataGM
  4186. case "dataGM":
  4187. _formdiv = new U.UF.UI.form(
  4188. "我的资料",
  4189. $$("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 }), {
  4190. "id": "dataGM",
  4191. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4192. "onresize": function () { }
  4193. }, {
  4194. closecallback: function () { }
  4195. }, { "style": { "height": "36px" } }).form; //创建窗体
  4196. _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); } }
  4197. break;
  4198. // caseGM
  4199. case "caseGM": //课程进展
  4200. _formdiv = new U.UF.UI.form(
  4201. "课程进展",
  4202. $$("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 }), {
  4203. "id": "caseGM",
  4204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4205. "onresize": function () { }
  4206. }, {
  4207. closecallback: function () { }
  4208. }, { "style": { "height": "36px" } }).form; //创建窗体
  4209. _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); } }
  4210. break;
  4211. // meterialGM
  4212. case "meterialGM": //素材库
  4213. _formdiv = new U.UF.UI.form(
  4214. "素材库",
  4215. $$("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 }), {
  4216. "id": "meterialGM",
  4217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4218. "onresize": function () { }
  4219. }, {
  4220. closecallback: function () { }
  4221. }, { "style": { "height": "36px" } }).form; //创建窗体
  4222. _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); } }
  4223. break;
  4224. // evaluateSGM
  4225. case "evaluateSGM": //我的评价
  4226. _formdiv = new U.UF.UI.form(
  4227. "我的评价",
  4228. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4229. "id": "evaluateSGM",
  4230. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4231. "onresize": function () { }
  4232. }, {
  4233. closecallback: function () { }
  4234. }, { "style": { "height": "36px" } }).form; //创建窗体
  4235. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4236. break;
  4237. case "jupyter": //jupyter
  4238. _formdiv = new U.UF.UI.form(
  4239. "jupyter",
  4240. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4241. "id": "jupyter",
  4242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4243. "onresize": function () { }
  4244. }, {
  4245. closecallback: function () { }
  4246. }, { "style": { "height": "36px" } }).form; //创建窗体
  4247. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4248. break;
  4249. case "number": //数字实验室
  4250. _formdiv = new U.UF.UI.form(
  4251. "数字实验室",
  4252. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4253. "id": "number",
  4254. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4255. "onresize": function () { }
  4256. }, {
  4257. closecallback: function () { }
  4258. }, { "style": { "height": "36px" } }).form; //创建窗体
  4259. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4260. break;
  4261. case "studentCourse": //项目管理 学生
  4262. _formdiv = new U.UF.UI.form(
  4263. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4264. $$("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 }), {
  4265. "id": "studentCourse",
  4266. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4267. "onresize": function () { }
  4268. }, {
  4269. closecallback: function () { }
  4270. }, { "style": { "height": "36px" } }).form; //创建窗体
  4271. _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); } }
  4272. break;
  4273. case "studentCourseS": //项目管理 老师
  4274. _formdiv = new U.UF.UI.form(
  4275. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4276. $$("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 }), {
  4277. "id": "studentCourseS",
  4278. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4279. "onresize": function () { }
  4280. }, {
  4281. closecallback: function () { }
  4282. }, { "style": { "height": "36px" } }).form; //创建窗体
  4283. _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); } }
  4284. break;
  4285. case "studentIndex": //项目中心
  4286. _formdiv = new U.UF.UI.form(
  4287. "项目中心",
  4288. $$("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 }), {
  4289. "id": "studentIndex",
  4290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4291. "onresize": function () { }
  4292. }, {
  4293. closecallback: function () { }
  4294. }, { "style": { "height": "36px" } }).form; //创建窗体
  4295. _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); } }
  4296. break;
  4297. case "CaseDesignS":
  4298. _formdiv = new U.UF.UI.form(
  4299. "项目进展",
  4300. $$("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 }), {
  4301. "id": "case",
  4302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4303. "onresize": function () { }
  4304. }, {
  4305. closecallback: function () { }
  4306. }, { "style": { "height": "36px" } }).form; //创建窗体
  4307. _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); } }
  4308. break;
  4309. case "tcStudent": //腾讯学生管理
  4310. _formdiv = new U.UF.UI.form(
  4311. "学生管理",
  4312. $$("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 }), {
  4313. "id": "tcStudent",
  4314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function () { }
  4316. }, {
  4317. closecallback: function () { }
  4318. }, { "style": { "height": "36px" } }).form; //创建窗体
  4319. _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); } }
  4320. break;
  4321. case "tcSchool": //腾讯学校管理
  4322. _formdiv = new U.UF.UI.form(
  4323. "学校管理",
  4324. $$("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 }), {
  4325. "id": "tcSchool",
  4326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4327. "onresize": function () { }
  4328. }, {
  4329. closecallback: function () { }
  4330. }, { "style": { "height": "36px" } }).form; //创建窗体
  4331. _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); } }
  4332. break;
  4333. case "tcTeacher": //腾讯学校管理
  4334. _formdiv = new U.UF.UI.form(
  4335. "教师管理",
  4336. $$("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 }), {
  4337. "id": "tcTeacher",
  4338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4339. "onresize": function () { }
  4340. }, {
  4341. closecallback: function () { }
  4342. }, { "style": { "height": "36px" } }).form; //创建窗体
  4343. _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); } }
  4344. break;
  4345. case "tcData": //腾讯我的资料
  4346. _formdiv = new U.UF.UI.form(
  4347. "我的资料",
  4348. $$("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 }), {
  4349. "id": "tcData",
  4350. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4351. "onresize": function () { }
  4352. }, {
  4353. closecallback: function () { }
  4354. }, { "style": { "height": "36px" } }).form; //创建窗体
  4355. _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); } }
  4356. break;
  4357. case "tcNotice": //腾讯消息通知
  4358. _formdiv = new U.UF.UI.form(
  4359. "消息通知",
  4360. $$("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 }), {
  4361. "id": "tcNotice",
  4362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4363. "onresize": function () { }
  4364. }, {
  4365. closecallback: function () { }
  4366. }, { "style": { "height": "36px" } }).form; //创建窗体
  4367. _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); } }
  4368. break;
  4369. case "myReport": //好友打开
  4370. _formdiv = new U.UF.UI.form(
  4371. "我的评价",
  4372. $$("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 }), {
  4373. "id": "myReport",
  4374. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4375. "onresize": function () { }
  4376. }, {
  4377. closecallback: function () { }
  4378. }, { "style": { "height": "36px" } }).form; //创建窗体
  4379. _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); } }
  4380. break;
  4381. case "learnAna": //好友打开
  4382. _formdiv = new U.UF.UI.form(
  4383. "学习分析",
  4384. $$("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 }), {
  4385. "id": "learnAna",
  4386. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4387. "onresize": function () { }
  4388. }, {
  4389. closecallback: function () { }
  4390. }, { "style": { "height": "36px" } }).form; //创建窗体
  4391. _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); } }
  4392. break;
  4393. case "AIChat": //AI共创
  4394. _formdiv = new U.UF.UI.form(
  4395. "AI共创",
  4396. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4397. "id": "AIChat",
  4398. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4399. "onresize": function () { }
  4400. }, {
  4401. istop: true,
  4402. closecallback: function () { $("#aichat_icon").remove(); },
  4403. narrowcallback: function () {
  4404. if (!$("#aichat_icon")[0]) {
  4405. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4406. }
  4407. },
  4408. }, { "style": { "height": "36px" } }).form; //创建窗体
  4409. _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); } }
  4410. break;
  4411. case "ainew": //AI共创
  4412. _formdiv = new U.UF.UI.form(
  4413. "AI协同",
  4414. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4415. "id": "ainew",
  4416. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4417. "onresize": function () { }
  4418. }, {
  4419. closecallback: function () { }
  4420. }, { "style": { "height": "36px" } }).form; //创建窗体
  4421. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4422. break;
  4423. case "futureClass": //AI共创
  4424. _formdiv = new U.UF.UI.form(
  4425. "协同建构",
  4426. $$("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.cn
  4427. "id": "synergyCourse",
  4428. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4429. "onresize": function () { }
  4430. }, {
  4431. closecallback: function () {
  4432. $("iframe", _formdiv)[0].contentWindow.loginout();
  4433. }
  4434. }, { "style": { "height": "36px" } }).form; //创建窗体
  4435. _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); } }
  4436. break;
  4437. case "aiagent": //ai agent
  4438. _formdiv = new U.UF.UI.form(
  4439. "AI Agent",
  4440. $$("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" }), {
  4441. "id": "AIAgent",
  4442. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4443. "onresize": function () { }
  4444. }, {
  4445. closecallback: function () { }
  4446. }, { "style": { "height": "36px" } }).form; //创建窗体
  4447. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4448. break;
  4449. case "dataBoard": //数据看板
  4450. _formdiv = new U.UF.UI.form(
  4451. "数据看板",
  4452. $$("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 }), {
  4453. "id": "dataBoard",
  4454. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4455. "onresize": function () { }
  4456. }, {
  4457. closecallback: function () { }
  4458. }, { "style": { "height": "36px" } }).form; //创建窗体
  4459. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4460. break;
  4461. case "dataBoardSies": //数据融合
  4462. _formdiv = new U.UF.UI.form(
  4463. "数据融合",
  4464. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4465. "id": "dataBoardSies",
  4466. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4467. "onresize": function () { }
  4468. }, {
  4469. closecallback: function () { }
  4470. }, { "style": { "height": "36px" } }).form; //创建窗体
  4471. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4472. break;
  4473. case "dataBoardNew": //数据看板
  4474. _formdiv = new U.UF.UI.form(
  4475. "综合看板",
  4476. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4477. "id": "dataBoardNew",
  4478. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4479. "onresize": function () { }
  4480. }, {
  4481. closecallback: function () { }
  4482. }, { "style": { "height": "36px" } }).form; //创建窗体
  4483. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "综合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4484. break;
  4485. case "AIAnalyse": //AI共创
  4486. _formdiv = new U.UF.UI.form(
  4487. "AI分析",
  4488. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4489. "id": "AIAnalyse",
  4490. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4491. "onresize": function () { }
  4492. }, {
  4493. closecallback: function () { }
  4494. }, { "style": { "height": "36px" } }).form; //创建窗体
  4495. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4496. break;
  4497. case "studioCourse": //AI共创
  4498. _formdiv = new U.UF.UI.form(
  4499. "工作管理",
  4500. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4501. "id": "studioCourse",
  4502. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4503. "onresize": function () { }
  4504. }, {
  4505. closecallback: function () { }
  4506. }, { "style": { "height": "36px" } }).form; //创建窗体
  4507. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4508. break;
  4509. case "studioIndex": //AI共创
  4510. _formdiv = new U.UF.UI.form(
  4511. "工作中心",
  4512. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4513. "id": "studioIndex",
  4514. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4515. "onresize": function () { }
  4516. }, {
  4517. closecallback: function () { }
  4518. }, { "style": { "height": "36px" } }).form; //创建窗体
  4519. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4520. break;
  4521. case "source":
  4522. _formdiv = new U.UF.UI.form(
  4523. "教学资源",
  4524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4525. "id": "source",
  4526. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4527. "onresize": function () { }
  4528. }, {
  4529. closecallback: function () { }
  4530. }, { "style": { "height": "36px" } }).form; //创建窗体
  4531. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4532. break;
  4533. case "testTeacher":
  4534. _formdiv = new U.UF.UI.form(
  4535. "评测管理",
  4536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4537. "id": "testTeacher",
  4538. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4539. "onresize": function () { }
  4540. }, {
  4541. closecallback: function () { }
  4542. }, { "style": { "height": "36px" } }).form; //创建窗体
  4543. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4544. break;
  4545. case "testStudent":
  4546. _formdiv = new U.UF.UI.form(
  4547. "评测中心",
  4548. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4549. "id": "testStudent",
  4550. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4551. "onresize": function () { }
  4552. }, {
  4553. closecallback: function () { }
  4554. }, { "style": { "height": "36px" } }).form; //创建窗体
  4555. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4556. break;
  4557. }
  4558. //U.MD.D.I.openClick(str);
  4559. //如果有任务栏信息
  4560. if (_taskbar) {
  4561. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4562. }
  4563. }
  4564. // U.MD.D.I.openClick = function(str){
  4565. // var click = '';
  4566. // switch(str){
  4567. // case 'friend':
  4568. // click = '我的好友';
  4569. // break;
  4570. // case 'domain':
  4571. // click = '域名管理';
  4572. // break;
  4573. // case 'disk':
  4574. // click = '我的云盘';
  4575. // break;
  4576. // case 'word':
  4577. // click = 'Word';
  4578. // break;
  4579. // case 'excel':
  4580. // click = 'Execl';
  4581. // break;
  4582. // case 'txt':
  4583. // click = '文本文件';
  4584. // break;
  4585. // case 'lookupFriend':
  4586. // click = '查找好友';
  4587. // break;
  4588. // case 'ftp':
  4589. // click = 'FTP';
  4590. // break;
  4591. // case 'group':
  4592. // click = '群组';
  4593. // break;
  4594. // case 'set':
  4595. // click = '我的设置';
  4596. // break;
  4597. // case 'systemSet':
  4598. // click = '系统设置';
  4599. // break;
  4600. // case 'boomYun':
  4601. // click = '互联办公';
  4602. // break;
  4603. // case 'xz':
  4604. // click = '云端下载';
  4605. // break;
  4606. // case 'client':
  4607. // click = '有思浏览器';
  4608. // break;
  4609. // case 'backEndProgramming':
  4610. // click = '在线后台编程';
  4611. // break;
  4612. // case 'frontEndProgramming':
  4613. // click = '在线前端编程';
  4614. // break;
  4615. // default: break;
  4616. // }
  4617. // if(U.MD.D.I.Ip && click){
  4618. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4619. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4620. // })
  4621. // }
  4622. // }
  4623. /**
  4624. *函数作用:ajax简易函数,使用post格式
  4625. *@param url {data} 后台地址
  4626. *@param data {data} 参数json
  4627. *@param fn {data} 回调函数
  4628. *
  4629. */
  4630. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4631. // var xhr = new XMLHttpRequest();
  4632. // xhr.open("GET",url,true);
  4633. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4634. // xhr.onreadystatechange = function(){
  4635. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4636. // fn.call(this,xhr.responseText);
  4637. // }
  4638. // };
  4639. // xhr.send();
  4640. // }
  4641. /*判断是否是内网IP*/
  4642. // U.MD.D.I.isInnerIPFn = function(str){
  4643. // var curPageUrl = str;
  4644. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4645. // curPageUrl =curPageUrl.replace(reg1,'');
  4646. // // console.log('curPageUrl-1 '+curPageUrl);
  4647. // var reg2 = /\:+/g;//替换冒号为一点
  4648. // curPageUrl =curPageUrl.replace(reg2,'.');
  4649. // // console.log('curPageUrl-2 '+curPageUrl);
  4650. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4651. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4652. // if(curPageUrl[2] != '16'){
  4653. // return ipAddress;
  4654. // }else{
  4655. // return false;
  4656. // }
  4657. // }
  4658. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4659. // //compatibility for firefox and chrome
  4660. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4661. // var pc = new myPeerConnection({
  4662. // iceServers: []
  4663. // }),
  4664. // noop = function() {},
  4665. // localIPs = {},
  4666. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4667. // key;
  4668. // function iterateIP(ip) {
  4669. // if (!localIPs[ip]) onNewIP(ip);
  4670. // localIPs[ip] = true;
  4671. // }
  4672. // //create a bogus data channel
  4673. // pc.createDataChannel("");
  4674. // // create offer and set local description
  4675. // pc.createOffer().then(function(sdp) {
  4676. // sdp.sdp.split('\n').forEach(function(line) {
  4677. // if (line.indexOf('candidate') < 0) return;
  4678. // line.match(ipRegex).forEach(iterateIP);
  4679. // });
  4680. // pc.setLocalDescription(sdp, noop, noop);
  4681. // }).catch(function(reason) {
  4682. // // An error occurred, so handle the failure to connect
  4683. // });
  4684. // //sten for candidate events
  4685. // pc.onicecandidate = function(ice) {
  4686. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4687. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4688. // };
  4689. // }
  4690. // U.MD.D.I.getUserIpBool = function(callback){
  4691. // U.MD.D.I.getUserIP(function(ip){
  4692. // alert("Got IP! :" + ip);
  4693. // });
  4694. //}
  4695. //#endregion
  4696. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4697. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4698. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4699. _userinfo = US.userInfo, //登录用户信息
  4700. _userid = US.userInfo.userid //登录用户id
  4701. let _iframe;
  4702. let _cid = cid,
  4703. _stage = stage,
  4704. _task = task,
  4705. _tool = tool;
  4706. var _jie = $$("div", {
  4707. "style": {
  4708. "position": "absolute",
  4709. "bottom": "50px",
  4710. "right": "50px",
  4711. "zIndex": "9999",
  4712. "backgroundColor": "#2268bc",
  4713. "color": "#fff",
  4714. "padding": "12px 20px",
  4715. "cursor": "pointer",
  4716. "borderRadius": "4px",
  4717. },
  4718. "innerHTML": "提交作业"
  4719. })
  4720. let aTool = ''
  4721. let _loading = document.createElement('div')
  4722. _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;"
  4723. // _loading.id = "";
  4724. let _lchild = document.createElement('div')
  4725. let _limg = document.createElement('img')
  4726. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4727. _limg.style = "width: 26px;margin-right: 10px;"
  4728. _lchild.appendChild(_limg)
  4729. let _lspan = document.createElement('span')
  4730. _lspan.innerHTML = "上传中..."
  4731. _lchild.appendChild(_lspan)
  4732. _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%);"
  4733. _loading.appendChild(_lchild)
  4734. var _box = $$('div', {
  4735. "style": {
  4736. "position": "relative",
  4737. "width": "100%",
  4738. "height": "100%",
  4739. },
  4740. })
  4741. _box.appendChild(_loading)
  4742. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4743. switch (str) {
  4744. case "whiteboard":
  4745. aTool = 1;
  4746. _iframe = $$("iframe", {
  4747. "frameborder": "no",
  4748. "border": "0",
  4749. "scrolling ": "no",
  4750. "style": {
  4751. "cssText": "border:0;width:100%;height:100%"
  4752. },
  4753. "src": "https://iwb.cocorobo.cn/"
  4754. })
  4755. _box.appendChild(_iframe);
  4756. _box.appendChild(_jie);
  4757. _formdiv = new U.UF.UI.form(
  4758. "电子白板",
  4759. _box, {
  4760. "id": "whiteboard" + cid + stage + task + tool,
  4761. "style": {
  4762. "width": "90%",
  4763. "height": "90%",
  4764. "overflow": 'hidden'
  4765. },
  4766. "onresize": function () { }
  4767. }, {
  4768. closecallback: function () { }
  4769. }, {
  4770. "style": {
  4771. "height": "36px"
  4772. }
  4773. }).form; //创建窗体
  4774. _taskbar = {
  4775. "id": str + _formdiv.id,
  4776. "style": {
  4777. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4778. },
  4779. "name": "电子白板",
  4780. "forms": _formdiv,
  4781. "click": function () {
  4782. U.MD.D.I.openApplication(str, obj, info);
  4783. }
  4784. }
  4785. break;
  4786. case "mind":
  4787. aTool = 3;
  4788. _iframe = $$("iframe", {
  4789. "frameborder": "no",
  4790. "border": "0",
  4791. "scrolling ": "no",
  4792. "style": {
  4793. "cssText": "border:0;width:100%;height:100%"
  4794. },
  4795. "src": "/kityminder-editor/dist/index.html"
  4796. })
  4797. _box.appendChild(_iframe);
  4798. _box.appendChild(_jie);
  4799. _formdiv = new U.UF.UI.form(
  4800. "思维导图",
  4801. _box, { //"/jsmind/example/demo.html"
  4802. "id": "mind" + cid + stage + task + tool,
  4803. "style": {
  4804. "width": "90%",
  4805. "height": "90%",
  4806. "overflow": 'hidden'
  4807. },
  4808. "onresize": function () { }
  4809. }, {
  4810. closecallback: function () { }
  4811. }, {
  4812. "style": {
  4813. "height": "36px"
  4814. }
  4815. }).form; //创建窗体
  4816. _taskbar = {
  4817. "id": str + _formdiv.id,
  4818. "style": {
  4819. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4820. },
  4821. "name": "思维导图",
  4822. "forms": _formdiv,
  4823. "click": function () {
  4824. U.MD.D.I.openApplication(str, obj, info);
  4825. }
  4826. }
  4827. break;
  4828. case "MindMap":
  4829. aTool = 3;
  4830. _iframe = $$("iframe", {
  4831. "frameborder": "no",
  4832. "border": "0",
  4833. "scrolling ": "no",
  4834. "style": {
  4835. "cssText": "border:0;width:100%;height:100%"
  4836. },
  4837. "src": "//cloud.cocorobo.cn/mind/"
  4838. })
  4839. _box.appendChild(_iframe);
  4840. _box.appendChild(_jie);
  4841. _formdiv = new U.UF.UI.form(
  4842. "思维导图",
  4843. _box, { //"/jsmind/example/demo.html"
  4844. "id": "mind" + cid + stage + task + tool,
  4845. "style": {
  4846. "width": "90%",
  4847. "height": "90%",
  4848. "overflow": 'hidden'
  4849. },
  4850. "onresize": function () { }
  4851. }, {
  4852. closecallback: function () { }
  4853. }, {
  4854. "style": {
  4855. "height": "36px"
  4856. }
  4857. }).form; //创建窗体
  4858. _taskbar = {
  4859. "id": str + _formdiv.id,
  4860. "style": {
  4861. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4862. },
  4863. "name": "思维导图",
  4864. "forms": _formdiv,
  4865. "click": function () {
  4866. U.MD.D.I.openApplication(str, obj, info);
  4867. }
  4868. }
  4869. break;
  4870. case "doc":
  4871. aTool = 6;
  4872. _iframe = $$("iframe", {
  4873. "frameborder": "no",
  4874. "border": "0",
  4875. "scrolling ": "no",
  4876. "style": {
  4877. "cssText": "border:0;width:100%;height:100%"
  4878. },
  4879. "src": "/Office/Word/WordEditArea.htm"
  4880. })
  4881. _box.appendChild(_iframe);
  4882. _box.appendChild(_jie);
  4883. _formdiv = new U.UF.UI.form(
  4884. "协同文档",
  4885. _box, {
  4886. "id": "doc" + cid + stage + task + tool,
  4887. "style": {
  4888. "width": "90%",
  4889. "height": "90%",
  4890. "overflow": 'hidden'
  4891. },
  4892. "onresize": function () { }
  4893. }, {
  4894. closecallback: function () { }
  4895. }, {
  4896. "style": {
  4897. "height": "36px"
  4898. }
  4899. }).form; //创建窗体
  4900. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4901. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4902. })
  4903. _taskbar = {
  4904. "id": str + _formdiv.id,
  4905. "style": {
  4906. "backgroundImage": "url(/img/icon/doc.png)"
  4907. },
  4908. "name": "协同文档",
  4909. "forms": _formdiv,
  4910. "click": function () {
  4911. U.MD.D.I.openApplication(str, obj, info);
  4912. }
  4913. }
  4914. break;
  4915. case "mindNetwork": //好友打开
  4916. aTool = 7;
  4917. _iframe = $$("iframe", {
  4918. "webkitallowfullscreen": "",
  4919. "mozallowfullscreen": "",
  4920. "allowfullscreen": "",
  4921. "frameborder": "no",
  4922. "border": "0",
  4923. "scrolling ": "no",
  4924. "style": {
  4925. "cssText": "border:0; width:100%; height:100%;"
  4926. },
  4927. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4928. })
  4929. _box.appendChild(_iframe);
  4930. _box.appendChild(_jie);
  4931. _formdiv = new U.UF.UI.form(
  4932. "思维网格",
  4933. _box, {
  4934. "id": "mindNetwork" + cid + stage + task + tool,
  4935. "style": {
  4936. "width": "90%",
  4937. "height": "90%",
  4938. "overflow": 'hidden'
  4939. },
  4940. "onresize": function () { }
  4941. }, {
  4942. closecallback: function () { }
  4943. }, {
  4944. "style": {
  4945. "height": "36px"
  4946. }
  4947. }).form; //创建窗体
  4948. _taskbar = {
  4949. "id": str + _formdiv.id,
  4950. "style": {
  4951. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4952. },
  4953. "name": "思维网格",
  4954. "forms": _formdiv,
  4955. "click": function () {
  4956. U.MD.D.I.openApplication(str, obj, info);
  4957. }
  4958. }
  4959. break;
  4960. case "courseDesign":
  4961. _iframe = $$("iframe", {
  4962. "webkitallowfullscreen": "",
  4963. "mozallowfullscreen": "",
  4964. "allowfullscreen": "",
  4965. "frameborder": "no",
  4966. "border": "0",
  4967. "scrolling ": "no",
  4968. "style": {
  4969. "cssText": "border:0; width:100%; height:100%;"
  4970. },
  4971. "src": "/course-design-vue"
  4972. })
  4973. _box.appendChild(_iframe);
  4974. _box.appendChild(_jie);
  4975. _formdiv = new U.UF.UI.form(
  4976. "项目设计",
  4977. _box, {
  4978. "id": "courseDesign" + cid + stage + task + tool,
  4979. "style": {
  4980. "width": "90%",
  4981. "height": "90%",
  4982. "overflow": 'hidden'
  4983. },
  4984. "onresize": function () { }
  4985. }, {
  4986. closecallback: function () { }
  4987. }, {
  4988. "style": {
  4989. "height": "36px"
  4990. }
  4991. }).form; //创建窗体
  4992. _taskbar = {
  4993. "id": str + _formdiv.id,
  4994. "style": {
  4995. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4996. },
  4997. "name": "项目设计",
  4998. "forms": _formdiv,
  4999. "click": function () {
  5000. U.MD.D.I.openApplication(str, obj, info);
  5001. }
  5002. }
  5003. break;
  5004. }
  5005. const script1 = document.createElement("script");
  5006. script1.type = "text/javascript";
  5007. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5008. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5009. const script2 = document.createElement("script");
  5010. script2.type = "text/javascript";
  5011. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5012. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5013. const script3 = document.createElement("script");
  5014. script3.type = "text/javascript";
  5015. script3.charset = "UTF-8";
  5016. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5017. const script4 = document.createElement("script");
  5018. script4.type = "text/javascript";
  5019. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5020. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5021. if (_iframe) {
  5022. if (str == 'doc') {
  5023. _iframe = _formdiv.querySelector('iframe')
  5024. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5025. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5026. _iframe.contentWindow.document.body.appendChild(script1);
  5027. _iframe.contentWindow.document.body.appendChild(script2);
  5028. // _iframe.contentWindow.document.body.appendChild(script3);
  5029. _iframe.contentWindow.document.body.appendChild(script4);
  5030. })
  5031. if (onloadListener) {
  5032. _iframe.contentDocument.location.reload()
  5033. } else {
  5034. _iframe.contentDocument.location.reload()
  5035. }
  5036. } else if (str == 'courseDesign') {
  5037. U.UF.DL.iframeLoad(_iframe, function () {
  5038. // _iframe.contentWindow.U.MD.O.W.load();
  5039. // _iframe.contentWindow.document.body.appendChild(script1);
  5040. _iframe.contentWindow.document.body.appendChild(script2);
  5041. _iframe.contentWindow.document.body.appendChild(script4);
  5042. })
  5043. } else if (str == 'mind') {
  5044. _iframe = _formdiv.querySelector('iframe')
  5045. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5046. //
  5047. _iframe.contentWindow.document.body.appendChild(script1);
  5048. _iframe.contentWindow.document.body.appendChild(script2);
  5049. _iframe.contentWindow.document.body.appendChild(script4);
  5050. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5051. })
  5052. if (onloadListener) {
  5053. _iframe.contentDocument.location.reload()
  5054. } else {
  5055. _iframe.contentDocument.location.reload()
  5056. }
  5057. } else if (str == 'whiteboard') {
  5058. _iframe = _formdiv.querySelector('iframe')
  5059. let onloadListener = _iframe.onload = () => {
  5060. _iframe.contentWindow.document.body.appendChild(script1);
  5061. _iframe.contentWindow.document.body.appendChild(script2);
  5062. _iframe.contentWindow.document.body.appendChild(script4);
  5063. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5064. };
  5065. if (onloadListener) {
  5066. _iframe.contentDocument.location.reload()
  5067. } else {
  5068. _iframe.contentDocument.location.reload()
  5069. }
  5070. } else {
  5071. _iframe.onload = () => {
  5072. _iframe.contentWindow.document.body.appendChild(script1);
  5073. _iframe.contentWindow.document.body.appendChild(script2);
  5074. // _iframe.contentWindow.document.body.appendChild(script3);
  5075. _iframe.contentWindow.document.body.appendChild(script4);
  5076. };
  5077. }
  5078. _jie.onclick = async () => {
  5079. let text = ''
  5080. if (aTool == 1) {
  5081. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5082. } else if (aTool == 6) {
  5083. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5084. } else if (aTool == 3) {
  5085. text = await U.MD.D.I.getEditorContent(_iframe);
  5086. }
  5087. _loading.style.display = 'flex'
  5088. console.log(_loading);
  5089. var _ajs = _iframe.contentWindow.document.createElement("script");
  5090. _ajs.type = "text/javascript";
  5091. _ajs.innerHTML =
  5092. // 'console.log(' + _loading + ');\n' +
  5093. 'var _js = document.createElement("script");\n' +
  5094. '_js.type="text/javascript";\n' +
  5095. '_js.charset="UTF-8";\n' +
  5096. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5097. "_js.onload = function(){\n" +
  5098. ' var a = document.getElementsByTagName("img")\n' +
  5099. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5100. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5101. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5102. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5103. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5104. "beforeUpload_shishi(file," +
  5105. "'" +
  5106. _userid +
  5107. "'" +
  5108. ", " +
  5109. "'" +
  5110. _cid +
  5111. "'" +
  5112. ", " +
  5113. "'" +
  5114. _stage +
  5115. "'" +
  5116. ", " +
  5117. "'" +
  5118. _task +
  5119. "'" +
  5120. ", " +
  5121. "'" +
  5122. _tool +
  5123. "'" +
  5124. ", " +
  5125. "'" +
  5126. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5127. "'" +
  5128. ", " +
  5129. "'" +
  5130. aTool +
  5131. "'" +
  5132. ", " +
  5133. "`" +
  5134. text +
  5135. "`" +
  5136. ")\n" +
  5137. " });\n" +
  5138. "}\n" +
  5139. "document.head.appendChild(_js);\n";
  5140. _iframe.contentWindow.document.head.appendChild(_ajs);
  5141. }
  5142. }
  5143. //U.MD.D.I.openClick(str);
  5144. //如果有任务栏信息
  5145. // if (_taskbar) {
  5146. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5147. // }
  5148. }
  5149. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5150. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5151. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5152. _userinfo = US.userInfo, //登录用户信息
  5153. _userid = US.userInfo.userid //登录用户id
  5154. let _iframe;
  5155. let _cid = cid,
  5156. _stage = stage,
  5157. _task = task,
  5158. _tool = tool;
  5159. var _jie = $$("div", {
  5160. "style": {
  5161. "position": "absolute",
  5162. "bottom": "50px",
  5163. "right": "50px",
  5164. "zIndex": "9999",
  5165. "backgroundColor": "#2268bc",
  5166. "color": "#fff",
  5167. "padding": "12px 20px",
  5168. "cursor": "pointer",
  5169. "borderRadius": "4px",
  5170. },
  5171. "innerHTML": "提交作业"
  5172. })
  5173. let aTool = ''
  5174. let _loading = document.createElement('div')
  5175. _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;"
  5176. // _loading.id = "";
  5177. let _lchild = document.createElement('div')
  5178. let _limg = document.createElement('img')
  5179. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5180. _limg.style = "width: 26px;margin-right: 10px;"
  5181. _lchild.appendChild(_limg)
  5182. let _lspan = document.createElement('span')
  5183. _lspan.innerHTML = "上传中..."
  5184. _lchild.appendChild(_lspan)
  5185. _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%);"
  5186. _loading.appendChild(_lchild)
  5187. var _box = $$('div', {
  5188. "style": {
  5189. "position": "relative",
  5190. "width": "100%",
  5191. "height": "100%",
  5192. },
  5193. })
  5194. _box.appendChild(_loading)
  5195. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5196. switch (str) {
  5197. case "whiteboard":
  5198. aTool = 1;
  5199. _iframe = $$("iframe", {
  5200. "frameborder": "no",
  5201. "border": "0",
  5202. "scrolling ": "no",
  5203. "style": {
  5204. "cssText": "border:0;width:100%;height:100%"
  5205. },
  5206. "src": "https://iwb.cocorobo.cn/"
  5207. })
  5208. _box.appendChild(_iframe);
  5209. _box.appendChild(_jie);
  5210. _formdiv = new U.UF.UI.form(
  5211. "电子白板",
  5212. _box, {
  5213. "id": "whiteboard" + cid + stage + task + tool,
  5214. "style": {
  5215. "width": "90%",
  5216. "height": "90%",
  5217. "overflow": 'hidden'
  5218. },
  5219. "onresize": function () { }
  5220. }, {
  5221. closecallback: function () { }
  5222. }, {
  5223. "style": {
  5224. "height": "36px"
  5225. }
  5226. }).form; //创建窗体
  5227. _taskbar = {
  5228. "id": str + _formdiv.id,
  5229. "style": {
  5230. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5231. },
  5232. "name": "电子白板",
  5233. "forms": _formdiv,
  5234. "click": function () {
  5235. U.MD.D.I.openApplication(str, obj, info);
  5236. }
  5237. }
  5238. break;
  5239. case "mind":
  5240. aTool = 3;
  5241. _iframe = $$("iframe", {
  5242. "frameborder": "no",
  5243. "border": "0",
  5244. "scrolling ": "no",
  5245. "style": {
  5246. "cssText": "border:0;width:100%;height:100%"
  5247. },
  5248. "src": "/kityminder-editor/dist/index.html"
  5249. })
  5250. _box.appendChild(_iframe);
  5251. _box.appendChild(_jie);
  5252. _formdiv = new U.UF.UI.form(
  5253. "思维导图",
  5254. _box, { //"/jsmind/example/demo.html"
  5255. "id": "mind" + cid + stage + task + tool,
  5256. "style": {
  5257. "width": "90%",
  5258. "height": "90%",
  5259. "overflow": 'hidden'
  5260. },
  5261. "onresize": function () { }
  5262. }, {
  5263. closecallback: function () { }
  5264. }, {
  5265. "style": {
  5266. "height": "36px"
  5267. }
  5268. }).form; //创建窗体
  5269. _taskbar = {
  5270. "id": str + _formdiv.id,
  5271. "style": {
  5272. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5273. },
  5274. "name": "思维导图",
  5275. "forms": _formdiv,
  5276. "click": function () {
  5277. U.MD.D.I.openApplication(str, obj, info);
  5278. }
  5279. }
  5280. break;
  5281. case "MindMap":
  5282. aTool = 3;
  5283. _iframe = $$("iframe", {
  5284. "frameborder": "no",
  5285. "border": "0",
  5286. "scrolling ": "no",
  5287. "style": {
  5288. "cssText": "border:0;width:100%;height:100%"
  5289. },
  5290. "src": "//cloud.cocorobo.cn/mind/"
  5291. })
  5292. _box.appendChild(_iframe);
  5293. _box.appendChild(_jie);
  5294. _formdiv = new U.UF.UI.form(
  5295. "思维导图",
  5296. _box, { //"/jsmind/example/demo.html"
  5297. "id": "mind" + cid + stage + task + tool,
  5298. "style": {
  5299. "width": "90%",
  5300. "height": "90%",
  5301. "overflow": 'hidden'
  5302. },
  5303. "onresize": function () { }
  5304. }, {
  5305. closecallback: function () { }
  5306. }, {
  5307. "style": {
  5308. "height": "36px"
  5309. }
  5310. }).form; //创建窗体
  5311. _taskbar = {
  5312. "id": str + _formdiv.id,
  5313. "style": {
  5314. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5315. },
  5316. "name": "思维导图",
  5317. "forms": _formdiv,
  5318. "click": function () {
  5319. U.MD.D.I.openApplication(str, obj, info);
  5320. }
  5321. }
  5322. break;
  5323. case "doc":
  5324. aTool = 6;
  5325. _iframe = $$("iframe", {
  5326. "frameborder": "no",
  5327. "border": "0",
  5328. "scrolling ": "no",
  5329. "style": {
  5330. "cssText": "border:0;width:100%;height:100%"
  5331. },
  5332. "src": "/Office/Word/WordEditArea.htm"
  5333. })
  5334. _box.appendChild(_iframe);
  5335. _box.appendChild(_jie);
  5336. _formdiv = new U.UF.UI.form(
  5337. "协同文档",
  5338. _box, {
  5339. "id": "doc" + cid + stage + task + tool,
  5340. "style": {
  5341. "width": "90%",
  5342. "height": "90%",
  5343. "overflow": 'hidden'
  5344. },
  5345. "onresize": function () { }
  5346. }, {
  5347. closecallback: function () { }
  5348. }, {
  5349. "style": {
  5350. "height": "36px"
  5351. }
  5352. }).form; //创建窗体
  5353. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5354. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5355. })
  5356. _taskbar = {
  5357. "id": str + _formdiv.id,
  5358. "style": {
  5359. "backgroundImage": "url(/img/icon/doc.png)"
  5360. },
  5361. "name": "协同文档",
  5362. "forms": _formdiv,
  5363. "click": function () {
  5364. U.MD.D.I.openApplication(str, obj, info);
  5365. }
  5366. }
  5367. break;
  5368. case "mindNetwork": //好友打开
  5369. aTool = 7;
  5370. _iframe = $$("iframe", {
  5371. "webkitallowfullscreen": "",
  5372. "mozallowfullscreen": "",
  5373. "allowfullscreen": "",
  5374. "frameborder": "no",
  5375. "border": "0",
  5376. "scrolling ": "no",
  5377. "style": {
  5378. "cssText": "border:0; width:100%; height:100%;"
  5379. },
  5380. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5381. })
  5382. _box.appendChild(_iframe);
  5383. _box.appendChild(_jie);
  5384. _formdiv = new U.UF.UI.form(
  5385. "思维网格",
  5386. _box, {
  5387. "id": "mindNetwork" + cid + stage + task + tool,
  5388. "style": {
  5389. "width": "90%",
  5390. "height": "90%",
  5391. "overflow": 'hidden'
  5392. },
  5393. "onresize": function () { }
  5394. }, {
  5395. closecallback: function () { }
  5396. }, {
  5397. "style": {
  5398. "height": "36px"
  5399. }
  5400. }).form; //创建窗体
  5401. _taskbar = {
  5402. "id": str + _formdiv.id,
  5403. "style": {
  5404. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5405. },
  5406. "name": "思维网格",
  5407. "forms": _formdiv,
  5408. "click": function () {
  5409. U.MD.D.I.openApplication(str, obj, info);
  5410. }
  5411. }
  5412. break;
  5413. case "courseDesign":
  5414. _iframe = $$("iframe", {
  5415. "webkitallowfullscreen": "",
  5416. "mozallowfullscreen": "",
  5417. "allowfullscreen": "",
  5418. "frameborder": "no",
  5419. "border": "0",
  5420. "scrolling ": "no",
  5421. "style": {
  5422. "cssText": "border:0; width:100%; height:100%;"
  5423. },
  5424. "src": "/course-design-vue"
  5425. })
  5426. _box.appendChild(_iframe);
  5427. _box.appendChild(_jie);
  5428. _formdiv = new U.UF.UI.form(
  5429. "项目设计",
  5430. _box, {
  5431. "id": "courseDesign" + cid + stage + task + tool,
  5432. "style": {
  5433. "width": "90%",
  5434. "height": "90%",
  5435. "overflow": 'hidden'
  5436. },
  5437. "onresize": function () { }
  5438. }, {
  5439. closecallback: function () { }
  5440. }, {
  5441. "style": {
  5442. "height": "36px"
  5443. }
  5444. }).form; //创建窗体
  5445. _taskbar = {
  5446. "id": str + _formdiv.id,
  5447. "style": {
  5448. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5449. },
  5450. "name": "项目设计",
  5451. "forms": _formdiv,
  5452. "click": function () {
  5453. U.MD.D.I.openApplication(str, obj, info);
  5454. }
  5455. }
  5456. break;
  5457. }
  5458. const script1 = document.createElement("script");
  5459. script1.type = "text/javascript";
  5460. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5461. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5462. const script2 = document.createElement("script");
  5463. script2.type = "text/javascript";
  5464. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5465. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5466. const script3 = document.createElement("script");
  5467. script3.type = "text/javascript";
  5468. script3.charset = "UTF-8";
  5469. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5470. const script4 = document.createElement("script");
  5471. script4.type = "text/javascript";
  5472. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5473. script4.src = window.origin + "/js/Common/jietu2E.js";
  5474. if (_iframe) {
  5475. if (str == 'doc') {
  5476. _iframe = _formdiv.querySelector('iframe')
  5477. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5478. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5479. _iframe.contentWindow.document.body.appendChild(script1);
  5480. _iframe.contentWindow.document.body.appendChild(script2);
  5481. // _iframe.contentWindow.document.body.appendChild(script3);
  5482. _iframe.contentWindow.document.body.appendChild(script4);
  5483. })
  5484. if (onloadListener) {
  5485. _iframe.contentDocument.location.reload()
  5486. } else {
  5487. _iframe.contentDocument.location.reload()
  5488. }
  5489. } else if (str == 'courseDesign') {
  5490. U.UF.DL.iframeLoad(_iframe, function () {
  5491. // _iframe.contentWindow.U.MD.O.W.load();
  5492. // _iframe.contentWindow.document.body.appendChild(script1);
  5493. _iframe.contentWindow.document.body.appendChild(script2);
  5494. _iframe.contentWindow.document.body.appendChild(script4);
  5495. })
  5496. } else if (str == 'mind') {
  5497. _iframe = _formdiv.querySelector('iframe')
  5498. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5499. //
  5500. _iframe.contentWindow.document.body.appendChild(script1);
  5501. _iframe.contentWindow.document.body.appendChild(script2);
  5502. _iframe.contentWindow.document.body.appendChild(script4);
  5503. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5504. })
  5505. if (onloadListener) {
  5506. _iframe.contentDocument.location.reload()
  5507. } else {
  5508. _iframe.contentDocument.location.reload()
  5509. }
  5510. } else if (str == 'whiteboard') {
  5511. _iframe = _formdiv.querySelector('iframe')
  5512. let onloadListener = _iframe.onload = () => {
  5513. _iframe.contentWindow.document.body.appendChild(script1);
  5514. _iframe.contentWindow.document.body.appendChild(script2);
  5515. _iframe.contentWindow.document.body.appendChild(script4);
  5516. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5517. };
  5518. if (onloadListener) {
  5519. _iframe.contentDocument.location.reload()
  5520. } else {
  5521. _iframe.contentDocument.location.reload()
  5522. }
  5523. } else {
  5524. _iframe.onload = () => {
  5525. _iframe.contentWindow.document.body.appendChild(script1);
  5526. _iframe.contentWindow.document.body.appendChild(script2);
  5527. // _iframe.contentWindow.document.body.appendChild(script3);
  5528. _iframe.contentWindow.document.body.appendChild(script4);
  5529. };
  5530. }
  5531. _jie.onclick = async () => {
  5532. let text = ''
  5533. if (aTool == 1) {
  5534. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5535. } else if (aTool == 6) {
  5536. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5537. } else if (aTool == 3) {
  5538. text = await U.MD.D.I.getEditorContent(_iframe);
  5539. }
  5540. _loading.style.display = 'flex'
  5541. console.log(_loading);
  5542. var _ajs = _iframe.contentWindow.document.createElement("script");
  5543. _ajs.type = "text/javascript";
  5544. _ajs.innerHTML =
  5545. // 'console.log(' + _loading + ');\n' +
  5546. 'var _js = document.createElement("script");\n' +
  5547. '_js.type="text/javascript";\n' +
  5548. '_js.charset="UTF-8";\n' +
  5549. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5550. "_js.onload = function(){\n" +
  5551. ' var a = document.getElementsByTagName("img")\n' +
  5552. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5553. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5554. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5555. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5556. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5557. "beforeUpload_shishi(file," +
  5558. "'" +
  5559. _userid +
  5560. "'" +
  5561. ", " +
  5562. "'" +
  5563. _cid +
  5564. "'" +
  5565. ", " +
  5566. "'" +
  5567. _stage +
  5568. "'" +
  5569. ", " +
  5570. "'" +
  5571. _task +
  5572. "'" +
  5573. ", " +
  5574. "'" +
  5575. _tool +
  5576. "'" +
  5577. ", " +
  5578. "'" +
  5579. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5580. "'" +
  5581. ", " +
  5582. "'" +
  5583. aTool +
  5584. "'" +
  5585. ", " +
  5586. "`" +
  5587. text +
  5588. "`" +
  5589. ")\n" +
  5590. " });\n" +
  5591. "}\n" +
  5592. "document.head.appendChild(_js);\n";
  5593. _iframe.contentWindow.document.head.appendChild(_ajs);
  5594. }
  5595. }
  5596. //U.MD.D.I.openClick(str);
  5597. //如果有任务栏信息
  5598. // if (_taskbar) {
  5599. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5600. // }
  5601. }
  5602. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5603. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5604. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5605. _userid = student.userid, //登录用户id
  5606. _username = student.student //用户名字
  5607. let _iframe;
  5608. let _cid = cid,
  5609. _stage = stage,
  5610. _task = task,
  5611. _tool = tool;
  5612. var _jie = $$("div", {
  5613. "style": {
  5614. "position": "absolute",
  5615. "bottom": "50px",
  5616. "right": "50px",
  5617. "zIndex": "9999",
  5618. "backgroundColor": "#2268bc",
  5619. "color": "#fff",
  5620. "padding": "12px 20px",
  5621. "cursor": "pointer",
  5622. "borderRadius": "4px",
  5623. },
  5624. "innerHTML": "提交作业"
  5625. })
  5626. let aTool = ''
  5627. let _loading = document.createElement('div')
  5628. _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;"
  5629. // _loading.id = "";
  5630. let _lchild = document.createElement('div')
  5631. let _limg = document.createElement('img')
  5632. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5633. _limg.style = "width: 26px;margin-right: 10px;"
  5634. _lchild.appendChild(_limg)
  5635. let _lspan = document.createElement('span')
  5636. _lspan.innerHTML = "上传中..."
  5637. _lchild.appendChild(_lspan)
  5638. _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%);"
  5639. _loading.appendChild(_lchild)
  5640. var _box = $$('div', {
  5641. "style": {
  5642. "position": "relative",
  5643. "width": "100%",
  5644. "height": "100%",
  5645. },
  5646. })
  5647. _box.appendChild(_loading)
  5648. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5649. switch (str) {
  5650. case "whiteboard":
  5651. aTool = 1;
  5652. _iframe = $$("iframe", {
  5653. "frameborder": "no",
  5654. "border": "0",
  5655. "scrolling ": "no",
  5656. "style": {
  5657. "cssText": "border:0;width:100%;height:100%"
  5658. },
  5659. "src": "https://iwb.cocorobo.cn/"
  5660. })
  5661. _box.appendChild(_iframe);
  5662. _box.appendChild(_jie);
  5663. _formdiv = new U.UF.UI.form(
  5664. "电子白板-" + _username,
  5665. _box, {
  5666. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5667. "style": {
  5668. "width": "90%",
  5669. "height": "90%",
  5670. "overflow": 'hidden'
  5671. },
  5672. "onresize": function () { }
  5673. }, {
  5674. closecallback: function () { }
  5675. }, {
  5676. "style": {
  5677. "height": "36px"
  5678. }
  5679. }).form; //创建窗体
  5680. _taskbar = {
  5681. "id": str + _formdiv.id,
  5682. "style": {
  5683. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5684. },
  5685. "name": "电子白板",
  5686. "forms": _formdiv,
  5687. "click": function () {
  5688. U.MD.D.I.openApplication(str, obj, info);
  5689. }
  5690. }
  5691. break;
  5692. case "mind":
  5693. aTool = 3;
  5694. _iframe = $$("iframe", {
  5695. "frameborder": "no",
  5696. "border": "0",
  5697. "scrolling ": "no",
  5698. "style": {
  5699. "cssText": "border:0;width:100%;height:100%"
  5700. },
  5701. "src": "/kityminder-editor/dist/index.html"
  5702. })
  5703. _box.appendChild(_iframe);
  5704. _box.appendChild(_jie);
  5705. _formdiv = new U.UF.UI.form(
  5706. "思维导图-" + _username,
  5707. _box, { //"/jsmind/example/demo.html"
  5708. "id": "mind" + cid + stage + task + tool + _userid,
  5709. "style": {
  5710. "width": "90%",
  5711. "height": "90%",
  5712. "overflow": 'hidden'
  5713. },
  5714. "onresize": function () { }
  5715. }, {
  5716. closecallback: function () { }
  5717. }, {
  5718. "style": {
  5719. "height": "36px"
  5720. }
  5721. }).form; //创建窗体
  5722. _taskbar = {
  5723. "id": str + _formdiv.id,
  5724. "style": {
  5725. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5726. },
  5727. "name": "思维导图",
  5728. "forms": _formdiv,
  5729. "click": function () {
  5730. U.MD.D.I.openApplication(str, obj, info);
  5731. }
  5732. }
  5733. break;
  5734. case "MindMap":
  5735. aTool = 3;
  5736. _iframe = $$("iframe", {
  5737. "frameborder": "no",
  5738. "border": "0",
  5739. "scrolling ": "no",
  5740. "style": {
  5741. "cssText": "border:0;width:100%;height:100%"
  5742. },
  5743. "src": "//cloud.cocorobo.cn/mind/"
  5744. })
  5745. _box.appendChild(_iframe);
  5746. _box.appendChild(_jie);
  5747. _formdiv = new U.UF.UI.form(
  5748. "思维导图-" + _username,
  5749. _box, { //"/jsmind/example/demo.html"
  5750. "id": "mind" + cid + stage + task + tool + _userid,
  5751. "style": {
  5752. "width": "90%",
  5753. "height": "90%",
  5754. "overflow": 'hidden'
  5755. },
  5756. "onresize": function () { }
  5757. }, {
  5758. closecallback: function () { }
  5759. }, {
  5760. "style": {
  5761. "height": "36px"
  5762. }
  5763. }).form; //创建窗体
  5764. _taskbar = {
  5765. "id": str + _formdiv.id,
  5766. "style": {
  5767. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5768. },
  5769. "name": "思维导图",
  5770. "forms": _formdiv,
  5771. "click": function () {
  5772. U.MD.D.I.openApplication(str, obj, info);
  5773. }
  5774. }
  5775. break;
  5776. case "doc":
  5777. aTool = 6;
  5778. _iframe = $$("iframe", {
  5779. "frameborder": "no",
  5780. "border": "0",
  5781. "scrolling ": "no",
  5782. "style": {
  5783. "cssText": "border:0;width:100%;height:100%"
  5784. },
  5785. "src": "/Office/Word/WordEditArea.htm"
  5786. })
  5787. _box.appendChild(_iframe);
  5788. _box.appendChild(_jie);
  5789. _formdiv = new U.UF.UI.form(
  5790. "协同文档-" + _username,
  5791. _box, {
  5792. "id": "doc" + cid + stage + task + tool + _userid,
  5793. "style": {
  5794. "width": "90%",
  5795. "height": "90%",
  5796. "overflow": 'hidden'
  5797. },
  5798. "onresize": function () { }
  5799. }, {
  5800. closecallback: function () { }
  5801. }, {
  5802. "style": {
  5803. "height": "36px"
  5804. }
  5805. }).form; //创建窗体
  5806. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5807. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5808. })
  5809. _taskbar = {
  5810. "id": str + _formdiv.id,
  5811. "style": {
  5812. "backgroundImage": "url(/img/icon/doc.png)"
  5813. },
  5814. "name": "协同文档",
  5815. "forms": _formdiv,
  5816. "click": function () {
  5817. U.MD.D.I.openApplication(str, obj, info);
  5818. }
  5819. }
  5820. break;
  5821. case "mindNetwork": //好友打开
  5822. aTool = 7;
  5823. _iframe = $$("iframe", {
  5824. "webkitallowfullscreen": "",
  5825. "mozallowfullscreen": "",
  5826. "allowfullscreen": "",
  5827. "frameborder": "no",
  5828. "border": "0",
  5829. "scrolling ": "no",
  5830. "style": {
  5831. "cssText": "border:0; width:100%; height:100%;"
  5832. },
  5833. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5834. })
  5835. _box.appendChild(_iframe);
  5836. _box.appendChild(_jie);
  5837. _formdiv = new U.UF.UI.form(
  5838. "思维网格-" + _username,
  5839. _box, {
  5840. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5841. "style": {
  5842. "width": "90%",
  5843. "height": "90%",
  5844. "overflow": 'hidden'
  5845. },
  5846. "onresize": function () { }
  5847. }, {
  5848. closecallback: function () { }
  5849. }, {
  5850. "style": {
  5851. "height": "36px"
  5852. }
  5853. }).form; //创建窗体
  5854. _taskbar = {
  5855. "id": str + _formdiv.id,
  5856. "style": {
  5857. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5858. },
  5859. "name": "思维网格",
  5860. "forms": _formdiv,
  5861. "click": function () {
  5862. U.MD.D.I.openApplication(str, obj, info);
  5863. }
  5864. }
  5865. break;
  5866. case "courseDesign":
  5867. _iframe = $$("iframe", {
  5868. "webkitallowfullscreen": "",
  5869. "mozallowfullscreen": "",
  5870. "allowfullscreen": "",
  5871. "frameborder": "no",
  5872. "border": "0",
  5873. "scrolling ": "no",
  5874. "style": {
  5875. "cssText": "border:0; width:100%; height:100%;"
  5876. },
  5877. "src": "/course-design-vue"
  5878. })
  5879. _box.appendChild(_iframe);
  5880. _box.appendChild(_jie);
  5881. _formdiv = new U.UF.UI.form(
  5882. "项目设计-" + _username,
  5883. _box, {
  5884. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5885. "style": {
  5886. "width": "90%",
  5887. "height": "90%",
  5888. "overflow": 'hidden'
  5889. },
  5890. "onresize": function () { }
  5891. }, {
  5892. closecallback: function () { }
  5893. }, {
  5894. "style": {
  5895. "height": "36px"
  5896. }
  5897. }).form; //创建窗体
  5898. _taskbar = {
  5899. "id": str + _formdiv.id,
  5900. "style": {
  5901. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5902. },
  5903. "name": "项目设计",
  5904. "forms": _formdiv,
  5905. "click": function () {
  5906. U.MD.D.I.openApplication(str, obj, info);
  5907. }
  5908. }
  5909. break;
  5910. }
  5911. const script1 = document.createElement("script");
  5912. script1.type = "text/javascript";
  5913. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5914. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5915. const script2 = document.createElement("script");
  5916. script2.type = "text/javascript";
  5917. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5918. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5919. const script3 = document.createElement("script");
  5920. script3.type = "text/javascript";
  5921. script3.charset = "UTF-8";
  5922. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5923. const script4 = document.createElement("script");
  5924. script4.type = "text/javascript";
  5925. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5926. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5927. if (_iframe) {
  5928. if (str == 'doc') {
  5929. _iframe = _formdiv.querySelector('iframe')
  5930. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5931. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5932. _iframe.contentWindow.document.body.appendChild(script1);
  5933. _iframe.contentWindow.document.body.appendChild(script2);
  5934. // _iframe.contentWindow.document.body.appendChild(script3);
  5935. _iframe.contentWindow.document.body.appendChild(script4);
  5936. })
  5937. if (onloadListener) {
  5938. _iframe.contentDocument.location.reload()
  5939. } else {
  5940. _iframe.contentDocument.location.reload()
  5941. }
  5942. } else if (str == 'courseDesign') {
  5943. U.UF.DL.iframeLoad(_iframe, function () {
  5944. // _iframe.contentWindow.U.MD.O.W.load();
  5945. // _iframe.contentWindow.document.body.appendChild(script1);
  5946. _iframe.contentWindow.document.body.appendChild(script2);
  5947. _iframe.contentWindow.document.body.appendChild(script4);
  5948. })
  5949. } else if (str == 'mind') {
  5950. _iframe = _formdiv.querySelector('iframe')
  5951. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5952. //
  5953. _iframe.contentWindow.document.body.appendChild(script1);
  5954. _iframe.contentWindow.document.body.appendChild(script2);
  5955. _iframe.contentWindow.document.body.appendChild(script4);
  5956. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5957. })
  5958. if (onloadListener) {
  5959. _iframe.contentDocument.location.reload()
  5960. } else {
  5961. _iframe.contentDocument.location.reload()
  5962. }
  5963. } else if (str == 'whiteboard') {
  5964. _iframe = _formdiv.querySelector('iframe')
  5965. let onloadListener = _iframe.onload = () => {
  5966. _iframe.contentWindow.document.body.appendChild(script1);
  5967. _iframe.contentWindow.document.body.appendChild(script2);
  5968. _iframe.contentWindow.document.body.appendChild(script4);
  5969. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5970. };
  5971. if (onloadListener) {
  5972. _iframe.contentDocument.location.reload()
  5973. } else {
  5974. _iframe.contentDocument.location.reload()
  5975. }
  5976. } else {
  5977. _iframe.onload = () => {
  5978. _iframe.contentWindow.document.body.appendChild(script1);
  5979. _iframe.contentWindow.document.body.appendChild(script2);
  5980. // _iframe.contentWindow.document.body.appendChild(script3);
  5981. _iframe.contentWindow.document.body.appendChild(script4);
  5982. };
  5983. }
  5984. _jie.onclick = async () => {
  5985. let text = ''
  5986. if (aTool == 1) {
  5987. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5988. } else if (aTool == 6) {
  5989. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5990. } else if (aTool == 3) {
  5991. text = await U.MD.D.I.getEditorContent(_iframe);
  5992. }
  5993. _loading.style.display = 'flex'
  5994. console.log(_loading);
  5995. var _ajs = _iframe.contentWindow.document.createElement("script");
  5996. _ajs.type = "text/javascript";
  5997. _ajs.innerHTML =
  5998. // 'console.log(' + _loading + ');\n' +
  5999. 'var _js = document.createElement("script");\n' +
  6000. '_js.type="text/javascript";\n' +
  6001. '_js.charset="UTF-8";\n' +
  6002. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6003. "_js.onload = function(){\n" +
  6004. ' var a = document.getElementsByTagName("img")\n' +
  6005. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6006. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6007. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6008. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6009. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6010. "beforeUpload_shishi(file," +
  6011. "'" +
  6012. _userid +
  6013. "'" +
  6014. ", " +
  6015. "'" +
  6016. _cid +
  6017. "'" +
  6018. ", " +
  6019. "'" +
  6020. _stage +
  6021. "'" +
  6022. ", " +
  6023. "'" +
  6024. _task +
  6025. "'" +
  6026. ", " +
  6027. "'" +
  6028. _tool +
  6029. "'" +
  6030. ", " +
  6031. "'" +
  6032. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6033. "'" +
  6034. ", " +
  6035. "'" +
  6036. aTool +
  6037. "'" +
  6038. ", " +
  6039. "`" +
  6040. text +
  6041. "`" +
  6042. ")\n" +
  6043. " });\n" +
  6044. "}\n" +
  6045. "document.head.appendChild(_js);\n";
  6046. _iframe.contentWindow.document.head.appendChild(_ajs);
  6047. }
  6048. }
  6049. }
  6050. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6051. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6052. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6053. _userid = student.userid, //登录用户id
  6054. _username = student.student //用户名字
  6055. let _iframe;
  6056. let _cid = cid,
  6057. _stage = stage,
  6058. _task = task,
  6059. _tool = tool;
  6060. var _jie = $$("div", {
  6061. "style": {
  6062. "position": "absolute",
  6063. "bottom": "50px",
  6064. "right": "50px",
  6065. "zIndex": "9999",
  6066. "backgroundColor": "#2268bc",
  6067. "color": "#fff",
  6068. "padding": "12px 20px",
  6069. "cursor": "pointer",
  6070. "borderRadius": "4px",
  6071. },
  6072. "innerHTML": "提交作业"
  6073. })
  6074. let aTool = ''
  6075. let _loading = document.createElement('div')
  6076. _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;"
  6077. // _loading.id = "";
  6078. let _lchild = document.createElement('div')
  6079. let _limg = document.createElement('img')
  6080. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6081. _limg.style = "width: 26px;margin-right: 10px;"
  6082. _lchild.appendChild(_limg)
  6083. let _lspan = document.createElement('span')
  6084. _lspan.innerHTML = "上传中..."
  6085. _lchild.appendChild(_lspan)
  6086. _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%);"
  6087. _loading.appendChild(_lchild)
  6088. var _box = $$('div', {
  6089. "style": {
  6090. "position": "relative",
  6091. "width": "100%",
  6092. "height": "100%",
  6093. },
  6094. })
  6095. _box.appendChild(_loading)
  6096. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6097. switch (str) {
  6098. case "whiteboard":
  6099. aTool = 1;
  6100. _iframe = $$("iframe", {
  6101. "frameborder": "no",
  6102. "border": "0",
  6103. "scrolling ": "no",
  6104. "style": {
  6105. "cssText": "border:0;width:100%;height:100%"
  6106. },
  6107. "src": "https://iwb.cocorobo.cn/"
  6108. })
  6109. _box.appendChild(_iframe);
  6110. _box.appendChild(_jie);
  6111. _formdiv = new U.UF.UI.form(
  6112. "电子白板-" + _username,
  6113. _box, {
  6114. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6115. "style": {
  6116. "width": "90%",
  6117. "height": "90%",
  6118. "overflow": 'hidden'
  6119. },
  6120. "onresize": function () { }
  6121. }, {
  6122. closecallback: function () { }
  6123. }, {
  6124. "style": {
  6125. "height": "36px"
  6126. }
  6127. }).form; //创建窗体
  6128. _taskbar = {
  6129. "id": str + _formdiv.id,
  6130. "style": {
  6131. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6132. },
  6133. "name": "电子白板",
  6134. "forms": _formdiv,
  6135. "click": function () {
  6136. U.MD.D.I.openApplication(str, obj, info);
  6137. }
  6138. }
  6139. break;
  6140. case "mind":
  6141. aTool = 3;
  6142. _iframe = $$("iframe", {
  6143. "frameborder": "no",
  6144. "border": "0",
  6145. "scrolling ": "no",
  6146. "style": {
  6147. "cssText": "border:0;width:100%;height:100%"
  6148. },
  6149. "src": "/kityminder-editor/dist/index.html"
  6150. })
  6151. _box.appendChild(_iframe);
  6152. _box.appendChild(_jie);
  6153. _formdiv = new U.UF.UI.form(
  6154. "思维导图-" + _username,
  6155. _box, { //"/jsmind/example/demo.html"
  6156. "id": "mind" + cid + stage + task + tool + _userid,
  6157. "style": {
  6158. "width": "90%",
  6159. "height": "90%",
  6160. "overflow": 'hidden'
  6161. },
  6162. "onresize": function () { }
  6163. }, {
  6164. closecallback: function () { }
  6165. }, {
  6166. "style": {
  6167. "height": "36px"
  6168. }
  6169. }).form; //创建窗体
  6170. _taskbar = {
  6171. "id": str + _formdiv.id,
  6172. "style": {
  6173. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6174. },
  6175. "name": "思维导图",
  6176. "forms": _formdiv,
  6177. "click": function () {
  6178. U.MD.D.I.openApplication(str, obj, info);
  6179. }
  6180. }
  6181. break;
  6182. case "MindMap":
  6183. aTool = 3;
  6184. _iframe = $$("iframe", {
  6185. "frameborder": "no",
  6186. "border": "0",
  6187. "scrolling ": "no",
  6188. "style": {
  6189. "cssText": "border:0;width:100%;height:100%"
  6190. },
  6191. "src": "//cloud.cocorobo.cn/mind/"
  6192. })
  6193. _box.appendChild(_iframe);
  6194. _box.appendChild(_jie);
  6195. _formdiv = new U.UF.UI.form(
  6196. "思维导图-" + _username,
  6197. _box, { //"/jsmind/example/demo.html"
  6198. "id": "mind" + cid + stage + task + tool + _userid,
  6199. "style": {
  6200. "width": "90%",
  6201. "height": "90%",
  6202. "overflow": 'hidden'
  6203. },
  6204. "onresize": function () { }
  6205. }, {
  6206. closecallback: function () { }
  6207. }, {
  6208. "style": {
  6209. "height": "36px"
  6210. }
  6211. }).form; //创建窗体
  6212. _taskbar = {
  6213. "id": str + _formdiv.id,
  6214. "style": {
  6215. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6216. },
  6217. "name": "思维导图",
  6218. "forms": _formdiv,
  6219. "click": function () {
  6220. U.MD.D.I.openApplication(str, obj, info);
  6221. }
  6222. }
  6223. break;
  6224. case "doc":
  6225. aTool = 6;
  6226. _iframe = $$("iframe", {
  6227. "frameborder": "no",
  6228. "border": "0",
  6229. "scrolling ": "no",
  6230. "style": {
  6231. "cssText": "border:0;width:100%;height:100%"
  6232. },
  6233. "src": "/Office/Word/WordEditArea.htm"
  6234. })
  6235. _box.appendChild(_iframe);
  6236. _box.appendChild(_jie);
  6237. _formdiv = new U.UF.UI.form(
  6238. "协同文档-" + _username,
  6239. _box, {
  6240. "id": "doc" + cid + stage + task + tool + _userid,
  6241. "style": {
  6242. "width": "90%",
  6243. "height": "90%",
  6244. "overflow": 'hidden'
  6245. },
  6246. "onresize": function () { }
  6247. }, {
  6248. closecallback: function () { }
  6249. }, {
  6250. "style": {
  6251. "height": "36px"
  6252. }
  6253. }).form; //创建窗体
  6254. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6255. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6256. })
  6257. _taskbar = {
  6258. "id": str + _formdiv.id,
  6259. "style": {
  6260. "backgroundImage": "url(/img/icon/doc.png)"
  6261. },
  6262. "name": "协同文档",
  6263. "forms": _formdiv,
  6264. "click": function () {
  6265. U.MD.D.I.openApplication(str, obj, info);
  6266. }
  6267. }
  6268. break;
  6269. case "mindNetwork": //好友打开
  6270. aTool = 7;
  6271. _iframe = $$("iframe", {
  6272. "webkitallowfullscreen": "",
  6273. "mozallowfullscreen": "",
  6274. "allowfullscreen": "",
  6275. "frameborder": "no",
  6276. "border": "0",
  6277. "scrolling ": "no",
  6278. "style": {
  6279. "cssText": "border:0; width:100%; height:100%;"
  6280. },
  6281. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6282. })
  6283. _box.appendChild(_iframe);
  6284. _box.appendChild(_jie);
  6285. _formdiv = new U.UF.UI.form(
  6286. "思维网格-" + _username,
  6287. _box, {
  6288. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6289. "style": {
  6290. "width": "90%",
  6291. "height": "90%",
  6292. "overflow": 'hidden'
  6293. },
  6294. "onresize": function () { }
  6295. }, {
  6296. closecallback: function () { }
  6297. }, {
  6298. "style": {
  6299. "height": "36px"
  6300. }
  6301. }).form; //创建窗体
  6302. _taskbar = {
  6303. "id": str + _formdiv.id,
  6304. "style": {
  6305. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6306. },
  6307. "name": "思维网格",
  6308. "forms": _formdiv,
  6309. "click": function () {
  6310. U.MD.D.I.openApplication(str, obj, info);
  6311. }
  6312. }
  6313. break;
  6314. case "courseDesign":
  6315. _iframe = $$("iframe", {
  6316. "webkitallowfullscreen": "",
  6317. "mozallowfullscreen": "",
  6318. "allowfullscreen": "",
  6319. "frameborder": "no",
  6320. "border": "0",
  6321. "scrolling ": "no",
  6322. "style": {
  6323. "cssText": "border:0; width:100%; height:100%;"
  6324. },
  6325. "src": "/course-design-vue"
  6326. })
  6327. _box.appendChild(_iframe);
  6328. _box.appendChild(_jie);
  6329. _formdiv = new U.UF.UI.form(
  6330. "项目设计-" + _username,
  6331. _box, {
  6332. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6333. "style": {
  6334. "width": "90%",
  6335. "height": "90%",
  6336. "overflow": 'hidden'
  6337. },
  6338. "onresize": function () { }
  6339. }, {
  6340. closecallback: function () { }
  6341. }, {
  6342. "style": {
  6343. "height": "36px"
  6344. }
  6345. }).form; //创建窗体
  6346. _taskbar = {
  6347. "id": str + _formdiv.id,
  6348. "style": {
  6349. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6350. },
  6351. "name": "项目设计",
  6352. "forms": _formdiv,
  6353. "click": function () {
  6354. U.MD.D.I.openApplication(str, obj, info);
  6355. }
  6356. }
  6357. break;
  6358. }
  6359. const script1 = document.createElement("script");
  6360. script1.type = "text/javascript";
  6361. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6362. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6363. const script2 = document.createElement("script");
  6364. script2.type = "text/javascript";
  6365. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6366. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6367. const script3 = document.createElement("script");
  6368. script3.type = "text/javascript";
  6369. script3.charset = "UTF-8";
  6370. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6371. const script4 = document.createElement("script");
  6372. script4.type = "text/javascript";
  6373. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6374. script4.src = window.origin + "/js/Common/jietu2E.js";
  6375. if (_iframe) {
  6376. if (str == 'doc') {
  6377. _iframe = _formdiv.querySelector('iframe')
  6378. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6379. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6380. _iframe.contentWindow.document.body.appendChild(script1);
  6381. _iframe.contentWindow.document.body.appendChild(script2);
  6382. // _iframe.contentWindow.document.body.appendChild(script3);
  6383. _iframe.contentWindow.document.body.appendChild(script4);
  6384. })
  6385. if (onloadListener) {
  6386. _iframe.contentDocument.location.reload()
  6387. } else {
  6388. _iframe.contentDocument.location.reload()
  6389. }
  6390. } else if (str == 'courseDesign') {
  6391. U.UF.DL.iframeLoad(_iframe, function () {
  6392. // _iframe.contentWindow.U.MD.O.W.load();
  6393. // _iframe.contentWindow.document.body.appendChild(script1);
  6394. _iframe.contentWindow.document.body.appendChild(script2);
  6395. _iframe.contentWindow.document.body.appendChild(script4);
  6396. })
  6397. } else if (str == 'mind') {
  6398. _iframe = _formdiv.querySelector('iframe')
  6399. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6400. //
  6401. _iframe.contentWindow.document.body.appendChild(script1);
  6402. _iframe.contentWindow.document.body.appendChild(script2);
  6403. _iframe.contentWindow.document.body.appendChild(script4);
  6404. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6405. })
  6406. if (onloadListener) {
  6407. _iframe.contentDocument.location.reload()
  6408. } else {
  6409. _iframe.contentDocument.location.reload()
  6410. }
  6411. } else if (str == 'whiteboard') {
  6412. _iframe = _formdiv.querySelector('iframe')
  6413. let onloadListener = _iframe.onload = () => {
  6414. _iframe.contentWindow.document.body.appendChild(script1);
  6415. _iframe.contentWindow.document.body.appendChild(script2);
  6416. _iframe.contentWindow.document.body.appendChild(script4);
  6417. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6418. };
  6419. if (onloadListener) {
  6420. _iframe.contentDocument.location.reload()
  6421. } else {
  6422. _iframe.contentDocument.location.reload()
  6423. }
  6424. } else {
  6425. _iframe.onload = () => {
  6426. _iframe.contentWindow.document.body.appendChild(script1);
  6427. _iframe.contentWindow.document.body.appendChild(script2);
  6428. // _iframe.contentWindow.document.body.appendChild(script3);
  6429. _iframe.contentWindow.document.body.appendChild(script4);
  6430. };
  6431. }
  6432. _jie.onclick = async () => {
  6433. let text = ''
  6434. if (aTool == 1) {
  6435. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6436. } else if (aTool == 6) {
  6437. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6438. } else if (aTool == 3) {
  6439. text = await U.MD.D.I.getEditorContent(_iframe);
  6440. }
  6441. _loading.style.display = 'flex'
  6442. console.log(_loading);
  6443. var _ajs = _iframe.contentWindow.document.createElement("script");
  6444. _ajs.type = "text/javascript";
  6445. _ajs.innerHTML =
  6446. // 'console.log(' + _loading + ');\n' +
  6447. 'var _js = document.createElement("script");\n' +
  6448. '_js.type="text/javascript";\n' +
  6449. '_js.charset="UTF-8";\n' +
  6450. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6451. "_js.onload = function(){\n" +
  6452. ' var a = document.getElementsByTagName("img")\n' +
  6453. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6454. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6455. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6456. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6457. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6458. "beforeUpload_shishi(file," +
  6459. "'" +
  6460. _userid +
  6461. "'" +
  6462. ", " +
  6463. "'" +
  6464. _cid +
  6465. "'" +
  6466. ", " +
  6467. "'" +
  6468. _stage +
  6469. "'" +
  6470. ", " +
  6471. "'" +
  6472. _task +
  6473. "'" +
  6474. ", " +
  6475. "'" +
  6476. _tool +
  6477. "'" +
  6478. ", " +
  6479. "'" +
  6480. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6481. "'" +
  6482. ", " +
  6483. "'" +
  6484. aTool +
  6485. "'" +
  6486. ", " +
  6487. "`" +
  6488. text +
  6489. "`" +
  6490. ")\n" +
  6491. " });\n" +
  6492. "}\n" +
  6493. "document.head.appendChild(_js);\n";
  6494. _iframe.contentWindow.document.head.appendChild(_ajs);
  6495. }
  6496. }
  6497. }
  6498. U.MD.D.I.getEditorContent = function (iframe) {
  6499. return new Promise((resolve, reject) => {
  6500. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6501. console.log(content);
  6502. resolve(content)
  6503. });
  6504. });
  6505. }
  6506. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6507. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6508. // if (res.value[0].length > 0) {
  6509. // // resolve(res.value[0][0].text);
  6510. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6511. // $(fileInput).val('');
  6512. // });
  6513. // }
  6514. // }, [], { "type": "GET", "withCredentials": true });
  6515. var xmlhttp;
  6516. var Mac, Sn, DeviceId
  6517. if (window.XMLHttpRequest) {
  6518. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6519. xmlhttp = new XMLHttpRequest();
  6520. } else {
  6521. // IE6, IE5 浏览器执行代码
  6522. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6523. }
  6524. xmlhttp.onreadystatechange = function () {
  6525. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6526. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6527. // resolve(res.value[0][0].text);
  6528. if (type == '2') {
  6529. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6530. } else if (type == '3') {
  6531. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6532. }
  6533. } else {
  6534. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6535. }
  6536. }
  6537. }
  6538. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6539. xmlhttp.send();
  6540. }
  6541. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6542. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6543. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6544. _userinfo = US.userInfo, //登录用户信息
  6545. _userid = US.userInfo.userid //登录用户id
  6546. let _iframe;
  6547. let _cid = cid,
  6548. _stage = stage,
  6549. _task = task,
  6550. _tool = tool;
  6551. var _jie = $$("div", {
  6552. "style": {
  6553. "position": "absolute",
  6554. "bottom": "50px",
  6555. "right": "50px",
  6556. "zIndex": "9999",
  6557. "backgroundColor": "#2268bc",
  6558. "color": "#fff",
  6559. "padding": "12px 20px",
  6560. "cursor": "pointer",
  6561. "borderRadius": "4px",
  6562. },
  6563. "innerHTML": "确认并提交"
  6564. })
  6565. let aTool = ''
  6566. let _loading = document.createElement('div')
  6567. _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;"
  6568. // _loading.id = "";
  6569. let _lchild = document.createElement('div')
  6570. let _limg = document.createElement('img')
  6571. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6572. _limg.style = "width: 26px;margin-right: 10px;"
  6573. _lchild.appendChild(_limg)
  6574. let _lspan = document.createElement('span')
  6575. _lspan.innerHTML = "上传中..."
  6576. _lchild.appendChild(_lspan)
  6577. _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%);"
  6578. _loading.appendChild(_lchild)
  6579. var _box = $$('div', {
  6580. "style": {
  6581. "position": "relative",
  6582. "width": "100%",
  6583. "height": "100%",
  6584. },
  6585. })
  6586. _box.appendChild(_loading)
  6587. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6588. switch (str) {
  6589. case "whiteboard":
  6590. aTool = 1;
  6591. _iframe = $$("iframe", {
  6592. "frameborder": "no",
  6593. "border": "0",
  6594. "scrolling ": "no",
  6595. "style": {
  6596. "cssText": "border:0;width:100%;height:100%"
  6597. },
  6598. "src": "https://iwb.cocorobo.cn/"
  6599. })
  6600. _box.appendChild(_iframe);
  6601. _box.appendChild(_jie);
  6602. _formdiv = new U.UF.UI.form(
  6603. "电子白板",
  6604. _box, {
  6605. "id": "whiteboards" + cid + stage + task + tool,
  6606. "style": {
  6607. "width": "90%",
  6608. "height": "90%",
  6609. "overflow": 'hidden'
  6610. },
  6611. "onresize": function () { }
  6612. }, {
  6613. closecallback: function () { }
  6614. }, {
  6615. "style": {
  6616. "height": "36px"
  6617. }
  6618. }).form; //创建窗体
  6619. _taskbar = {
  6620. "id": str + _formdiv.id,
  6621. "style": {
  6622. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6623. },
  6624. "name": "电子白板",
  6625. "forms": _formdiv,
  6626. "click": function () {
  6627. U.MD.D.I.openApplication(str, obj, info);
  6628. }
  6629. }
  6630. break;
  6631. case "mind":
  6632. aTool = 3;
  6633. _iframe = $$("iframe", {
  6634. "frameborder": "no",
  6635. "border": "0",
  6636. "scrolling ": "no",
  6637. "style": {
  6638. "cssText": "border:0;width:100%;height:100%"
  6639. },
  6640. "src": "/kityminder-editor/dist/index.html"
  6641. });
  6642. _box.appendChild(_iframe);
  6643. _box.appendChild(_jie);
  6644. _formdiv = new U.UF.UI.form(
  6645. "思维导图",
  6646. _box, { //"/jsmind/example/demo.html"
  6647. "id": "minds" + cid + stage + task + tool,
  6648. "style": {
  6649. "width": "90%",
  6650. "height": "90%",
  6651. "overflow": 'hidden'
  6652. },
  6653. "onresize": function () { }
  6654. }, {
  6655. closecallback: function () { }
  6656. }, {
  6657. "style": {
  6658. "height": "36px"
  6659. }
  6660. }).form; //创建窗体
  6661. _taskbar = {
  6662. "id": str + _formdiv.id,
  6663. "style": {
  6664. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6665. },
  6666. "name": "思维导图",
  6667. "forms": _formdiv,
  6668. "click": function () {
  6669. U.MD.D.I.openApplication(str, obj, info);
  6670. }
  6671. }
  6672. break;
  6673. case "doc":
  6674. aTool = 6;
  6675. _iframe = $$("iframe", {
  6676. "frameborder": "no",
  6677. "border": "0",
  6678. "scrolling ": "no",
  6679. "style": {
  6680. "cssText": "border:0;width:100%;height:100%"
  6681. },
  6682. "src": "/Office/Word/WordEditArea.htm"
  6683. })
  6684. _box.appendChild(_iframe);
  6685. _box.appendChild(_jie);
  6686. _formdiv = new U.UF.UI.form(
  6687. "协同文档",
  6688. _box, {
  6689. "id": "docs" + cid + stage + task + tool,
  6690. "style": {
  6691. "width": "90%",
  6692. "height": "90%",
  6693. "overflow": 'hidden'
  6694. },
  6695. "onresize": function () { }
  6696. }, {
  6697. closecallback: function () { }
  6698. }, {
  6699. "style": {
  6700. "height": "36px"
  6701. }
  6702. }).form; //创建窗体
  6703. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6704. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6705. })
  6706. _taskbar = {
  6707. "id": str + _formdiv.id,
  6708. "style": {
  6709. "backgroundImage": "url(/img/icon/doc.png)"
  6710. },
  6711. "name": "协同文档",
  6712. "forms": _formdiv,
  6713. "click": function () {
  6714. U.MD.D.I.openApplication(str, obj, info);
  6715. }
  6716. }
  6717. break;
  6718. }
  6719. const script1 = document.createElement("script");
  6720. script1.type = "text/javascript";
  6721. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6722. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6723. const script2 = document.createElement("script");
  6724. script2.type = "text/javascript";
  6725. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6726. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6727. const script3 = document.createElement("script");
  6728. script3.type = "text/javascript";
  6729. script3.charset = "UTF-8";
  6730. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6731. const script4 = document.createElement("script");
  6732. script4.type = "text/javascript";
  6733. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6734. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6735. if (_iframe) {
  6736. if (str == 'doc') {
  6737. _iframe = _formdiv.querySelector('iframe')
  6738. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6739. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6740. _iframe.contentWindow.document.body.appendChild(script1);
  6741. _iframe.contentWindow.document.body.appendChild(script2);
  6742. // _iframe.contentWindow.document.body.appendChild(script3);
  6743. _iframe.contentWindow.document.body.appendChild(script4);
  6744. })
  6745. if (onloadListener) {
  6746. _iframe.contentDocument.location.reload()
  6747. } else {
  6748. _iframe.contentDocument.location.reload()
  6749. }
  6750. } else if (str == 'mind') {
  6751. _iframe = _formdiv.querySelector('iframe')
  6752. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6753. _iframe.contentWindow.document.body.appendChild(script1);
  6754. _iframe.contentWindow.document.body.appendChild(script2);
  6755. _iframe.contentWindow.document.body.appendChild(script4);
  6756. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6757. })
  6758. if (onloadListener) {
  6759. _iframe.contentDocument.location.reload()
  6760. } else {
  6761. _iframe.contentDocument.location.reload()
  6762. }
  6763. } else {
  6764. _iframe.onload = () => {
  6765. _iframe.contentWindow.document.body.appendChild(script1);
  6766. _iframe.contentWindow.document.body.appendChild(script2);
  6767. // _iframe.contentWindow.document.body.appendChild(script3);
  6768. _iframe.contentWindow.document.body.appendChild(script4);
  6769. };
  6770. }
  6771. _jie.onclick = async () => {
  6772. let text = ''
  6773. if (aTool == 6) {
  6774. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6775. } else if (aTool == 3) {
  6776. text = await U.MD.D.I.getEditorContent(_iframe);
  6777. }
  6778. _loading.style.display = 'flex'
  6779. console.log(_loading);
  6780. var _ajs = _iframe.contentWindow.document.createElement("script");
  6781. _ajs.type = "text/javascript";
  6782. _ajs.innerHTML =
  6783. // 'console.log(' + _loading + ');\n' +
  6784. 'var _js = document.createElement("script");\n' +
  6785. '_js.type="text/javascript";\n' +
  6786. '_js.charset="UTF-8";\n' +
  6787. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6788. "_js.onload = function(){\n" +
  6789. ' var a = document.getElementsByTagName("img")\n' +
  6790. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6791. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6792. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6793. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6794. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6795. "beforeUpload_shishi(file," +
  6796. "'" +
  6797. _userid +
  6798. "'" +
  6799. ", " +
  6800. "'" +
  6801. _cid +
  6802. "'" +
  6803. ", " +
  6804. "'" +
  6805. _stage +
  6806. "'" +
  6807. ", " +
  6808. "'" +
  6809. _task +
  6810. "'" +
  6811. ", " +
  6812. "'" +
  6813. _tool +
  6814. "'" +
  6815. ", " +
  6816. "'" +
  6817. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6818. "'" +
  6819. ", " +
  6820. "'" +
  6821. aTool +
  6822. "'" +
  6823. ", " +
  6824. "`" +
  6825. text +
  6826. "`" +
  6827. ")\n" +
  6828. " });\n" +
  6829. "}\n" +
  6830. "document.head.appendChild(_js);\n";
  6831. _iframe.contentWindow.document.head.appendChild(_ajs);
  6832. }
  6833. }
  6834. //U.MD.D.I.openClick(str);
  6835. //如果有任务栏信息
  6836. // if (_taskbar) {
  6837. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6838. // }
  6839. }
  6840. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6841. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6842. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6843. _userinfo = US.userInfo, //登录用户信息
  6844. _userid = US.userInfo.userid //登录用户id
  6845. let _iframe;
  6846. let _cid = cid,
  6847. _stage = stage,
  6848. _task = task,
  6849. _tool = tool;
  6850. var _jie = $$("div", {
  6851. "style": {
  6852. "position": "absolute",
  6853. "bottom": "50px",
  6854. "right": "50px",
  6855. "zIndex": "9999",
  6856. "backgroundColor": "#2268bc",
  6857. "color": "#fff",
  6858. "padding": "12px 20px",
  6859. "cursor": "pointer",
  6860. "borderRadius": "4px",
  6861. },
  6862. "innerHTML": "确认并提交"
  6863. })
  6864. let aTool = ''
  6865. let _loading = document.createElement('div')
  6866. _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;"
  6867. // _loading.id = "";
  6868. let _lchild = document.createElement('div')
  6869. let _limg = document.createElement('img')
  6870. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6871. _limg.style = "width: 26px;margin-right: 10px;"
  6872. _lchild.appendChild(_limg)
  6873. let _lspan = document.createElement('span')
  6874. _lspan.innerHTML = "上传中..."
  6875. _lchild.appendChild(_lspan)
  6876. _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%);"
  6877. _loading.appendChild(_lchild)
  6878. var _box = $$('div', {
  6879. "style": {
  6880. "position": "relative",
  6881. "width": "100%",
  6882. "height": "100%",
  6883. },
  6884. })
  6885. _box.appendChild(_loading)
  6886. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6887. switch (str) {
  6888. case "whiteboard":
  6889. aTool = 1;
  6890. _iframe = $$("iframe", {
  6891. "frameborder": "no",
  6892. "border": "0",
  6893. "scrolling ": "no",
  6894. "style": {
  6895. "cssText": "border:0;width:100%;height:100%"
  6896. },
  6897. "src": "https://iwb.cocorobo.cn/"
  6898. })
  6899. _box.appendChild(_iframe);
  6900. _box.appendChild(_jie);
  6901. _formdiv = new U.UF.UI.form(
  6902. "电子白板",
  6903. _box, {
  6904. "id": "whiteboards" + cid + stage + task + tool,
  6905. "style": {
  6906. "width": "90%",
  6907. "height": "90%",
  6908. "overflow": 'hidden'
  6909. },
  6910. "onresize": function () { }
  6911. }, {
  6912. closecallback: function () { }
  6913. }, {
  6914. "style": {
  6915. "height": "36px"
  6916. }
  6917. }).form; //创建窗体
  6918. _taskbar = {
  6919. "id": str + _formdiv.id,
  6920. "style": {
  6921. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6922. },
  6923. "name": "电子白板",
  6924. "forms": _formdiv,
  6925. "click": function () {
  6926. U.MD.D.I.openApplication(str, obj, info);
  6927. }
  6928. }
  6929. break;
  6930. case "mind":
  6931. aTool = 3;
  6932. _iframe = $$("iframe", {
  6933. "frameborder": "no",
  6934. "border": "0",
  6935. "scrolling ": "no",
  6936. "style": {
  6937. "cssText": "border:0;width:100%;height:100%"
  6938. },
  6939. "src": "/kityminder-editor/dist/index.html"
  6940. });
  6941. _box.appendChild(_iframe);
  6942. _box.appendChild(_jie);
  6943. _formdiv = new U.UF.UI.form(
  6944. "思维导图",
  6945. _box, { //"/jsmind/example/demo.html"
  6946. "id": "minds" + cid + stage + task + tool,
  6947. "style": {
  6948. "width": "90%",
  6949. "height": "90%",
  6950. "overflow": 'hidden'
  6951. },
  6952. "onresize": function () { }
  6953. }, {
  6954. closecallback: function () { }
  6955. }, {
  6956. "style": {
  6957. "height": "36px"
  6958. }
  6959. }).form; //创建窗体
  6960. _taskbar = {
  6961. "id": str + _formdiv.id,
  6962. "style": {
  6963. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6964. },
  6965. "name": "思维导图",
  6966. "forms": _formdiv,
  6967. "click": function () {
  6968. U.MD.D.I.openApplication(str, obj, info);
  6969. }
  6970. }
  6971. break;
  6972. case "doc":
  6973. aTool = 6;
  6974. _iframe = $$("iframe", {
  6975. "frameborder": "no",
  6976. "border": "0",
  6977. "scrolling ": "no",
  6978. "style": {
  6979. "cssText": "border:0;width:100%;height:100%"
  6980. },
  6981. "src": "/Office/Word/WordEditArea.htm"
  6982. })
  6983. _box.appendChild(_iframe);
  6984. _box.appendChild(_jie);
  6985. _formdiv = new U.UF.UI.form(
  6986. "协同文档",
  6987. _box, {
  6988. "id": "docs" + cid + stage + task + tool,
  6989. "style": {
  6990. "width": "90%",
  6991. "height": "90%",
  6992. "overflow": 'hidden'
  6993. },
  6994. "onresize": function () { }
  6995. }, {
  6996. closecallback: function () { }
  6997. }, {
  6998. "style": {
  6999. "height": "36px"
  7000. }
  7001. }).form; //创建窗体
  7002. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7003. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7004. })
  7005. _taskbar = {
  7006. "id": str + _formdiv.id,
  7007. "style": {
  7008. "backgroundImage": "url(/img/icon/doc.png)"
  7009. },
  7010. "name": "协同文档",
  7011. "forms": _formdiv,
  7012. "click": function () {
  7013. U.MD.D.I.openApplication(str, obj, info);
  7014. }
  7015. }
  7016. break;
  7017. }
  7018. const script1 = document.createElement("script");
  7019. script1.type = "text/javascript";
  7020. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7021. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  7022. const script2 = document.createElement("script");
  7023. script2.type = "text/javascript";
  7024. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7025. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  7026. const script3 = document.createElement("script");
  7027. script3.type = "text/javascript";
  7028. script3.charset = "UTF-8";
  7029. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  7030. const script4 = document.createElement("script");
  7031. script4.type = "text/javascript";
  7032. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7033. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  7034. if (_iframe) {
  7035. if (str == 'doc') {
  7036. _iframe = _formdiv.querySelector('iframe')
  7037. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7038. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7039. _iframe.contentWindow.document.body.appendChild(script1);
  7040. _iframe.contentWindow.document.body.appendChild(script2);
  7041. // _iframe.contentWindow.document.body.appendChild(script3);
  7042. _iframe.contentWindow.document.body.appendChild(script4);
  7043. })
  7044. if (onloadListener) {
  7045. _iframe.contentDocument.location.reload()
  7046. } else {
  7047. _iframe.contentDocument.location.reload()
  7048. }
  7049. } else if (str == 'mind') {
  7050. _iframe = _formdiv.querySelector('iframe')
  7051. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7052. _iframe.contentWindow.document.body.appendChild(script1);
  7053. _iframe.contentWindow.document.body.appendChild(script2);
  7054. _iframe.contentWindow.document.body.appendChild(script4);
  7055. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7056. })
  7057. if (onloadListener) {
  7058. _iframe.contentDocument.location.reload()
  7059. } else {
  7060. _iframe.contentDocument.location.reload()
  7061. }
  7062. } else {
  7063. _iframe.onload = () => {
  7064. _iframe.contentWindow.document.body.appendChild(script1);
  7065. _iframe.contentWindow.document.body.appendChild(script2);
  7066. // _iframe.contentWindow.document.body.appendChild(script3);
  7067. _iframe.contentWindow.document.body.appendChild(script4);
  7068. };
  7069. }
  7070. _jie.onclick = async () => {
  7071. let text = ''
  7072. if (aTool == 6) {
  7073. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7074. } else if (aTool == 3) {
  7075. text = await U.MD.D.I.getEditorContent(_iframe);
  7076. }
  7077. _loading.style.display = 'flex'
  7078. console.log(_loading);
  7079. var _ajs = _iframe.contentWindow.document.createElement("script");
  7080. _ajs.type = "text/javascript";
  7081. _ajs.innerHTML =
  7082. // 'console.log(' + _loading + ');\n' +
  7083. 'var _js = document.createElement("script");\n' +
  7084. '_js.type="text/javascript";\n' +
  7085. '_js.charset="UTF-8";\n' +
  7086. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  7087. "_js.onload = function(){\n" +
  7088. ' var a = document.getElementsByTagName("img")\n' +
  7089. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7090. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7091. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7092. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7093. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  7094. "beforeUpload_shishi(file," +
  7095. "'" +
  7096. _userid +
  7097. "'" +
  7098. ", " +
  7099. "'" +
  7100. _cid +
  7101. "'" +
  7102. ", " +
  7103. "'" +
  7104. _stage +
  7105. "'" +
  7106. ", " +
  7107. "'" +
  7108. _task +
  7109. "'" +
  7110. ", " +
  7111. "'" +
  7112. _tool +
  7113. "'" +
  7114. ", " +
  7115. "'" +
  7116. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7117. "'" +
  7118. ", " +
  7119. "'" +
  7120. aTool +
  7121. "'" +
  7122. ", " +
  7123. "`" +
  7124. text +
  7125. "`" +
  7126. ")\n" +
  7127. " });\n" +
  7128. "}\n" +
  7129. "document.head.appendChild(_js);\n";
  7130. _iframe.contentWindow.document.head.appendChild(_ajs);
  7131. }
  7132. }
  7133. //U.MD.D.I.openClick(str);
  7134. //如果有任务栏信息
  7135. // if (_taskbar) {
  7136. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7137. // }
  7138. }
  7139. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7140. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7141. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7142. _userinfo = US.userInfo, //登录用户信息
  7143. _userid = US.userInfo.userid //登录用户id
  7144. let _iframe;
  7145. let _cid = cid,
  7146. _stage = stage,
  7147. _task = task,
  7148. _tool = tool;
  7149. var _jie = $$("div", {
  7150. "style": {
  7151. "position": "absolute",
  7152. "bottom": "50px",
  7153. "right": "50px",
  7154. "zIndex": "9999",
  7155. "backgroundColor": "#2268bc",
  7156. "color": "#fff",
  7157. "padding": "12px 20px",
  7158. "cursor": "pointer",
  7159. "borderRadius": "4px",
  7160. },
  7161. "innerHTML": "上传模板"
  7162. })
  7163. let aTool = ''
  7164. let _loading = document.createElement('div')
  7165. _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;"
  7166. // _loading.id = "";
  7167. let _lchild = document.createElement('div')
  7168. let _limg = document.createElement('img')
  7169. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7170. _limg.style = "width: 26px;margin-right: 10px;"
  7171. _lchild.appendChild(_limg)
  7172. let _lspan = document.createElement('span')
  7173. _lspan.innerHTML = "上传中..."
  7174. _lchild.appendChild(_lspan)
  7175. _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%);"
  7176. _loading.appendChild(_lchild)
  7177. var _box = $$('div', {
  7178. "style": {
  7179. "position": "relative",
  7180. "width": "100%",
  7181. "height": "100%",
  7182. },
  7183. })
  7184. _box.appendChild(_loading)
  7185. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7186. switch (str) {
  7187. case "whiteboard":
  7188. aTool = 1;
  7189. _iframe = $$("iframe", {
  7190. "frameborder": "no",
  7191. "border": "0",
  7192. "scrolling ": "no",
  7193. "style": {
  7194. "cssText": "border:0;width:100%;height:100%"
  7195. },
  7196. "src": "https://iwb.cocorobo.cn/"
  7197. })
  7198. _box.appendChild(_iframe);
  7199. _box.appendChild(_jie);
  7200. _formdiv = new U.UF.UI.form(
  7201. "电子白板",
  7202. _box, {
  7203. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7204. "style": {
  7205. "width": "90%",
  7206. "height": "90%",
  7207. "overflow": 'hidden'
  7208. },
  7209. "onresize": function () { }
  7210. }, {
  7211. closecallback: function () { }
  7212. }, {
  7213. "style": {
  7214. "height": "36px"
  7215. }
  7216. }).form; //创建窗体
  7217. _taskbar = {
  7218. "id": str + _formdiv.id,
  7219. "style": {
  7220. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7221. },
  7222. "name": "电子白板",
  7223. "forms": _formdiv,
  7224. "click": function () {
  7225. U.MD.D.I.openApplication(str, obj, info);
  7226. }
  7227. }
  7228. break;
  7229. case "mind":
  7230. aTool = 3;
  7231. _iframe = $$("iframe", {
  7232. "frameborder": "no",
  7233. "border": "0",
  7234. "scrolling ": "no",
  7235. "style": {
  7236. "cssText": "border:0;width:100%;height:100%"
  7237. },
  7238. "src": "/kityminder-editor/dist/index.html"
  7239. });
  7240. _box.appendChild(_iframe);
  7241. _box.appendChild(_jie);
  7242. _formdiv = new U.UF.UI.form(
  7243. "思维导图",
  7244. _box, { //"/jsmind/example/demo.html"
  7245. "id": "minds_Yu" + cid + stage + task + tool,
  7246. "style": {
  7247. "width": "90%",
  7248. "height": "90%",
  7249. "overflow": 'hidden'
  7250. },
  7251. "onresize": function () { }
  7252. }, {
  7253. closecallback: function () { }
  7254. }, {
  7255. "style": {
  7256. "height": "36px"
  7257. }
  7258. }).form; //创建窗体
  7259. _taskbar = {
  7260. "id": str + _formdiv.id,
  7261. "style": {
  7262. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7263. },
  7264. "name": "思维导图",
  7265. "forms": _formdiv,
  7266. "click": function () {
  7267. U.MD.D.I.openApplication(str, obj, info);
  7268. }
  7269. }
  7270. break;
  7271. case "doc":
  7272. aTool = 6;
  7273. _iframe = $$("iframe", {
  7274. "frameborder": "no",
  7275. "border": "0",
  7276. "scrolling ": "no",
  7277. "style": {
  7278. "cssText": "border:0;width:100%;height:100%"
  7279. },
  7280. "src": "/Office/Word/WordEditArea.htm"
  7281. })
  7282. _box.appendChild(_iframe);
  7283. _box.appendChild(_jie);
  7284. _formdiv = new U.UF.UI.form(
  7285. "协同文档",
  7286. _box, {
  7287. "id": "docs_Yu" + cid + stage + task + tool,
  7288. "style": {
  7289. "width": "90%",
  7290. "height": "90%",
  7291. "overflow": 'hidden'
  7292. },
  7293. "onresize": function () { }
  7294. }, {
  7295. closecallback: function () { }
  7296. }, {
  7297. "style": {
  7298. "height": "36px"
  7299. }
  7300. }).form; //创建窗体
  7301. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7302. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7303. })
  7304. _taskbar = {
  7305. "id": str + _formdiv.id,
  7306. "style": {
  7307. "backgroundImage": "url(/img/icon/doc.png)"
  7308. },
  7309. "name": "协同文档",
  7310. "forms": _formdiv,
  7311. "click": function () {
  7312. U.MD.D.I.openApplication(str, obj, info);
  7313. }
  7314. }
  7315. break;
  7316. case "CocoPi":
  7317. aTool = 57;
  7318. _iframe = $$("iframe", {
  7319. "allowpaymentrequest": "allowpaymentrequest",
  7320. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7321. "webkitallowfullscreen": "",
  7322. "mozallowfullscreen": "",
  7323. "frameborder": "no",
  7324. "border": "0",
  7325. "scrolling ": "no",
  7326. "style": {
  7327. "cssText": "border:0;width:100%;height:100%"
  7328. },
  7329. "src": "https://pi.cocorobo.cn/"
  7330. })
  7331. _box.appendChild(_iframe);
  7332. _box.appendChild(_jie);
  7333. _formdiv = new U.UF.UI.form(
  7334. "CocoPi",
  7335. _box, {
  7336. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7337. "style": {
  7338. "width": "90%",
  7339. "height": "90%",
  7340. "overflow": 'hidden'
  7341. },
  7342. "onresize": function () { }
  7343. }, {
  7344. closecallback: function () { }
  7345. }, {
  7346. "style": {
  7347. "height": "36px"
  7348. }
  7349. }).form; //创建窗体
  7350. _taskbar = {
  7351. "id": str + _formdiv.id,
  7352. "style": {
  7353. "backgroundImage": "url(/img/icon/cocopi.png)"
  7354. },
  7355. "name": "CocoPi",
  7356. "forms": _formdiv,
  7357. "click": function () {
  7358. U.MD.D.I.openApplication(str, obj, info);
  7359. }
  7360. }
  7361. break;
  7362. }
  7363. if (_iframe) {
  7364. if (str == 'doc') {
  7365. _iframe = _formdiv.querySelector('iframe')
  7366. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7367. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7368. })
  7369. if (onloadListener) {
  7370. _iframe.contentDocument.location.reload()
  7371. } else {
  7372. _iframe.contentDocument.location.reload()
  7373. }
  7374. } else if (str == 'mind') {
  7375. _iframe = _formdiv.querySelector('iframe')
  7376. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7377. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7378. })
  7379. if (onloadListener) {
  7380. _iframe.contentDocument.location.reload()
  7381. } else {
  7382. _iframe.contentDocument.location.reload()
  7383. }
  7384. } else if (str == 'whiteboard') {
  7385. _iframe = _formdiv.querySelector('iframe')
  7386. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7387. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7388. })
  7389. if (onloadListener) {
  7390. _iframe.contentDocument.location.reload()
  7391. } else {
  7392. _iframe.contentDocument.location.reload()
  7393. }
  7394. } else if (str == 'CocoPi') {
  7395. _iframe = _formdiv.querySelector('iframe')
  7396. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7397. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7398. })
  7399. if (onloadListener) {
  7400. _iframe.contentDocument.location.reload()
  7401. } else {
  7402. _iframe.contentDocument.location.reload()
  7403. }
  7404. } else {
  7405. _iframe.onload = () => { };
  7406. }
  7407. _jie.onclick = async () => {
  7408. let text = ''
  7409. let type = '2'
  7410. if (aTool == 1) {
  7411. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7412. type = '3'
  7413. } else if (aTool == 6) {
  7414. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7415. type = '1'
  7416. } else if (aTool == 3) {
  7417. text = await U.MD.D.I.getEditorContent(_iframe);
  7418. type = '2'
  7419. } else if (aTool == 57) {
  7420. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7421. type = '4'
  7422. }
  7423. _loading.style.display = 'flex'
  7424. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7425. }
  7426. }
  7427. //U.MD.D.I.openClick(str);
  7428. //如果有任务栏信息
  7429. // if (_taskbar) {
  7430. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7431. // }
  7432. }
  7433. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7434. var xmlhttp;
  7435. var Mac, Sn, DeviceId
  7436. if (window.XMLHttpRequest) {
  7437. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7438. xmlhttp = new XMLHttpRequest();
  7439. } else {
  7440. // IE6, IE5 浏览器执行代码
  7441. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7442. }
  7443. xmlhttp.onreadystatechange = function () {
  7444. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7445. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7446. // resolve(res.value[0][0].text);
  7447. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7448. }
  7449. }
  7450. }
  7451. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7452. xmlhttp.send();
  7453. }
  7454. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7455. var xmlhttp;
  7456. var Mac, Sn, DeviceId
  7457. if (window.XMLHttpRequest) {
  7458. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7459. xmlhttp = new XMLHttpRequest();
  7460. } else {
  7461. // IE6, IE5 浏览器执行代码
  7462. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7463. }
  7464. xmlhttp.onreadystatechange = function () {
  7465. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7466. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7467. // resolve(res.value[0][0].text);
  7468. if (type == '2') {
  7469. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7470. } else if (type == '3') {
  7471. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7472. } else if (type == '4') {
  7473. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7474. }
  7475. } else {
  7476. if (type == '2') {
  7477. iframe.contentWindow.editor.minder.importData('json', '')
  7478. } else if (type == '3') {
  7479. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7480. } else if (type == '4') {
  7481. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7482. }
  7483. }
  7484. }
  7485. }
  7486. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7487. xmlhttp.send();
  7488. }
  7489. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7490. var xmlhttp;
  7491. var Mac, Sn, DeviceId
  7492. if (window.XMLHttpRequest) {
  7493. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7494. xmlhttp = new XMLHttpRequest();
  7495. } else {
  7496. // IE6, IE5 浏览器执行代码
  7497. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7498. }
  7499. xmlhttp.onreadystatechange = function () {
  7500. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7501. if (xmlhttp.response) {
  7502. // resolve(res.value[0][0].text);
  7503. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7504. // $(fileInput).val('');
  7505. // });
  7506. span.innerHTML = '上传成功'
  7507. setTimeout(() => {
  7508. loading.style.display = 'none'
  7509. }, 1000);
  7510. }
  7511. }
  7512. }
  7513. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7514. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7515. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7516. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7517. // 设置请求头,表示请求体的编码格式
  7518. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7519. // 设置请求体,使用url-encoded格式的数据
  7520. }
  7521. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7522. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7523. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7524. _userinfo = US.userInfo, //登录用户信息
  7525. _userid = US.userInfo.userid //登录用户id
  7526. let _iframe;
  7527. let _cid = cid,
  7528. _stage = stage,
  7529. _task = task,
  7530. _tool = tool;
  7531. var _jie = $$("div", {
  7532. "style": {
  7533. "position": "absolute",
  7534. "bottom": "50px",
  7535. "right": "50px",
  7536. "zIndex": "9999",
  7537. "backgroundColor": "#2268bc",
  7538. "color": "#fff",
  7539. "padding": "12px 20px",
  7540. "cursor": "pointer",
  7541. "borderRadius": "4px",
  7542. },
  7543. "innerHTML": "提交作业"
  7544. })
  7545. let aTool = ''
  7546. let _loading = document.createElement('div')
  7547. _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;"
  7548. // _loading.id = "";
  7549. let _lchild = document.createElement('div')
  7550. let _limg = document.createElement('img')
  7551. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7552. _limg.style = "width: 26px;margin-right: 10px;"
  7553. _lchild.appendChild(_limg)
  7554. let _lspan = document.createElement('span')
  7555. _lspan.innerHTML = "上传中..."
  7556. _lchild.appendChild(_lspan)
  7557. _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%);"
  7558. _loading.appendChild(_lchild)
  7559. var _box = $$('div', {
  7560. "style": {
  7561. "position": "relative",
  7562. "width": "100%",
  7563. "height": "100%",
  7564. },
  7565. })
  7566. _box.appendChild(_loading)
  7567. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7568. switch (str) {
  7569. case "CocoPi":
  7570. aTool = 57;
  7571. _iframe = $$("iframe", {
  7572. "allowpaymentrequest": "allowpaymentrequest",
  7573. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7574. "webkitallowfullscreen": "",
  7575. "mozallowfullscreen": "",
  7576. "frameborder": "no",
  7577. "border": "0",
  7578. "scrolling ": "no",
  7579. "style": {
  7580. "cssText": "border:0;width:100%;height:100%"
  7581. },
  7582. "src": "https://pi.cocorobo.cn/"
  7583. })
  7584. _box.appendChild(_iframe);
  7585. _box.appendChild(_jie);
  7586. _formdiv = new U.UF.UI.form(
  7587. "CocoPi",
  7588. _box, {
  7589. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7590. "style": {
  7591. "width": "90%",
  7592. "height": "90%",
  7593. "overflow": 'hidden'
  7594. },
  7595. "onresize": function () { }
  7596. }, {
  7597. closecallback: function () { }
  7598. }, {
  7599. "style": {
  7600. "height": "36px"
  7601. }
  7602. }).form; //创建窗体
  7603. _taskbar = {
  7604. "id": str + _formdiv.id,
  7605. "style": {
  7606. "backgroundImage": "url(/img/icon/cocopi.png)"
  7607. },
  7608. "name": "CocoPi",
  7609. "forms": _formdiv,
  7610. "click": function () {
  7611. U.MD.D.I.openApplication(str, obj, info);
  7612. }
  7613. }
  7614. break;
  7615. }
  7616. if (_iframe) {
  7617. if (str == 'CocoPi') {
  7618. _iframe = _formdiv.querySelector('iframe')
  7619. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7620. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7621. })
  7622. if (onloadListener) {
  7623. _iframe.contentDocument.location.reload()
  7624. } else {
  7625. _iframe.contentDocument.location.reload()
  7626. }
  7627. }
  7628. _jie.onclick = async () => {
  7629. let text = ''
  7630. if (aTool == 57) {
  7631. text = _iframe.contentWindow.getLoadXmlStr()
  7632. }
  7633. _loading.style.display = 'flex'
  7634. console.log(_loading);
  7635. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7636. _loading.style.display = 'none'
  7637. let _div = document.createElement('div')
  7638. _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;"
  7639. let _inner = document.createElement('div')
  7640. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7641. _inner.innerHTML = "上传成功"
  7642. _div.appendChild(_inner)
  7643. _iframe.contentWindow.window.document.body.appendChild(_div)
  7644. _div.onclick = () => {
  7645. _iframe.contentWindow.window.document.body.removeChild(_div)
  7646. }
  7647. setTimeout(() => {
  7648. _iframe.contentWindow.window.document.body.removeChild(_div)
  7649. }, 1000);
  7650. }, [], { "type": "POST", "withCredentials": true });
  7651. }
  7652. }
  7653. }
  7654. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7655. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7656. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7657. _userid = student.userid, //登录用户id
  7658. _username = student.student //用户名字
  7659. let _iframe;
  7660. let _cid = cid,
  7661. _stage = stage,
  7662. _task = task,
  7663. _tool = tool;
  7664. var _jie = $$("div", {
  7665. "style": {
  7666. "position": "absolute",
  7667. "bottom": "50px",
  7668. "right": "50px",
  7669. "zIndex": "9999",
  7670. "backgroundColor": "#2268bc",
  7671. "color": "#fff",
  7672. "padding": "12px 20px",
  7673. "cursor": "pointer",
  7674. "borderRadius": "4px",
  7675. },
  7676. "innerHTML": "提交作业"
  7677. })
  7678. let aTool = ''
  7679. let _loading = document.createElement('div')
  7680. _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;"
  7681. // _loading.id = "";
  7682. let _lchild = document.createElement('div')
  7683. let _limg = document.createElement('img')
  7684. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7685. _limg.style = "width: 26px;margin-right: 10px;"
  7686. _lchild.appendChild(_limg)
  7687. let _lspan = document.createElement('span')
  7688. _lspan.innerHTML = "上传中..."
  7689. _lchild.appendChild(_lspan)
  7690. _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%);"
  7691. _loading.appendChild(_lchild)
  7692. var _box = $$('div', {
  7693. "style": {
  7694. "position": "relative",
  7695. "width": "100%",
  7696. "height": "100%",
  7697. },
  7698. })
  7699. _box.appendChild(_loading)
  7700. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7701. switch (str) {
  7702. case "CocoPi":
  7703. aTool = 57;
  7704. _iframe = $$("iframe", {
  7705. "allowpaymentrequest": "allowpaymentrequest",
  7706. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7707. "webkitallowfullscreen": "",
  7708. "mozallowfullscreen": "",
  7709. "frameborder": "no",
  7710. "border": "0",
  7711. "scrolling ": "no",
  7712. "style": {
  7713. "cssText": "border:0;width:100%;height:100%"
  7714. },
  7715. "src": "https://pi.cocorobo.cn/"
  7716. })
  7717. _box.appendChild(_iframe);
  7718. _box.appendChild(_jie);
  7719. _formdiv = new U.UF.UI.form(
  7720. "CocoPi-" + _username,
  7721. _box, {
  7722. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7723. "style": {
  7724. "width": "90%",
  7725. "height": "90%",
  7726. "overflow": 'hidden'
  7727. },
  7728. "onresize": function () { }
  7729. }, {
  7730. closecallback: function () { }
  7731. }, {
  7732. "style": {
  7733. "height": "36px"
  7734. }
  7735. }).form; //创建窗体
  7736. _taskbar = {
  7737. "id": str + _formdiv.id,
  7738. "style": {
  7739. "backgroundImage": "url(/img/icon/cocopi.png)"
  7740. },
  7741. "name": "CocoPi",
  7742. "forms": _formdiv,
  7743. "click": function () {
  7744. U.MD.D.I.openApplication(str, obj, info);
  7745. }
  7746. }
  7747. break;
  7748. }
  7749. if (_iframe) {
  7750. if (str == 'CocoPi') {
  7751. _iframe = _formdiv.querySelector('iframe')
  7752. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7753. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7754. })
  7755. if (onloadListener) {
  7756. _iframe.contentDocument.location.reload()
  7757. } else {
  7758. _iframe.contentDocument.location.reload()
  7759. }
  7760. }
  7761. _jie.onclick = async () => {
  7762. let text = ''
  7763. if (aTool == 57) {
  7764. text = _iframe.contentWindow.getLoadXmlStr()
  7765. }
  7766. _loading.style.display = 'flex'
  7767. console.log(_loading);
  7768. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7769. _loading.style.display = 'none'
  7770. let _div = document.createElement('div')
  7771. _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;"
  7772. let _inner = document.createElement('div')
  7773. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7774. _inner.innerHTML = "上传成功"
  7775. _div.appendChild(_inner)
  7776. _iframe.contentWindow.window.document.body.appendChild(_div)
  7777. _div.onclick = () => {
  7778. _iframe.contentWindow.window.document.body.removeChild(_div)
  7779. }
  7780. setTimeout(() => {
  7781. _iframe.contentWindow.window.document.body.removeChild(_div)
  7782. }, 1000);
  7783. }, [], { "type": "POST", "withCredentials": true });
  7784. }
  7785. }
  7786. }
  7787. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7788. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7789. if (res.value[0].length > 0) {
  7790. if (atool == 57) {
  7791. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7792. }
  7793. } else {
  7794. if (atool == 57) {
  7795. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7796. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7797. }
  7798. }
  7799. }, [], { "type": "POST", "withCredentials": true });
  7800. }