DeskTop.js 439 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  195. ];
  196. U.MD.D.I.szulsDeskIcon = [
  197. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  198. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  199. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  207. ];
  208. U.MD.D.I.hanDeskIcon = [
  209. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  210. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  211. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  212. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  213. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  214. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  215. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  216. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  217. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  218. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  219. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  220. ];
  221. U.MD.D.I.GMteacherDeskIcon = [
  222. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  223. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  224. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  225. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  226. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  227. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  228. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  229. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  230. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  231. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  232. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  233. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  234. ];
  235. U.MD.D.I.GMstudentDeskIcon = [
  236. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  237. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  238. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  239. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  240. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  241. ];
  242. //北师大
  243. U.MD.D.I.BSDNSteacherDeskIcon = [
  244. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  245. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  246. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  247. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  251. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  252. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  253. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  254. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  255. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  256. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  257. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  258. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  259. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  260. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  261. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  262. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  263. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  264. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  265. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  266. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  267. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  268. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  269. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  270. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  271. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  272. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  273. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  274. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  275. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  276. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  277. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  278. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  279. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  280. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  281. ];
  282. //松山湖
  283. U.MD.D.I.SONGteacherDeskIcon = [
  284. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  285. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  286. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  287. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  288. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  289. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  290. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  291. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  292. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  293. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  294. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  295. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  296. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  297. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  298. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  299. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  300. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  301. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  302. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  303. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  304. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  305. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  306. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  307. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  308. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  309. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  310. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  311. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  312. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  313. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  314. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  315. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  316. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  317. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  318. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  319. ];
  320. U.MD.D.I.tcStudentDeskIcon = [
  321. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  322. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  323. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  324. ];
  325. U.MD.D.I.tcTeacherDeskIcon = [
  326. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  327. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  328. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  329. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  330. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  331. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  332. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  333. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  334. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  335. ];
  336. U.MD.D.I.tcOrganizerDeskIcon = [
  337. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  338. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  339. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  340. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  341. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  342. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  343. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  344. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  345. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  346. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  347. ];
  348. U.MD.D.I.szscStudentDeskIcon = [
  349. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  351. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. ];
  354. U.MD.D.I.szscTeacherDeskIcon = [
  355. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  359. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.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. ];
  366. U.MD.D.I.szscOrganizerDeskIcon = [
  367. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  368. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  369. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  370. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  371. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  372. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  373. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  374. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  375. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  376. ];
  377. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  378. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  379. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  380. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  381. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  382. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  385. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  386. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  387. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  388. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  389. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  390. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  391. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  392. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  393. ];
  394. U.MD.D.I.wankeAdminDeskIcon = [
  395. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  396. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  397. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  399. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  400. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  401. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  402. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  403. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  404. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  405. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  406. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  407. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  408. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  409. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  410. ];
  411. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  412. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  413. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  414. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  415. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  416. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  417. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  418. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  419. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  420. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  421. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  422. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  423. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  424. ];
  425. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  426. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  427. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  428. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  429. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  430. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  431. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  432. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  433. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  434. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  435. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  436. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  437. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  438. ];
  439. //明德教师桌面图标的全局变量
  440. U.MD.D.I.MingdeTeacherDeskIcon = [
  441. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  442. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  443. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  444. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  445. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  446. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  447. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  448. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  449. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  450. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  451. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  452. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  453. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  454. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  455. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  456. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  457. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  458. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  459. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  460. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  461. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  462. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  463. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  464. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  465. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  466. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  467. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  468. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  469. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  471. ];
  472. //97c4ee8b-d010-4042-986d-e9d3c217264f
  473. //教师桌面图标的全局变量
  474. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  475. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  482. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  483. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  484. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  485. ];
  486. //福田
  487. U.MD.D.I.futianTeacherDeskIcon = [
  488. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  489. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  490. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  491. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  492. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  493. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  494. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  495. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  497. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  498. ];
  499. //福田
  500. U.MD.D.I.futianAdminDeskIcon = [
  501. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  502. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  503. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  504. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  505. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  506. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  507. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  508. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  509. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  510. ];
  511. //lotech
  512. U.MD.D.I.lotechTeacherDeskIcon = [
  513. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  514. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  515. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  516. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  517. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  518. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  519. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. ];
  522. //龙华中心小学教师桌面图标的全局变量
  523. U.MD.D.I.longhuateacherDeskIcon = [
  524. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  525. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  526. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  527. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  528. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  529. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  530. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  531. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  532. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  533. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  534. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  535. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. ];
  537. //教科院实小教师桌面图标的全局变量
  538. U.MD.D.I.siesteacherDeskIcon = [
  539. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  540. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  541. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  542. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  543. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  544. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  545. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  546. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  547. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  548. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  549. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  550. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  552. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  553. ];
  554. //教科院实小教师桌面图标的全局变量
  555. U.MD.D.I.siesStudentDeskIcon = [
  556. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  558. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  559. ];
  560. //福田
  561. U.MD.D.I.gdjgTeacherDeskIcon = [
  562. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  563. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  564. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  565. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  566. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  567. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  568. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  569. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  570. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  571. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  572. ];
  573. //gdjg
  574. U.MD.D.I.gdjgAdminDeskIcon = [
  575. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  576. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  577. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  582. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  583. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. ];
  585. //hk
  586. U.MD.D.I.hkteacherDeskIcon = [
  587. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  588. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  590. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  591. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. // { "Name": "工作管理", "Url": "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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  596. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  597. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  598. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  600. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  601. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  602. ];
  603. //hk
  604. U.MD.D.I.hkStudentDeskIcon = [
  605. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  606. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  607. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  608. ];
  609. //香海正覺蓮社佛教正覺中學
  610. U.MD.D.I.hkZJLSteacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  614. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  615. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  616. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  617. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  618. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  619. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  620. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  621. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  622. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  623. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  624. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. ];
  626. //香海正覺蓮社佛教正覺中學
  627. U.MD.D.I.hkZJLSStudentDeskIcon = [
  628. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. ];
  632. //云海
  633. U.MD.D.I.yunhaiTeacherDeskIcon = [
  634. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  635. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  637. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  638. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  641. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  642. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  643. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  644. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  645. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  646. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  647. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  648. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  649. ];
  650. //福田
  651. U.MD.D.I.heyuanTeacherDeskIcon = [
  652. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  655. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  656. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  657. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  658. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  659. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  660. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  661. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  662. ];
  663. //福田
  664. U.MD.D.I.heyuanAdminDeskIcon = [
  665. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  666. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  667. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  668. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  669. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  670. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  671. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  672. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  673. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  674. ];
  675. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  676. U.MD.D.I.szherTeacherDeskIcon = [
  677. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  680. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  681. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  682. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  683. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  684. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  685. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  686. ];
  687. //dsei
  688. U.MD.D.I.dseiTeacherDeskIcon = [
  689. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  690. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  691. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  692. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  693. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  694. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  695. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  696. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  697. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  698. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  699. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  700. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  701. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  702. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  703. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  704. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  705. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  706. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  707. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  708. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  709. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  710. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  711. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  712. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  713. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  714. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  715. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  716. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  717. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  718. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  719. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  720. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  721. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  722. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  723. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  724. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  725. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  726. ];
  727. //dsei
  728. U.MD.D.I.dseiAdminDeskIcon = [
  729. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  730. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  732. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  733. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  734. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  735. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  736. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  737. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  738. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  739. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  740. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  741. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  742. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  743. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  744. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  745. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  746. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  747. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  748. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  749. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  750. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  751. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  752. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  753. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  754. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  755. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  756. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  757. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  758. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  759. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  760. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  761. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  762. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  763. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  764. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  765. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  766. ];
  767. //dsei
  768. U.MD.D.I.dseiStudentDeskIcon = [
  769. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  770. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. ];
  773. //未来教育基地
  774. U.MD.D.I.szjkyTeacherDeskIcon = [
  775. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  776. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  777. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  778. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  779. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  780. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  781. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  782. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  783. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  784. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  786. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  788. ];
  789. //未来教育基地
  790. U.MD.D.I.szjkyAdminDeskIcon = [
  791. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  792. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  793. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  794. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  795. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  796. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  797. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  798. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  799. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  800. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  801. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  802. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  803. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  804. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  805. ];
  806. //未来教育基地
  807. U.MD.D.I.szjkyStudentDeskIcon = [
  808. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  809. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  810. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  811. ];
  812. //成华教育局
  813. U.MD.D.I.chjyjTeacherDeskIcon = [
  814. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  821. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  822. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  823. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. ];
  827. //成华教育局chjyj
  828. U.MD.D.I.chjyjAdminDeskIcon = [
  829. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  832. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  833. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  834. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  835. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  836. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  837. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  838. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  839. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  840. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  841. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  842. ];
  843. //成华教育局chjyj
  844. U.MD.D.I.chjyjStudentDeskIcon = [
  845. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  846. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  847. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  848. ];
  849. //#region 桌面初始化a
  850. /**
  851. * 初始化桌面的起始函数
  852. *
  853. */
  854. U.MD.D.I.init = function() {
  855. if ($("#U_MD_D_K")[0]) {
  856. //初始化桌面图标
  857. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  858. // var clickUrl = ':12588/requestIp.php';
  859. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  860. // U.MD.D.I.Ip = data;
  861. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  862. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  863. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  864. // })
  865. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  866. // })
  867. }
  868. }
  869. /**
  870. * 模式切换
  871. *
  872. */
  873. U.MD.D.I.ModeCheck = function(type) {
  874. if (US.Config.type == type) {
  875. return
  876. }
  877. US.Config.type = type
  878. $('.U_PBL_Check .active')[0].className = ''
  879. if (type == 1) {
  880. $('.U_PBL_Check div')[0].className = 'active'
  881. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  882. } else {
  883. $('.U_PBL_Check div')[1].className = 'active'
  884. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  885. }
  886. //初始化桌面图标
  887. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  888. if (type == 2) {
  889. U.MD.D.I.openApplication("project")
  890. }
  891. }
  892. /**
  893. * 隐藏任务栏
  894. *
  895. * @param {element} 桌面元素
  896. */
  897. U.MD.D.I.hiddenTaskbar = function(el) {
  898. //任务栏位置变小
  899. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  900. //桌面的位置变大
  901. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  902. }
  903. /**
  904. * 隐藏任务栏
  905. *
  906. * @param {element} 桌面元素
  907. */
  908. U.MD.D.I.hiddenTaskbarout = function(el) {
  909. //任务栏位置变小
  910. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  911. //任务栏位置变化
  912. U.selectEl(el).css({ "bottom": "-60px" });
  913. //桌面的位置变大
  914. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  915. }
  916. }
  917. /**
  918. * 初始化打印桌面图标
  919. *
  920. * @param {element} 桌面元素
  921. */
  922. U.MD.D.I.initDesktopIcons = function(el, type) {
  923. var i, //用于循环
  924. _content, //桌面图标元素
  925. _iconcontent, //桌面图标元素
  926. _frag = $$("frag"), //定义一个碎片元素
  927. _type = US.userInfo.type,
  928. _org = US.userInfo.org,
  929. _oid = US.userInfo.organizeid,
  930. _role = US.userInfo.role,
  931. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  932. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  933. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  934. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  935. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  936. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  937. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  938. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  939. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  940. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  941. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  942. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  943. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  944. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  945. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  946. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  947. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  948. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  949. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  950. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  951. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  952. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  953. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  954. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  955. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  956. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  957. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  958. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  959. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  960. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  961. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  962. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  963. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  964. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  965. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  966. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  967. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  968. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  969. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  970. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  971. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  972. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  973. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  974. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  975. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  976. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  977. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  978. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  979. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  980. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  981. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  982. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  983. 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'];
  984. 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'];
  985. //清楚桌面图标
  986. el.innerHTML = "";
  987. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  988. _teacherDesktopIconInfo.push(
  989. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  990. { "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)" } },
  991. )
  992. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  993. }
  994. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  995. _teacherDesktopIconInfo.push(
  996. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  997. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  998. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  999. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1000. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1001. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1002. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  1003. )
  1004. }
  1005. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1006. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1007. if (el.Name == '项目管理') {
  1008. el.Name = 'PBL项目'
  1009. }
  1010. return el
  1011. })
  1012. }
  1013. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1014. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1015. return el.Name != '魔盒识字' && el.Name != '24点'
  1016. })
  1017. }
  1018. 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) {
  1019. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1020. }
  1021. //循环创建桌面图标
  1022. if (type == 1) {
  1023. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1024. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1025. _content = $$("div", {
  1026. className: "U_MD_D_KO",
  1027. "onmousedown": U.UF.C.closure(function(obj) {
  1028. //防止拖动图标即打开了桌面应用
  1029. U.MD.D.click(this, obj);
  1030. }, [_studentDesktopIconInfo[i]]),
  1031. "onclick": U.UF.C.closure(function(obj) {
  1032. //防止拖动图标即打开了桌面应用
  1033. U.MD.D.click(this, obj);
  1034. }, [_studentDesktopIconInfo[i]])
  1035. }, _frag); //
  1036. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1037. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1038. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1039. }
  1040. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1041. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1042. _content = $$("div", {
  1043. className: "U_MD_D_KO",
  1044. "onmousedown": U.UF.C.closure(function(obj) {
  1045. //防止拖动图标即打开了桌面应用
  1046. U.MD.D.click(this, obj);
  1047. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1048. "onclick": U.UF.C.closure(function(obj) {
  1049. //防止拖动图标即打开了桌面应用
  1050. U.MD.D.click(this, obj);
  1051. }, [_hkZJLSStudentDeskIconInfo[i]])
  1052. }, _frag); //
  1053. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1054. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1055. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1056. } //
  1057. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1058. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1059. _content = $$("div", {
  1060. className: "U_MD_D_KO",
  1061. "onmousedown": U.UF.C.closure(function(obj) {
  1062. //防止拖动图标即打开了桌面应用
  1063. U.MD.D.click(this, obj);
  1064. }, [_chjyjStudentDeskIconInfo[i]]),
  1065. "onclick": U.UF.C.closure(function(obj) {
  1066. //防止拖动图标即打开了桌面应用
  1067. U.MD.D.click(this, obj);
  1068. }, [_chjyjStudentDeskIconInfo[i]])
  1069. }, _frag); //
  1070. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1071. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1072. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1073. }
  1074. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1075. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1076. _content = $$("div", {
  1077. className: "U_MD_D_KO",
  1078. "onmousedown": U.UF.C.closure(function(obj) {
  1079. //防止拖动图标即打开了桌面应用
  1080. U.MD.D.click(this, obj);
  1081. }, [_szjkyStudentDeskIconInfo[i]]),
  1082. "onclick": U.UF.C.closure(function(obj) {
  1083. //防止拖动图标即打开了桌面应用
  1084. U.MD.D.click(this, obj);
  1085. }, [_szjkyStudentDeskIconInfo[i]])
  1086. }, _frag); //
  1087. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1088. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1089. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1090. }
  1091. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1092. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1093. _content = $$("div", {
  1094. className: "U_MD_D_KO",
  1095. "onmousedown": U.UF.C.closure(function(obj) {
  1096. //防止拖动图标即打开了桌面应用
  1097. U.MD.D.click(this, obj);
  1098. }, [_dseiStudentDeskIconInfo[i]]),
  1099. "onclick": U.UF.C.closure(function(obj) {
  1100. //防止拖动图标即打开了桌面应用
  1101. U.MD.D.click(this, obj);
  1102. }, [_dseiStudentDeskIconInfo[i]])
  1103. }, _frag); //
  1104. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1105. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1106. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1107. }
  1108. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1109. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1110. _content = $$("div", {
  1111. className: "U_MD_D_KO",
  1112. "onmousedown": U.UF.C.closure(function(obj) {
  1113. //防止拖动图标即打开了桌面应用
  1114. U.MD.D.click(this, obj);
  1115. }, [_siesStudentDeskIconInfo[i]]),
  1116. "onclick": U.UF.C.closure(function(obj) {
  1117. //防止拖动图标即打开了桌面应用
  1118. U.MD.D.click(this, obj);
  1119. }, [_siesStudentDeskIconInfo[i]])
  1120. }, _frag); //
  1121. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1122. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1123. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1124. }
  1125. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1126. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1127. _content = $$("div", {
  1128. className: "U_MD_D_KO",
  1129. "onmousedown": U.UF.C.closure(function(obj) {
  1130. //防止拖动图标即打开了桌面应用
  1131. U.MD.D.click(this, obj);
  1132. }, [_hkStudentDeskIconInfo[i]]),
  1133. "onclick": U.UF.C.closure(function(obj) {
  1134. //防止拖动图标即打开了桌面应用
  1135. U.MD.D.click(this, obj);
  1136. }, [_hkStudentDeskIconInfo[i]])
  1137. }, _frag); //
  1138. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1139. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1140. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1141. }
  1142. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1143. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1144. _content = $$("div", {
  1145. className: "U_MD_D_KO",
  1146. "onmousedown": U.UF.C.closure(function(obj) {
  1147. //防止拖动图标即打开了桌面应用
  1148. U.MD.D.click(this, obj);
  1149. }, [_studentDesktopIconInfo[i]]),
  1150. "onclick": U.UF.C.closure(function(obj) {
  1151. //防止拖动图标即打开了桌面应用
  1152. U.MD.D.click(this, obj);
  1153. }, [_studentDesktopIconInfo[i]])
  1154. }, _frag); //
  1155. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1156. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1157. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1158. }
  1159. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1160. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1161. _content = $$("div", {
  1162. className: "U_MD_D_KO",
  1163. "onmousedown": U.UF.C.closure(function(obj) {
  1164. //防止拖动图标即打开了桌面应用
  1165. U.MD.D.click(this, obj);
  1166. }, [_tcStudentDeskIconInfo[i]]),
  1167. "onclick": U.UF.C.closure(function(obj) {
  1168. //防止拖动图标即打开了桌面应用
  1169. U.MD.D.click(this, obj);
  1170. }, [_tcStudentDeskIconInfo[i]])
  1171. }, _frag); //
  1172. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1173. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1174. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1175. }
  1176. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1177. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1178. _content = $$("div", {
  1179. className: "U_MD_D_KO",
  1180. "onmousedown": U.UF.C.closure(function(obj) {
  1181. //防止拖动图标即打开了桌面应用
  1182. U.MD.D.click(this, obj);
  1183. }, [_szscStudentDeskIconInfo[i]]),
  1184. "onclick": U.UF.C.closure(function(obj) {
  1185. //防止拖动图标即打开了桌面应用
  1186. U.MD.D.click(this, obj);
  1187. }, [_szscStudentDeskIconInfo[i]])
  1188. }, _frag); //
  1189. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1190. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1191. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1192. }
  1193. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1194. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1195. _content = $$("div", {
  1196. className: "U_MD_D_KO",
  1197. "onmousedown": U.UF.C.closure(function(obj) {
  1198. //防止拖动图标即打开了桌面应用
  1199. U.MD.D.click(this, obj);
  1200. }, [_studentDesktopIconInfo3[i]]),
  1201. "onclick": U.UF.C.closure(function(obj) {
  1202. //防止拖动图标即打开了桌面应用
  1203. U.MD.D.click(this, obj);
  1204. }, [_studentDesktopIconInfo3[i]])
  1205. }, _frag); //
  1206. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1207. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1208. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1209. }
  1210. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1211. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1212. _content = $$("div", {
  1213. className: "U_MD_D_KO",
  1214. "onmousedown": U.UF.C.closure(function(obj) {
  1215. //防止拖动图标即打开了桌面应用
  1216. U.MD.D.click(this, obj);
  1217. }, [_studentDesktopIconInfo2[i]]),
  1218. "onclick": U.UF.C.closure(function(obj) {
  1219. //防止拖动图标即打开了桌面应用
  1220. U.MD.D.click(this, obj);
  1221. }, [_studentDesktopIconInfo2[i]])
  1222. }, _frag); //
  1223. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1224. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1225. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1226. }
  1227. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1228. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1229. _content = $$("div", {
  1230. className: "U_MD_D_KO",
  1231. "onmousedown": U.UF.C.closure(function(obj) {
  1232. //防止拖动图标即打开了桌面应用
  1233. U.MD.D.click(this, obj);
  1234. }, [_wanketeacherDesktopIconInfo[i]]),
  1235. "onclick": U.UF.C.closure(function(obj) {
  1236. //防止拖动图标即打开了桌面应用
  1237. U.MD.D.click(this, obj);
  1238. }, [_wanketeacherDesktopIconInfo[i]])
  1239. }, _frag); //
  1240. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1241. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1242. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1243. }
  1244. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1245. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1246. _content = $$("div", {
  1247. className: "U_MD_D_KO",
  1248. "onmousedown": U.UF.C.closure(function(obj) {
  1249. //防止拖动图标即打开了桌面应用
  1250. U.MD.D.click(this, obj);
  1251. }, [_wankeAdminDesktopIconInfo[i]]),
  1252. "onclick": U.UF.C.closure(function(obj) {
  1253. //防止拖动图标即打开了桌面应用
  1254. U.MD.D.click(this, obj);
  1255. }, [_wankeAdminDesktopIconInfo[i]])
  1256. }, _frag); //
  1257. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1258. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1259. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1260. }
  1261. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1262. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1263. _content = $$("div", {
  1264. className: "U_MD_D_KO",
  1265. "onmousedown": U.UF.C.closure(function(obj) {
  1266. //防止拖动图标即打开了桌面应用
  1267. U.MD.D.click(this, obj);
  1268. }, [_teacherDesktopIconInfo2[i]]),
  1269. "onclick": U.UF.C.closure(function(obj) {
  1270. //防止拖动图标即打开了桌面应用
  1271. U.MD.D.click(this, obj);
  1272. }, [_teacherDesktopIconInfo2[i]])
  1273. }, _frag); //
  1274. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1275. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1276. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1277. }
  1278. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1279. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1280. _content = $$("div", {
  1281. className: "U_MD_D_KO",
  1282. "onmousedown": U.UF.C.closure(function(obj) {
  1283. //防止拖动图标即打开了桌面应用
  1284. U.MD.D.click(this, obj);
  1285. }, [_lotechTeacherDeskIconInfo[i]]),
  1286. "onclick": U.UF.C.closure(function(obj) {
  1287. //防止拖动图标即打开了桌面应用
  1288. U.MD.D.click(this, obj);
  1289. }, [_lotechTeacherDeskIconInfo[i]])
  1290. }, _frag); //
  1291. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1292. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1293. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1294. }
  1295. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1296. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1297. _content = $$("div", {
  1298. className: "U_MD_D_KO",
  1299. "onmousedown": U.UF.C.closure(function(obj) {
  1300. //防止拖动图标即打开了桌面应用
  1301. U.MD.D.click(this, obj);
  1302. }, [_siesTeacherDeskIconInfo[i]]),
  1303. "onclick": U.UF.C.closure(function(obj) {
  1304. //防止拖动图标即打开了桌面应用
  1305. U.MD.D.click(this, obj);
  1306. }, [_siesTeacherDeskIconInfo[i]])
  1307. }, _frag); //
  1308. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1309. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1310. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1311. }
  1312. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1313. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1314. _content = $$("div", {
  1315. className: "U_MD_D_KO",
  1316. "onmousedown": U.UF.C.closure(function(obj) {
  1317. //防止拖动图标即打开了桌面应用
  1318. U.MD.D.click(this, obj);
  1319. }, [_longhuaTeacherDeskIconInfo[i]]),
  1320. "onclick": U.UF.C.closure(function(obj) {
  1321. //防止拖动图标即打开了桌面应用
  1322. U.MD.D.click(this, obj);
  1323. }, [_longhuaTeacherDeskIconInfo[i]])
  1324. }, _frag); //
  1325. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1326. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1327. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1328. }
  1329. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1330. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1331. _content = $$("div", {
  1332. className: "U_MD_D_KO",
  1333. "onmousedown": U.UF.C.closure(function(obj) {
  1334. //防止拖动图标即打开了桌面应用
  1335. U.MD.D.click(this, obj);
  1336. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1337. "onclick": U.UF.C.closure(function(obj) {
  1338. //防止拖动图标即打开了桌面应用
  1339. U.MD.D.click(this, obj);
  1340. }, [_yunhaiTeacherDeskIconInfo[i]])
  1341. }, _frag); //
  1342. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1343. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1344. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1345. } //_hkStudentDeskIconInfo
  1346. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1347. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1348. _content = $$("div", {
  1349. className: "U_MD_D_KO",
  1350. "onmousedown": U.UF.C.closure(function(obj) {
  1351. //防止拖动图标即打开了桌面应用
  1352. U.MD.D.click(this, obj);
  1353. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1354. "onclick": U.UF.C.closure(function(obj) {
  1355. //防止拖动图标即打开了桌面应用
  1356. U.MD.D.click(this, obj);
  1357. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1358. }, _frag); //
  1359. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1360. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1361. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1362. }
  1363. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1364. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1365. _content = $$("div", {
  1366. className: "U_MD_D_KO",
  1367. "onmousedown": U.UF.C.closure(function(obj) {
  1368. //防止拖动图标即打开了桌面应用
  1369. U.MD.D.click(this, obj);
  1370. }, [_hkTeacherDeskIconInfo[i]]),
  1371. "onclick": U.UF.C.closure(function(obj) {
  1372. //防止拖动图标即打开了桌面应用
  1373. U.MD.D.click(this, obj);
  1374. }, [_hkTeacherDeskIconInfo[i]])
  1375. }, _frag); //
  1376. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1377. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1378. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1379. }
  1380. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1381. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1382. _content = $$("div", {
  1383. className: "U_MD_D_KO",
  1384. "onmousedown": U.UF.C.closure(function(obj) {
  1385. //防止拖动图标即打开了桌面应用
  1386. U.MD.D.click(this, obj);
  1387. }, [_gdjgAdminDeskIconInfo[i]]),
  1388. "onclick": U.UF.C.closure(function(obj) {
  1389. //防止拖动图标即打开了桌面应用
  1390. U.MD.D.click(this, obj);
  1391. }, [_gdjgAdminDeskIconInfo[i]])
  1392. }, _frag); //
  1393. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1394. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1395. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1396. }
  1397. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1398. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1399. _content = $$("div", {
  1400. className: "U_MD_D_KO",
  1401. "onmousedown": U.UF.C.closure(function(obj) {
  1402. //防止拖动图标即打开了桌面应用
  1403. U.MD.D.click(this, obj);
  1404. }, [_gdjgTeacherDeskIconInfo[i]]),
  1405. "onclick": U.UF.C.closure(function(obj) {
  1406. //防止拖动图标即打开了桌面应用
  1407. U.MD.D.click(this, obj);
  1408. }, [_gdjgTeacherDeskIconInfo[i]])
  1409. }, _frag); //
  1410. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1411. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1412. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1413. }
  1414. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1415. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1416. _content = $$("div", {
  1417. className: "U_MD_D_KO",
  1418. "onmousedown": U.UF.C.closure(function(obj) {
  1419. //防止拖动图标即打开了桌面应用
  1420. U.MD.D.click(this, obj);
  1421. }, [_szherTeacherDeskIconInfo[i]]),
  1422. "onclick": U.UF.C.closure(function(obj) {
  1423. //防止拖动图标即打开了桌面应用
  1424. U.MD.D.click(this, obj);
  1425. }, [_szherTeacherDeskIconInfo[i]])
  1426. }, _frag); //
  1427. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1428. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1429. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1430. }
  1431. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1432. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1433. _content = $$("div", {
  1434. className: "U_MD_D_KO",
  1435. "onmousedown": U.UF.C.closure(function(obj) {
  1436. //防止拖动图标即打开了桌面应用
  1437. U.MD.D.click(this, obj);
  1438. }, [_heyuannAdminDeskIconInfo[i]]),
  1439. "onclick": U.UF.C.closure(function(obj) {
  1440. //防止拖动图标即打开了桌面应用
  1441. U.MD.D.click(this, obj);
  1442. }, [_heyuannAdminDeskIconInfo[i]])
  1443. }, _frag); //
  1444. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1445. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1446. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1447. }
  1448. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1449. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1450. _content = $$("div", {
  1451. className: "U_MD_D_KO",
  1452. "onmousedown": U.UF.C.closure(function(obj) {
  1453. //防止拖动图标即打开了桌面应用
  1454. U.MD.D.click(this, obj);
  1455. }, [_heyuanTeacherDeskIconInfo[i]]),
  1456. "onclick": U.UF.C.closure(function(obj) {
  1457. //防止拖动图标即打开了桌面应用
  1458. U.MD.D.click(this, obj);
  1459. }, [_heyuanTeacherDeskIconInfo[i]])
  1460. }, _frag); //
  1461. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1462. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1463. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1464. } //
  1465. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1466. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1467. _content = $$("div", {
  1468. className: "U_MD_D_KO",
  1469. "onmousedown": U.UF.C.closure(function(obj) {
  1470. //防止拖动图标即打开了桌面应用
  1471. U.MD.D.click(this, obj);
  1472. }, [_dseiAdminDeskIconInfo[i]]),
  1473. "onclick": U.UF.C.closure(function(obj) {
  1474. //防止拖动图标即打开了桌面应用
  1475. U.MD.D.click(this, obj);
  1476. }, [_dseiAdminDeskIconInfo[i]])
  1477. }, _frag); //
  1478. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1479. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1480. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1481. }
  1482. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1483. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1484. _content = $$("div", {
  1485. className: "U_MD_D_KO",
  1486. "onmousedown": U.UF.C.closure(function(obj) {
  1487. //防止拖动图标即打开了桌面应用
  1488. U.MD.D.click(this, obj);
  1489. }, [_dseiTeacherDeskIconInfo[i]]),
  1490. "onclick": U.UF.C.closure(function(obj) {
  1491. //防止拖动图标即打开了桌面应用
  1492. U.MD.D.click(this, obj);
  1493. }, [_dseiTeacherDeskIconInfo[i]])
  1494. }, _frag); //
  1495. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1496. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1497. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1498. } //
  1499. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1500. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1501. _content = $$("div", {
  1502. className: "U_MD_D_KO",
  1503. "onmousedown": U.UF.C.closure(function(obj) {
  1504. //防止拖动图标即打开了桌面应用
  1505. U.MD.D.click(this, obj);
  1506. }, [_chjyjAdminDeskIconInfo[i]]),
  1507. "onclick": U.UF.C.closure(function(obj) {
  1508. //防止拖动图标即打开了桌面应用
  1509. U.MD.D.click(this, obj);
  1510. }, [_chjyjAdminDeskIconInfo[i]])
  1511. }, _frag); //
  1512. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1513. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1514. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1515. }//
  1516. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1517. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1518. _content = $$("div", {
  1519. className: "U_MD_D_KO",
  1520. "onmousedown": U.UF.C.closure(function(obj) {
  1521. //防止拖动图标即打开了桌面应用
  1522. U.MD.D.click(this, obj);
  1523. }, [_chjyjTeacherDeskIconInfo[i]]),
  1524. "onclick": U.UF.C.closure(function(obj) {
  1525. //防止拖动图标即打开了桌面应用
  1526. U.MD.D.click(this, obj);
  1527. }, [_chjyjTeacherDeskIconInfo[i]])
  1528. }, _frag); //
  1529. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1530. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1531. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1532. }
  1533. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1534. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1535. _content = $$("div", {
  1536. className: "U_MD_D_KO",
  1537. "onmousedown": U.UF.C.closure(function(obj) {
  1538. //防止拖动图标即打开了桌面应用
  1539. U.MD.D.click(this, obj);
  1540. }, [_szjkyAdminDeskIconInfo[i]]),
  1541. "onclick": U.UF.C.closure(function(obj) {
  1542. //防止拖动图标即打开了桌面应用
  1543. U.MD.D.click(this, obj);
  1544. }, [_szjkyAdminDeskIconInfo[i]])
  1545. }, _frag); //
  1546. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1547. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1548. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1549. }//
  1550. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1551. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1552. _content = $$("div", {
  1553. className: "U_MD_D_KO",
  1554. "onmousedown": U.UF.C.closure(function(obj) {
  1555. //防止拖动图标即打开了桌面应用
  1556. U.MD.D.click(this, obj);
  1557. }, [_szjkyTeacherDeskIconInfo[i]]),
  1558. "onclick": U.UF.C.closure(function(obj) {
  1559. //防止拖动图标即打开了桌面应用
  1560. U.MD.D.click(this, obj);
  1561. }, [_szjkyTeacherDeskIconInfo[i]])
  1562. }, _frag); //
  1563. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1564. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1565. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1566. }
  1567. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1568. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1569. _content = $$("div", {
  1570. className: "U_MD_D_KO",
  1571. "onmousedown": U.UF.C.closure(function(obj) {
  1572. //防止拖动图标即打开了桌面应用
  1573. U.MD.D.click(this, obj);
  1574. }, [_futianAdminDeskIconInfo[i]]),
  1575. "onclick": U.UF.C.closure(function(obj) {
  1576. //防止拖动图标即打开了桌面应用
  1577. U.MD.D.click(this, obj);
  1578. }, [_futianAdminDeskIconInfo[i]])
  1579. }, _frag); //
  1580. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1581. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1582. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1583. }
  1584. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1585. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1586. _content = $$("div", {
  1587. className: "U_MD_D_KO",
  1588. "onmousedown": U.UF.C.closure(function(obj) {
  1589. //防止拖动图标即打开了桌面应用
  1590. U.MD.D.click(this, obj);
  1591. }, [_futianTeacherDeskIconInfo[i]]),
  1592. "onclick": U.UF.C.closure(function(obj) {
  1593. //防止拖动图标即打开了桌面应用
  1594. U.MD.D.click(this, obj);
  1595. }, [_futianTeacherDeskIconInfo[i]])
  1596. }, _frag); //
  1597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1600. }
  1601. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1602. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1603. _content = $$("div", {
  1604. className: "U_MD_D_KO",
  1605. "onmousedown": U.UF.C.closure(function(obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_MingdeTeacherDeskIcon[i]]),
  1609. "onclick": U.UF.C.closure(function(obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_MingdeTeacherDeskIcon[i]])
  1613. }, _frag); //
  1614. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1615. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1616. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1617. }
  1618. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1619. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1620. _content = $$("div", {
  1621. className: "U_MD_D_KO",
  1622. "onmousedown": U.UF.C.closure(function(obj) {
  1623. //防止拖动图标即打开了桌面应用
  1624. U.MD.D.click(this, obj);
  1625. }, [_lhsAdminDesktopIconInfo[i]]),
  1626. "onclick": U.UF.C.closure(function(obj) {
  1627. //防止拖动图标即打开了桌面应用
  1628. U.MD.D.click(this, obj);
  1629. }, [_lhsAdminDesktopIconInfo[i]])
  1630. }, _frag); //
  1631. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1632. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1633. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1634. }
  1635. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1636. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1637. _content = $$("div", {
  1638. className: "U_MD_D_KO",
  1639. "onmousedown": U.UF.C.closure(function(obj) {
  1640. //防止拖动图标即打开了桌面应用
  1641. U.MD.D.click(this, obj);
  1642. }, [_lhsteacherDesktopIconInfo[i]]),
  1643. "onclick": U.UF.C.closure(function(obj) {
  1644. //防止拖动图标即打开了桌面应用
  1645. U.MD.D.click(this, obj);
  1646. }, [_lhsteacherDesktopIconInfo[i]])
  1647. }, _frag); //
  1648. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1649. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1650. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1651. }
  1652. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1653. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1654. _content = $$("div", {
  1655. className: "U_MD_D_KO",
  1656. "onmousedown": U.UF.C.closure(function(obj) {
  1657. //防止拖动图标即打开了桌面应用
  1658. U.MD.D.click(this, obj);
  1659. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1660. "onclick": U.UF.C.closure(function(obj) {
  1661. //防止拖动图标即打开了桌面应用
  1662. U.MD.D.click(this, obj);
  1663. }, [_zhoujiateacherDesktopIconInfo[i]])
  1664. }, _frag); //
  1665. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1666. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1667. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1668. }
  1669. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1670. for (i = 0; i < _hanDeskIcon.length; i++) {
  1671. _content = $$("div", {
  1672. className: "U_MD_D_KO",
  1673. "onmousedown": U.UF.C.closure(function(obj) {
  1674. //防止拖动图标即打开了桌面应用
  1675. U.MD.D.click(this, obj);
  1676. }, [_hanDeskIcon[i]]),
  1677. "onclick": U.UF.C.closure(function(obj) {
  1678. //防止拖动图标即打开了桌面应用
  1679. U.MD.D.click(this, obj);
  1680. }, [_hanDeskIcon[i]])
  1681. }, _frag); //
  1682. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1683. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1684. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1685. }
  1686. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1687. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1688. _content = $$("div", {
  1689. className: "U_MD_D_KO",
  1690. "onmousedown": U.UF.C.closure(function(obj) {
  1691. //防止拖动图标即打开了桌面应用
  1692. U.MD.D.click(this, obj);
  1693. }, [_orgStemDeskIcon[i]]),
  1694. "onclick": U.UF.C.closure(function(obj) {
  1695. //防止拖动图标即打开了桌面应用
  1696. U.MD.D.click(this, obj);
  1697. }, [_orgStemDeskIcon[i]])
  1698. }, _frag); //
  1699. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1700. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1701. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1702. }
  1703. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1704. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1705. _content = $$("div", {
  1706. className: "U_MD_D_KO",
  1707. "onmousedown": U.UF.C.closure(function(obj) {
  1708. //防止拖动图标即打开了桌面应用
  1709. U.MD.D.click(this, obj);
  1710. }, [_szulsDeskIcon[i]]),
  1711. "onclick": U.UF.C.closure(function(obj) {
  1712. //防止拖动图标即打开了桌面应用
  1713. U.MD.D.click(this, obj);
  1714. }, [_szulsDeskIcon[i]])
  1715. }, _frag); //
  1716. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1717. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1718. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1719. }
  1720. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1721. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1722. _content = $$("div", {
  1723. className: "U_MD_D_KO",
  1724. "onmousedown": U.UF.C.closure(function(obj) {
  1725. //防止拖动图标即打开了桌面应用
  1726. U.MD.D.click(this, obj);
  1727. }, [_orgDesktopIconInfo[i]]),
  1728. "onclick": U.UF.C.closure(function(obj) {
  1729. //防止拖动图标即打开了桌面应用
  1730. U.MD.D.click(this, obj);
  1731. }, [_orgDesktopIconInfo[i]])
  1732. }, _frag); //
  1733. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1734. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1735. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1736. }
  1737. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1738. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1739. _content = $$("div", {
  1740. className: "U_MD_D_KO",
  1741. "onmousedown": U.UF.C.closure(function(obj) {
  1742. //防止拖动图标即打开了桌面应用
  1743. U.MD.D.click(this, obj);
  1744. }, [_schoolDesktopIconInfo[i]]),
  1745. "onclick": U.UF.C.closure(function(obj) {
  1746. //防止拖动图标即打开了桌面应用
  1747. U.MD.D.click(this, obj);
  1748. }, [_schoolDesktopIconInfo[i]])
  1749. }, _frag); //
  1750. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1751. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1752. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1753. }
  1754. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1755. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1756. _content = $$("div", {
  1757. className: "U_MD_D_KO",
  1758. "onmousedown": U.UF.C.closure(function(obj) {
  1759. //防止拖动图标即打开了桌面应用
  1760. U.MD.D.click(this, obj);
  1761. }, [_GMteacherDesktopIconInfo[i]]),
  1762. "onclick": U.UF.C.closure(function(obj) {
  1763. //防止拖动图标即打开了桌面应用
  1764. U.MD.D.click(this, obj);
  1765. }, [_GMteacherDesktopIconInfo[i]])
  1766. }, _frag); //
  1767. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1768. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1769. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1770. }
  1771. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1772. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1773. _content = $$("div", {
  1774. className: "U_MD_D_KO",
  1775. "onmousedown": U.UF.C.closure(function(obj) {
  1776. //防止拖动图标即打开了桌面应用
  1777. U.MD.D.click(this, obj);
  1778. }, [_SONGteacherDesktopIconInfo[i]]),
  1779. "onclick": U.UF.C.closure(function(obj) {
  1780. //防止拖动图标即打开了桌面应用
  1781. U.MD.D.click(this, obj);
  1782. }, [_SONGteacherDesktopIconInfo[i]])
  1783. }, _frag); //
  1784. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1785. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1786. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1787. }
  1788. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1789. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1790. _content = $$("div", {
  1791. className: "U_MD_D_KO",
  1792. "onmousedown": U.UF.C.closure(function(obj) {
  1793. //防止拖动图标即打开了桌面应用
  1794. U.MD.D.click(this, obj);
  1795. }, [_GMstudentDesktopIconInfo[i]]),
  1796. "onclick": U.UF.C.closure(function(obj) {
  1797. //防止拖动图标即打开了桌面应用
  1798. U.MD.D.click(this, obj);
  1799. }, [_GMstudentDesktopIconInfo[i]])
  1800. }, _frag); //
  1801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1804. }
  1805. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1806. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1807. _content = $$("div", {
  1808. className: "U_MD_D_KO",
  1809. "onmousedown": U.UF.C.closure(function(obj) {
  1810. //防止拖动图标即打开了桌面应用
  1811. U.MD.D.click(this, obj);
  1812. }, [_tcTeacherDeskIconInfo[i]]),
  1813. "onclick": U.UF.C.closure(function(obj) {
  1814. //防止拖动图标即打开了桌面应用
  1815. U.MD.D.click(this, obj);
  1816. }, [_tcTeacherDeskIconInfo[i]])
  1817. }, _frag); //
  1818. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1819. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1820. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1821. }
  1822. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1823. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1824. _content = $$("div", {
  1825. className: "U_MD_D_KO",
  1826. "onmousedown": U.UF.C.closure(function(obj) {
  1827. //防止拖动图标即打开了桌面应用
  1828. U.MD.D.click(this, obj);
  1829. }, [_tcOrganizerDeskIconInfo[i]]),
  1830. "onclick": U.UF.C.closure(function(obj) {
  1831. //防止拖动图标即打开了桌面应用
  1832. U.MD.D.click(this, obj);
  1833. }, [_tcOrganizerDeskIconInfo[i]])
  1834. }, _frag); //
  1835. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1836. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1837. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1838. }
  1839. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1840. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1841. _content = $$("div", {
  1842. className: "U_MD_D_KO",
  1843. "onmousedown": U.UF.C.closure(function(obj) {
  1844. //防止拖动图标即打开了桌面应用
  1845. U.MD.D.click(this, obj);
  1846. }, [_szscTeacherDeskIconInfo[i]]),
  1847. "onclick": U.UF.C.closure(function(obj) {
  1848. //防止拖动图标即打开了桌面应用
  1849. U.MD.D.click(this, obj);
  1850. }, [_szscTeacherDeskIconInfo[i]])
  1851. }, _frag); //
  1852. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1853. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1854. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1855. }
  1856. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1857. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1858. _content = $$("div", {
  1859. className: "U_MD_D_KO",
  1860. "onmousedown": U.UF.C.closure(function(obj) {
  1861. //防止拖动图标即打开了桌面应用
  1862. U.MD.D.click(this, obj);
  1863. }, [_szscOrganizerDeskIconInfo[i]]),
  1864. "onclick": U.UF.C.closure(function(obj) {
  1865. //防止拖动图标即打开了桌面应用
  1866. U.MD.D.click(this, obj);
  1867. }, [_szscOrganizerDeskIconInfo[i]])
  1868. }, _frag); //
  1869. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1870. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1871. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1872. }
  1873. } else {
  1874. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1875. _content = $$("div", {
  1876. className: "U_MD_D_KO",
  1877. "onmousedown": U.UF.C.closure(function(obj) {
  1878. //防止拖动图标即打开了桌面应用
  1879. U.MD.D.click(this, obj);
  1880. }, [_teacherDesktopIconInfo[i]]),
  1881. "onclick": U.UF.C.closure(function(obj) {
  1882. //防止拖动图标即打开了桌面应用
  1883. U.MD.D.click(this, obj);
  1884. }, [_teacherDesktopIconInfo[i]])
  1885. }, _frag); //
  1886. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1887. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1888. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1889. }
  1890. }
  1891. } else {
  1892. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1893. _content = $$("div", {
  1894. className: "U_MD_D_KO",
  1895. style: { 'width': '124px', 'height': '145px' },
  1896. "onmousedown": U.UF.C.closure(function(obj) {
  1897. //防止拖动图标即打开了桌面应用
  1898. U.MD.D.click(this, obj);
  1899. }, [_easyDesktopIconInfo[i]]),
  1900. "onclick": U.UF.C.closure(function(obj) {
  1901. //防止拖动图标即打开了桌面应用
  1902. U.MD.D.click(this, obj);
  1903. }, [_easyDesktopIconInfo[i]])
  1904. }, _frag); //
  1905. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1906. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1907. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1908. }
  1909. }
  1910. if (type == 1) {
  1911. //加载好后给图标定位
  1912. U.MD.D.iconPostion($(_frag).Child());
  1913. } else {
  1914. //加载好后给图标定位
  1915. U.MD.D.iconPostion2($(_frag).Child());
  1916. }
  1917. //把图标加载到页面
  1918. el.appendChild(_frag);
  1919. }
  1920. /**
  1921. * 显示任务栏
  1922. *
  1923. * @param {element} 桌面元素
  1924. */
  1925. U.MD.D.I.displayTaskbar = function(el) {
  1926. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1927. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1928. //任务栏位置变化
  1929. U.selectEl(el).css({ "bottom": "0px" });
  1930. //桌面位置变话
  1931. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1932. }
  1933. }
  1934. //#region 桌面图标拖动逻辑
  1935. /**
  1936. * 桌面排列图标
  1937. *
  1938. * @param {element} 桌面元素
  1939. * @param {object} 上下相距的距离
  1940. * @param {object} 左右相距的距离
  1941. * @return {object} 命名空间
  1942. */
  1943. U.MD.D.iconPostion = function(childs, top, left) {
  1944. var i; //用于循环处理
  1945. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1946. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1947. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1948. for (i = 0; i < childs.length; i++) {
  1949. //如果竖排top超过了范围处理
  1950. if (top + 95 > US.height - 10) {
  1951. //left超过了页面范围处理,则向上重叠打印处理
  1952. if ((left + 180) > US.width) {
  1953. top -= 110;
  1954. left -= 90;
  1955. }
  1956. //没有超过范围,那么left+90添加到下一个竖排打印
  1957. else {
  1958. left += 90;
  1959. top = 15;
  1960. };
  1961. }
  1962. //给图标的位置赋值
  1963. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1964. if (i < childs.length - 1) {
  1965. //页面图标每次向下加95
  1966. top += 95;
  1967. }
  1968. }
  1969. //返回最后调用的图标的位置
  1970. return [top, left];
  1971. }
  1972. /**
  1973. * 桌面排列图标
  1974. *
  1975. * @param {element} 桌面元素
  1976. * @param {object} 上下相距的距离
  1977. * @param {object} 左右相距的距离
  1978. * @return {object} 命名空间
  1979. */
  1980. U.MD.D.iconPostion2 = function(childs, top, left) {
  1981. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1982. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1983. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1984. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1985. for (i = 0; i < childs.length; i++) {
  1986. //如果竖排top超过了范围处理
  1987. if (left + 150 > US.width - 10) {
  1988. //left超过了页面范围处理,则向上重叠打印处理
  1989. if ((top + 180) > US.Height) {
  1990. top -= 150;
  1991. left -= 150;
  1992. }
  1993. //没有超过范围,那么left+90添加到下一个竖排打印
  1994. else {
  1995. top += 150;
  1996. left = ol;
  1997. };
  1998. }
  1999. //给图标的位置赋值
  2000. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2001. if (i < childs.length - 1) {
  2002. //页面图标每次向下加95
  2003. left += 150;
  2004. }
  2005. }
  2006. //返回最后调用的图标的位置
  2007. return [top, left];
  2008. }
  2009. /**
  2010. * 桌面点击事件逻辑
  2011. *
  2012. * @param {element} 桌面元素
  2013. * @param {object} 上下相距的距离
  2014. * @param {object} 左右相距的距离
  2015. * @return {object} 命名空间
  2016. */
  2017. U.MD.D.click = function(el, obj) {
  2018. var _buttonnumber = event.button; //点击的按钮的事件值
  2019. var _userinfo = US.userInfo;
  2020. U.UF.EV.stopBubble(); //阻止向上冒泡
  2021. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2022. if (_buttonnumber < 2) {
  2023. //如果是click事件的处理
  2024. if (event.type == "click") {
  2025. //如果元素在mousemove事件中没有移动则出发click事件
  2026. if (!U.MD.D.I.IsDrag) {
  2027. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2028. U.alert("请先登录您的账号!");
  2029. setTimeout(() => {
  2030. U.MD.U.L.login();
  2031. }, 2000);
  2032. } else {
  2033. //打开应用处理
  2034. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2035. }
  2036. }
  2037. }
  2038. //如果是mouse事件的处理
  2039. else {
  2040. if (US.Config.type == '1') {
  2041. //拖动处理,添加拖动和拖动结束事件
  2042. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2043. }
  2044. }
  2045. U.MD.D.I.IsDrag = false;
  2046. }
  2047. }
  2048. /**
  2049. * 拖动的处理
  2050. *
  2051. */
  2052. U.MD.D.iconMove = function() {
  2053. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2054. U.MD.D.I.IsDrag = true;
  2055. }
  2056. /**
  2057. * 拖动结束后,这里是定位处理,以网状的形式定位
  2058. *
  2059. * @param {element} 拖动的元素
  2060. * @return {object} 命名空间
  2061. */
  2062. U.MD.D.iconUp = function(el) {
  2063. var _top = 15,
  2064. _left = 20,
  2065. _margin,
  2066. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2067. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2068. if (_positioninfo["OT"] > 15) {
  2069. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2070. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2071. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2072. }
  2073. if (_positioninfo["OL"] > 20) {
  2074. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2075. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2076. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2077. }
  2078. //while循环判断么一个重叠的元素
  2079. do {
  2080. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2081. _top = _positioninfo[0] + 95; //得到定位后的top
  2082. _left = _positioninfo[1]; //得到定位后的left
  2083. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2084. }
  2085. /**
  2086. * 判断拖动后图标是否重叠
  2087. *
  2088. * @param {element} 拖动的元素
  2089. * @param {element} 桌面所有的元素
  2090. * @param {array} 拖动元素的位置
  2091. ----------[0] 上 top
  2092. ----------[1] 左 left
  2093. * @return {object} 命名空间
  2094. */
  2095. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2096. //循环所有的图标
  2097. for (var i = 0; i < childs.length; i++) {
  2098. //判断有没有和该图标诶子重叠的元素
  2099. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2100. return childs[i]; //如果有返回
  2101. }
  2102. }
  2103. }
  2104. //#endregion
  2105. //#endregion
  2106. //#region 桌面应用
  2107. /**
  2108. * 打开应用
  2109. *
  2110. * @param {string} 类型
  2111. -----------------Disk 网盘系统
  2112. -----------------PDisk 学习系统网盘
  2113. -----------------Poto 图片
  2114. -----------------Video 视频
  2115. -----------------Music 音乐
  2116. -----------------Word word
  2117. -----------------Excel excel
  2118. -----------------Txt 记事本
  2119. -----------------PB 学习系统
  2120. -----------------Blog 朋友圈系统
  2121. -----------------FTP ftp系统
  2122. -----------------Group 好友群
  2123. -----------------SY 首页系统
  2124. -----------------Set 个人设置
  2125. -----------------XSet 系统设置
  2126. -----------------App 我们所有的app
  2127. -----------------BC c.1473.cn 平台
  2128. -----------------CWeb d.1473.cn 变成平台
  2129. -----------------其他的外联系统 我们统一用iframe打开
  2130. * @param {array} 类型
  2131. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2132. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2133. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2134. 如果第一个参数为其他,则无第二个参数
  2135. * @returns {array}
  2136. */
  2137. window.addEventListener('message', function(e) { // 监听 message 事件
  2138. // alert(e.data.type);
  2139. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2140. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2141. //3是展示全部阶段 2学生 1老师 4专家
  2142. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2143. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2144. //3是展示全部阶段 2学生 1老师 4专家
  2145. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2146. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2147. //3是展示全部阶段 2学生 1老师 4专家
  2148. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2149. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2150. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2151. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2152. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2153. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2154. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2155. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2156. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2157. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2158. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2159. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2160. //3是展示全部阶段 2学生 1老师 4专家
  2161. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2162. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2163. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2164. U.MD.D.I.selectUser();
  2165. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2166. var _formel = document.getElementById("study");
  2167. U.UF.F.windowZooming(_formel);
  2168. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2169. var _formel = document.getElementById("studyDetail");
  2170. U.UF.F.windowZooming(_formel);
  2171. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2172. var _formel = document.getElementById("studyDetail");
  2173. U.UF.F.windowZooming(_formel);
  2174. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2175. var _formel = document.getElementById("studentStudy");
  2176. U.UF.F.windowZooming(_formel);
  2177. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2178. // var _formel = document.getElementById("study");
  2179. //如果最大化了,那么就把他缩小
  2180. // if (_formel.ismaximize) {
  2181. // return;
  2182. // }
  2183. // U.UF.F.windowZooming(_formel);
  2184. // U.UF.F.topWindow(_formel);
  2185. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2186. // var _formel = document.getElementById("studyDetail");
  2187. //如果最大化了,那么就把他缩小
  2188. // if (_formel.ismaximize) {
  2189. // return;
  2190. // }
  2191. // U.UF.F.windowZooming(_formel);
  2192. // U.UF.F.topWindow(_formel);
  2193. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2194. // var _formel = document.getElementById("studentStudy");
  2195. // if (_formel.ismaximize) {
  2196. // return;
  2197. // }
  2198. // U.UF.F.windowZooming(_formel);
  2199. // U.UF.F.topWindow(_formel);
  2200. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2201. var _formel = document.getElementById("study");
  2202. // if (_formel.ismaximize) {
  2203. // return;
  2204. // }
  2205. // U.UF.F.windowZooming(_formel);
  2206. U.UF.F.topWindow(_formel);
  2207. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2208. var _formel = document.getElementById("studentIndex");
  2209. U.UF.F.windowZooming(_formel);
  2210. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2211. var _formel = document.getElementById("studyDetailS");
  2212. U.UF.F.windowZooming(_formel);
  2213. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2214. var _formel = document.getElementById("studioIndex");
  2215. U.UF.F.windowZooming(_formel);
  2216. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2217. var _formel = document.getElementById("studyDetailStudio");
  2218. U.UF.F.windowZooming(_formel);
  2219. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2220. var _formel = document.getElementById("studyDetailStudio");
  2221. U.UF.F.windowZooming(_formel);
  2222. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2223. var _formel = document.getElementById("studyDetailNT");
  2224. U.UF.F.windowZooming(_formel);
  2225. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2226. var _formel = document.getElementById("studyDetailS");
  2227. U.UF.F.windowZooming(_formel);
  2228. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2229. var _formel = document.getElementById("studyDetailS");
  2230. U.UF.F.topWindow(_formel);
  2231. } else if (e.data.tools && e.data.tools == "1") {
  2232. // U.MD.D.I.openApplication("whiteboard")
  2233. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2234. } else if (e.data.tools && e.data.tools == "2") {
  2235. U.MD.D.I.openApplication("note")
  2236. } else if (e.data.tools && e.data.tools == "3") {
  2237. // U.MD.D.I.openApplication("mind")
  2238. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2239. } else if (e.data.tools && e.data.tools == "4") {
  2240. U.MD.D.I.openApplication("investigation")
  2241. } else if (e.data.tools && e.data.tools == "6") {
  2242. // U.MD.D.I.openApplication("doc")
  2243. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2244. } else if (e.data.tools && e.data.tools == "7") {
  2245. // U.MD.D.I.openApplication("mindNetwork")
  2246. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2247. } else if (e.data.tools && e.data.tools == "8") {
  2248. U.MD.D.I.openApplication("library")
  2249. } else if (e.data.tools && e.data.tools == "17") {
  2250. U.MD.D.I.openApplication("stuLibrary")
  2251. } else if (e.data.tools && e.data.tools == "18") {
  2252. U.MD.D.I.openApplication("train")
  2253. } else if (e.data.tools && e.data.tools == "21") {
  2254. U.MD.D.I.openApplication("program")
  2255. } else if (e.data.tools && e.data.tools == "22") {
  2256. U.MD.D.I.openApplication("AIprogram2")
  2257. } else if (e.data.tools && e.data.tools == "23") {
  2258. U.MD.D.I.openApplication("Pythonprogram")
  2259. } else if (e.data.tools && e.data.tools == "24") {
  2260. U.MD.D.I.openApplication("AIprogram")
  2261. } else if (e.data.tools && e.data.tools == "25") {
  2262. U.MD.D.I.openApplication("sys")
  2263. } else if (e.data.tools && e.data.tools == "26") {
  2264. // U.MD.D.I.openApplication("courseDesign")
  2265. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2266. } else if (e.data.tools && e.data.tools == "31") {
  2267. U.MD.D.I.openApplication("netWorkPanel")
  2268. } else if (e.data.tools && e.data.tools == "32") {
  2269. U.MD.D.I.openApplication("codeEdit")
  2270. } else if (e.data.tools && e.data.tools == "57") {
  2271. U.MD.D.I.openApplication("CocoPi")
  2272. } else if (e.data.tools && e.data.tools == "63") {
  2273. U.MD.D.I.openApplication("Wood")
  2274. } else if (e.data.tools && e.data.tools == "58") {
  2275. U.MD.D.I.openApplication("car")
  2276. } else if (e.data.tools && e.data.tools == "59") {
  2277. U.MD.D.I.openApplication("lineSearch")
  2278. } else if (e.data.tools && e.data.tools == "60") {
  2279. U.MD.D.I.openApplication("deepLearning")
  2280. } else if (e.data.tools && e.data.tools == "61") {
  2281. U.MD.D.I.openApplication("allHistory")
  2282. } else if (e.data.tools && e.data.tools == "28") {
  2283. U.MD.D.I.openApplication("translation")
  2284. } else if (e.data.tools && e.data.tools == "37") {
  2285. U.MD.D.I.openApplication("mohe")
  2286. } else if (e.data.tools && e.data.tools == "38") {
  2287. U.MD.D.I.openApplication("24game")
  2288. } else if (e.data.tools && e.data.tools == "39") {
  2289. U.MD.D.I.openApplication("GeoGebra")
  2290. } else if (e.data.tools && e.data.tools == "43") {
  2291. U.MD.D.I.openApplication("studentEvaluate")
  2292. } else if (e.data.tools && e.data.tools == "44") {
  2293. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2294. } else if (e.data.tools && e.data.tools == "46") {
  2295. U.MD.D.I.openApplication("project")
  2296. } else if (e.data.tools && e.data.tools == "1s") {
  2297. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2298. } else if (e.data.tools && e.data.tools == "3s") {
  2299. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2300. } else if (e.data.tools && e.data.tools == "6s") {
  2301. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2302. } else if (e.data.tools && e.data.tools == "1studio") {
  2303. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2304. } else if (e.data.tools && e.data.tools == "3studio") {
  2305. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2306. } else if (e.data.tools && e.data.tools == "6studio") {
  2307. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2308. } else if (e.data.tools && e.data.tools == "3y") {
  2309. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2310. } else if (e.data.tools && e.data.tools == "1y") {
  2311. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2312. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2313. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2314. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2315. U.MD.D.I.openApplication("AIAnalyse")
  2316. } else if (e.data.tools && e.data.tools == "1teacher") {
  2317. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2318. } else if (e.data.tools && e.data.tools == "3teacher") {
  2319. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2320. } else if (e.data.tools && e.data.tools == "7teacher") {
  2321. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2322. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2323. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2324. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2325. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2326. } else if (e.data.tools && e.data.tools == "1E") {
  2327. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2328. } else if (e.data.tools && e.data.tools == "3E") {
  2329. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2330. } else if (e.data.tools && e.data.tools == "57y") {
  2331. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2332. } else if (e.data.tools && e.data.tools == "57u") {
  2333. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2334. } else if (e.data.tools && e.data.tools == "57teacher") {
  2335. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2336. } else if (e.data.tools && e.data.tools == "64") {
  2337. U.MD.D.I.openApplication("AIChat")
  2338. } else if (e.data.tools && e.data.tools == "66") {
  2339. U.MD.D.I.openApplication("formulaEdi")
  2340. } else if (e.data.tools && e.data.tools == "67") {
  2341. U.MD.D.I.openApplication("molStr")
  2342. } else if (e.data.tools && e.data.tools == "68") {
  2343. U.MD.D.I.openApplication("timeAxis")
  2344. }
  2345. });
  2346. U.MD.D.I.selectUser = function() {
  2347. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2348. if (res.value[0].length > 0) {
  2349. US.userInfo = res.value[0][0];
  2350. $(".userName")[0].innerHTML = US.userInfo.username;
  2351. }
  2352. }, [], { "type": "GET", "withCredentials": true });
  2353. }
  2354. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2355. var _userinfo = US.userInfo, //登录用户信息
  2356. _userid = US.userInfo.userid, //登录用户id
  2357. _oid = _userinfo.organizeid,
  2358. _type = US.userInfo.type,
  2359. _org = US.userInfo.org,
  2360. _role = US.userInfo.role,
  2361. _classId = US.userInfo.classid;
  2362. if (_type == 4) {
  2363. tType = 4
  2364. }
  2365. switch (str) {
  2366. case "studyDetailNT": //无终端模式
  2367. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2368. setTimeout(() => {
  2369. U.MD.U.L.login();
  2370. }, 2000);
  2371. } else {
  2372. _formdiv = new U.UF.UI.form(
  2373. "课程详情",
  2374. $$("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 }), {
  2375. "id": "studyDetailNT",
  2376. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2377. "onresize": function() {}
  2378. }, {
  2379. closecallback: function() {}
  2380. }, { "style": { "height": "36px" } }).form; //创建窗体
  2381. _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); } }
  2382. break;
  2383. }
  2384. case "studyDetail":
  2385. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2386. setTimeout(() => {
  2387. U.MD.U.L.login();
  2388. }, 2000);
  2389. } else {
  2390. _formdiv = new U.UF.UI.form(
  2391. "课程详情",
  2392. $$("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 }), {
  2393. "id": "studyDetail",
  2394. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2395. "onresize": function() {}
  2396. }, {
  2397. closecallback: function() {}
  2398. }, { "style": { "height": "36px" } }).form; //创建窗体
  2399. _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); } }
  2400. break;
  2401. }
  2402. case "studyDetailS":
  2403. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2404. setTimeout(() => {
  2405. U.MD.U.L.login();
  2406. }, 2000);
  2407. } else {
  2408. _formdiv = new U.UF.UI.form(
  2409. "项目详情",
  2410. $$("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 }), {
  2411. "id": "studyDetailS",
  2412. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2413. "onresize": function() {}
  2414. }, {
  2415. closecallback: function() {}
  2416. }, { "style": { "height": "36px" } }).form; //创建窗体
  2417. _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); } }
  2418. break;
  2419. }
  2420. case "studyDetailStudio":
  2421. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2422. setTimeout(() => {
  2423. U.MD.U.L.login();
  2424. }, 2000);
  2425. } else {
  2426. _formdiv = new U.UF.UI.form(
  2427. "工作详情",
  2428. $$("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 }), {
  2429. "id": "studyDetailStudio",
  2430. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2431. "onresize": function() {}
  2432. }, {
  2433. closecallback: function() {}
  2434. }, { "style": { "height": "36px" } }).form; //创建窗体
  2435. _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); } }
  2436. break;
  2437. }
  2438. case "studyDetailS5":
  2439. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2440. setTimeout(() => {
  2441. U.MD.U.L.login();
  2442. }, 2000);
  2443. } else {
  2444. _formdiv = new U.UF.UI.form(
  2445. "项目详情",
  2446. $$("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 }), {
  2447. "id": "studyDetailS",
  2448. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2449. "onresize": function() {}
  2450. }, {
  2451. closecallback: function() {}
  2452. }, { "style": { "height": "36px" } }).form; //创建窗体
  2453. _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); } }
  2454. break;
  2455. }
  2456. case "studyDetailGM":
  2457. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2458. setTimeout(() => {
  2459. U.MD.U.L.login();
  2460. }, 2000);
  2461. } else {
  2462. _formdiv = new U.UF.UI.form(
  2463. "课程详情",
  2464. $$("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 }), {
  2465. "id": "studyDetail",
  2466. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2467. "onresize": function() {}
  2468. }, {
  2469. closecallback: function() {}
  2470. }, { "style": { "height": "36px" } }).form; //创建窗体
  2471. _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); } }
  2472. break;
  2473. }
  2474. case "hanUrl":
  2475. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2476. setTimeout(() => {
  2477. U.MD.U.L.login();
  2478. }, 2000);
  2479. } else {
  2480. _formdiv = new U.UF.UI.form(
  2481. "汉字宫",
  2482. $$("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" }), {
  2483. "id": "hanUrl",
  2484. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2485. "onresize": function() {}
  2486. }, {
  2487. closecallback: function() {}
  2488. }, { "style": { "height": "36px" } }).form; //创建窗体
  2489. _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); } }
  2490. break;
  2491. }
  2492. }
  2493. }
  2494. U.MD.D.I.openApplication = function(str, obj, info) {
  2495. obj = obj || {};
  2496. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2497. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2498. _userinfo = US.userInfo, //登录用户信息
  2499. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2500. _oid = obj.organizeid || _userinfo.organizeid,
  2501. _type = US.userInfo.type,
  2502. _org = US.userInfo.org,
  2503. _role = US.userInfo.role,
  2504. _classId = US.userInfo.classid,
  2505. _TscreenType = 1
  2506. _screenType = 2,
  2507. _SscreenType = 3;
  2508. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2509. return;
  2510. }
  2511. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2512. switch (str) {
  2513. case "studnetProject": //好友打开
  2514. _formdiv = new U.UF.UI.form(
  2515. "我的项目",
  2516. $$("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 }), {
  2517. "id": "studnetProject",
  2518. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2519. "onresize": function() {}
  2520. }, {
  2521. closecallback: function() {}
  2522. }, { "style": { "height": "36px" } }).form; //创建窗体
  2523. _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); } }
  2524. break;
  2525. case "studentEvaluate": //好友打开
  2526. _formdiv = new U.UF.UI.form(
  2527. "我的评价",
  2528. $$("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 }), {
  2529. "id": "studentEvaluate",
  2530. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2531. "onresize": function() {}
  2532. }, {
  2533. closecallback: function() {}
  2534. }, { "style": { "height": "36px" } }).form; //创建窗体
  2535. _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); } }
  2536. break;
  2537. case "my":
  2538. _formdiv = new U.UF.UI.form(
  2539. "我的资料",
  2540. $$("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 }), {
  2541. "id": "my",
  2542. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2543. "onresize": function() {}
  2544. }, {
  2545. closecallback: function() {}
  2546. }, { "style": { "height": "36px" } }).form; //创建窗体
  2547. _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); } }
  2548. break;
  2549. case "program":
  2550. _formdiv = new U.UF.UI.form(
  2551. "编程平台",
  2552. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2553. "id": "program",
  2554. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2555. "onresize": function() {}
  2556. }, {
  2557. closecallback: function() {}
  2558. }, { "style": { "height": "36px" } }).form; //创建窗体
  2559. _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); } }
  2560. break;
  2561. case "library":
  2562. _formdiv = new U.UF.UI.form(
  2563. "素材库",
  2564. $$("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 }), {
  2565. "id": "library",
  2566. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2567. "onresize": function() {}
  2568. }, {
  2569. closecallback: function() {}
  2570. }, { "style": { "height": "36px" } }).form; //创建窗体
  2571. _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); } }
  2572. break;
  2573. case "whiteboard":
  2574. _formdiv = new U.UF.UI.form(
  2575. "电子白板",
  2576. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2577. "id": "whiteboard",
  2578. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2579. "onresize": function() {}
  2580. }, {
  2581. closecallback: function() {}
  2582. }, { "style": { "height": "36px" } }).form; //创建窗体
  2583. _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); } }
  2584. break;
  2585. case "investigation":
  2586. _formdiv = new U.UF.UI.form(
  2587. "问卷调查",
  2588. $$("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 }), {
  2589. "id": "investigation",
  2590. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2591. "onresize": function() {}
  2592. }, {
  2593. closecallback: function() {}
  2594. }, { "style": { "height": "36px" } }).form; //创建窗体
  2595. _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); } }
  2596. break;
  2597. case "note":
  2598. _formdiv = new U.UF.UI.form(
  2599. "便签分类",
  2600. $$("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 }), {
  2601. "id": "note",
  2602. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2603. "onresize": function() {}
  2604. }, {
  2605. closecallback: function() {}
  2606. }, { "style": { "height": "36px" } }).form; //创建窗体
  2607. _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); } }
  2608. break;
  2609. // case "score":
  2610. // _formdiv = new U.UF.UI.form(
  2611. // "量规评分",
  2612. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2613. // "id": "score",
  2614. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2615. // "onresize": function() {}
  2616. // }, {
  2617. // closecallback: function() {}
  2618. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2619. // _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); } }
  2620. // break;
  2621. case "mind":
  2622. _formdiv = new U.UF.UI.form(
  2623. "思维导图",
  2624. $$("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"
  2625. "id": "mind",
  2626. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2627. "onresize": function() {}
  2628. }, {
  2629. closecallback: function() {}
  2630. }, { "style": { "height": "36px" } }).form; //创建窗体
  2631. _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); } }
  2632. break;
  2633. case "doc":
  2634. // U.MD.D.I.isRoom();
  2635. _formdiv = new U.UF.UI.form(
  2636. "协同文档",
  2637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2638. "id": "doc",
  2639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2640. "onresize": function() {}
  2641. }, {
  2642. closecallback: function() {}
  2643. }, { "style": { "height": "36px" } }).form; //创建窗体
  2644. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2645. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2646. // })
  2647. _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); } }
  2648. break;
  2649. case "studentStudy":
  2650. _formdiv = new U.UF.UI.form(
  2651. "课程中心",
  2652. $$("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
  2653. "id": "studentStudy",
  2654. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2655. "onresize": function() {}
  2656. }, {
  2657. closecallback: function() {}
  2658. }, { "style": { "height": "36px" } }).form; //创建窗体
  2659. _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); } }
  2660. break;
  2661. case "train": //好友打开
  2662. _formdiv = new U.UF.UI.form(
  2663. "训练平台",
  2664. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2665. "id": "train",
  2666. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2667. "onresize": function() {}
  2668. }, {
  2669. closecallback: function() {}
  2670. }, { "style": { "height": "36px" } }).form; //创建窗体
  2671. _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); } }
  2672. break;
  2673. case "mindNetwork": //好友打开
  2674. _formdiv = new U.UF.UI.form(
  2675. "思维网格",
  2676. $$("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 }), {
  2677. "id": "mindNetwork",
  2678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2679. "onresize": function() {}
  2680. }, {
  2681. closecallback: function() {}
  2682. }, { "style": { "height": "36px" } }).form; //创建窗体
  2683. _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); } }
  2684. break;
  2685. case "studentClassRoom": //好友打开
  2686. _formdiv = new U.UF.UI.form(
  2687. "实时课堂",
  2688. $$("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 }), {
  2689. "id": "studentClassRoom",
  2690. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2691. "onresize": function() {}
  2692. }, {
  2693. closecallback: function() {}
  2694. }, { "style": { "height": "36px" } }).form; //创建窗体
  2695. _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); } }
  2696. setTimeout(() => {
  2697. U.UF.F.windowZooming(_formdiv)
  2698. }, 0);
  2699. break;
  2700. }
  2701. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2702. switch (str) {
  2703. case "studnetProject": //好友打开
  2704. _formdiv = new U.UF.UI.form(
  2705. "我的项目",
  2706. $$("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 }), {
  2707. "id": "studnetProject",
  2708. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2709. "onresize": function() {}
  2710. }, {
  2711. closecallback: function() {}
  2712. }, { "style": { "height": "36px" } }).form; //创建窗体
  2713. _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); } }
  2714. break;
  2715. case "studentEvaluate": //好友打开
  2716. _formdiv = new U.UF.UI.form(
  2717. "我的评价",
  2718. $$("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 }), {
  2719. "id": "studentEvaluate",
  2720. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2721. "onresize": function() {}
  2722. }, {
  2723. closecallback: function() {}
  2724. }, { "style": { "height": "36px" } }).form; //创建窗体
  2725. _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); } }
  2726. break;
  2727. case "my":
  2728. _formdiv = new U.UF.UI.form(
  2729. "我的资料",
  2730. $$("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 }), {
  2731. "id": "my",
  2732. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2733. "onresize": function() {}
  2734. }, {
  2735. closecallback: function() {}
  2736. }, { "style": { "height": "36px" } }).form; //创建窗体
  2737. _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); } }
  2738. break;
  2739. case "program":
  2740. _formdiv = new U.UF.UI.form(
  2741. "编程平台",
  2742. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2743. "id": "program",
  2744. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2745. "onresize": function() {}
  2746. }, {
  2747. closecallback: function() {}
  2748. }, { "style": { "height": "36px" } }).form; //创建窗体
  2749. _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); } }
  2750. break;
  2751. case "library":
  2752. _formdiv = new U.UF.UI.form(
  2753. "素材库",
  2754. $$("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 }), {
  2755. "id": "library",
  2756. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2757. "onresize": function() {}
  2758. }, {
  2759. closecallback: function() {}
  2760. }, { "style": { "height": "36px" } }).form; //创建窗体
  2761. _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); } }
  2762. break;
  2763. case "whiteboard":
  2764. _formdiv = new U.UF.UI.form(
  2765. "电子白板",
  2766. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2767. "id": "whiteboard",
  2768. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2769. "onresize": function() {}
  2770. }, {
  2771. closecallback: function() {}
  2772. }, { "style": { "height": "36px" } }).form; //创建窗体
  2773. _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); } }
  2774. break;
  2775. case "investigation":
  2776. _formdiv = new U.UF.UI.form(
  2777. "问卷调查",
  2778. $$("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 }), {
  2779. "id": "investigation",
  2780. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2781. "onresize": function() {}
  2782. }, {
  2783. closecallback: function() {}
  2784. }, { "style": { "height": "36px" } }).form; //创建窗体
  2785. _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); } }
  2786. break;
  2787. case "note":
  2788. _formdiv = new U.UF.UI.form(
  2789. "便签分类",
  2790. $$("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 }), {
  2791. "id": "note",
  2792. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2793. "onresize": function() {}
  2794. }, {
  2795. closecallback: function() {}
  2796. }, { "style": { "height": "36px" } }).form; //创建窗体
  2797. _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); } }
  2798. break;
  2799. // case "score":
  2800. // _formdiv = new U.UF.UI.form(
  2801. // "量规评分",
  2802. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2803. // "id": "score",
  2804. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2805. // "onresize": function() {}
  2806. // }, {
  2807. // closecallback: function() {}
  2808. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2809. // _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); } }
  2810. // break;
  2811. case "mind":
  2812. _formdiv = new U.UF.UI.form(
  2813. "思维导图",
  2814. $$("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"
  2815. "id": "mind",
  2816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2817. "onresize": function() {}
  2818. }, {
  2819. closecallback: function() {}
  2820. }, { "style": { "height": "36px" } }).form; //创建窗体
  2821. _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); } }
  2822. break;
  2823. case "doc":
  2824. // U.MD.D.I.isRoom();
  2825. _formdiv = new U.UF.UI.form(
  2826. "协同文档",
  2827. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2828. "id": "doc",
  2829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2830. "onresize": function() {}
  2831. }, {
  2832. closecallback: function() {}
  2833. }, { "style": { "height": "36px" } }).form; //创建窗体
  2834. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2835. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2836. })
  2837. _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); } }
  2838. break;
  2839. case "train": //好友打开
  2840. _formdiv = new U.UF.UI.form(
  2841. "训练平台",
  2842. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2843. "id": "train",
  2844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2845. "onresize": function() {}
  2846. }, {
  2847. closecallback: function() {}
  2848. }, { "style": { "height": "36px" } }).form; //创建窗体
  2849. _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); } }
  2850. break;
  2851. case "studentStudy":
  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": 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
  2855. "id": "studentStudy",
  2856. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2862. break;
  2863. case "mindNetwork": //好友打开
  2864. _formdiv = new U.UF.UI.form(
  2865. "思维网格",
  2866. $$("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 }), {
  2867. "id": "mindNetwork",
  2868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2869. "onresize": function() {}
  2870. }, {
  2871. closecallback: function() {}
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. _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); } }
  2874. break;
  2875. case "studentClassRoom": //好友打开
  2876. _formdiv = new U.UF.UI.form(
  2877. "实时课堂",
  2878. $$("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 }), {
  2879. "id": "studentClassRoom",
  2880. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2881. "onresize": function() {}
  2882. }, {
  2883. closecallback: function() {}
  2884. }, { "style": { "height": "36px" } }).form; //创建窗体
  2885. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2886. setTimeout(() => {
  2887. U.UF.F.windowZooming(_formdiv)
  2888. }, 0);
  2889. break;
  2890. }
  2891. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2892. //选择应用处理
  2893. switch (str) {
  2894. case "project": //好友打开
  2895. _formdiv = new U.UF.UI.form(
  2896. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2897. $$("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 }), {
  2898. "id": "project",
  2899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2900. "onresize": function() {}
  2901. }, {
  2902. closecallback: function() {}
  2903. }, { "style": { "height": "36px" } }).form; //创建窗体
  2904. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2905. break;
  2906. case "student":
  2907. _formdiv = new U.UF.UI.form(
  2908. "学生管理",
  2909. $$("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 }), {
  2910. "id": "student",
  2911. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2912. "onresize": function() {}
  2913. }, {
  2914. closecallback: function() {}
  2915. }, { "style": { "height": "36px" } }).form; //创建窗体
  2916. _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); } }
  2917. break;
  2918. case "evaluate":
  2919. _formdiv = new U.UF.UI.form(
  2920. "学生评价",
  2921. $$("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 }), {
  2922. "id": "evaluate",
  2923. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2924. "onresize": function() {}
  2925. }, {
  2926. closecallback: function() {}
  2927. }, { "style": { "height": "36px" } }).form; //创建窗体
  2928. _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); } }
  2929. break;
  2930. case "sys":
  2931. _formdiv = new U.UF.UI.form(
  2932. "目标管理",
  2933. $$("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 }), {
  2934. "id": "sys",
  2935. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2936. "onresize": function() {}
  2937. }, {
  2938. closecallback: function() {}
  2939. }, { "style": { "height": "36px" } }).form; //创建窗体
  2940. _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); } }
  2941. break;
  2942. case "courseDesign":
  2943. _formdiv = new U.UF.UI.form(
  2944. "项目设计",
  2945. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2946. "id": "courseDesign",
  2947. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2948. "onresize": function() {}
  2949. }, {
  2950. closecallback: function() {}
  2951. }, { "style": { "height": "36px" } }).form; //创建窗体
  2952. _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); } }
  2953. break;
  2954. case "program":
  2955. _formdiv = new U.UF.UI.form(
  2956. "编程平台",
  2957. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2958. "id": "program",
  2959. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2960. "onresize": function() {}
  2961. }, {
  2962. closecallback: function() {}
  2963. }, { "style": { "height": "36px" } }).form; //创建窗体
  2964. _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); } }
  2965. break;
  2966. case "class":
  2967. _formdiv = new U.UF.UI.form(
  2968. "班级管理",
  2969. $$("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 }), {
  2970. "id": "class",
  2971. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2972. "onresize": function() {}
  2973. }, {
  2974. closecallback: function() {}
  2975. }, { "style": { "height": "36px" } }).form; //创建窗体
  2976. _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); } }
  2977. break;
  2978. case "Grade":
  2979. _formdiv = new U.UF.UI.form(
  2980. "年级管理",
  2981. $$("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 }), {
  2982. "id": "Grade",
  2983. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2984. "onresize": function() {}
  2985. }, {
  2986. closecallback: function() {}
  2987. }, { "style": { "height": "36px" } }).form; //创建窗体
  2988. _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); } }
  2989. break;
  2990. case "teacherOffice":
  2991. _formdiv = new U.UF.UI.form(
  2992. "教研室",
  2993. $$("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 }), {
  2994. "id": "teacherOffice",
  2995. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2996. "onresize": function() {}
  2997. }, {
  2998. closecallback: function() {}
  2999. }, { "style": { "height": "36px" } }).form; //创建窗体
  3000. _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); } }
  3001. break;
  3002. case "my":
  3003. _formdiv = new U.UF.UI.form(
  3004. "我的资料",
  3005. $$("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 }), {
  3006. "id": "my",
  3007. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3008. "onresize": function() {}
  3009. }, {
  3010. closecallback: function() {}
  3011. }, { "style": { "height": "36px" } }).form; //创建窗体
  3012. _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); } }
  3013. break;
  3014. case "notice":
  3015. _formdiv = new U.UF.UI.form(
  3016. "通知公告",
  3017. $$("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 }), {
  3018. "id": "notice",
  3019. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3020. "onresize": function() {}
  3021. }, {
  3022. closecallback: function() {}
  3023. }, { "style": { "height": "36px" } }).form; //创建窗体
  3024. _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); } }
  3025. break;
  3026. case "library":
  3027. _formdiv = new U.UF.UI.form(
  3028. "素材库",
  3029. $$("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 }), {
  3030. "id": "library",
  3031. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3032. "onresize": function() {}
  3033. }, {
  3034. closecallback: function() {}
  3035. }, { "style": { "height": "36px" } }).form; //创建窗体
  3036. _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); } }
  3037. break;
  3038. case "whiteboard":
  3039. _formdiv = new U.UF.UI.form(
  3040. "电子白板",
  3041. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3042. "id": "whiteboard",
  3043. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3044. "onresize": function() {}
  3045. }, {
  3046. closecallback: function() {}
  3047. }, { "style": { "height": "36px" } }).form; //创建窗体
  3048. _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); } }
  3049. break;
  3050. case "investigation":
  3051. _formdiv = new U.UF.UI.form(
  3052. "问卷调查",
  3053. $$("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 }), {
  3054. "id": "investigation",
  3055. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3056. "onresize": function() {}
  3057. }, {
  3058. closecallback: function() {}
  3059. }, { "style": { "height": "36px" } }).form; //创建窗体
  3060. _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); } }
  3061. break;
  3062. case "note":
  3063. _formdiv = new U.UF.UI.form(
  3064. "便签分类",
  3065. $$("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 }), {
  3066. "id": "note",
  3067. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3068. "onresize": function() {}
  3069. }, {
  3070. closecallback: function() {}
  3071. }, { "style": { "height": "36px" } }).form; //创建窗体
  3072. _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); } }
  3073. break;
  3074. // case "score":
  3075. // _formdiv = new U.UF.UI.form(
  3076. // "量规评分",
  3077. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3078. // "id": "score",
  3079. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3080. // "onresize": function() {}
  3081. // }, {
  3082. // closecallback: function() {}
  3083. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3084. // _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); } }
  3085. // break;
  3086. case "mind":
  3087. _formdiv = new U.UF.UI.form(
  3088. "思维导图",
  3089. $$("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"
  3090. "id": "mind",
  3091. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3092. "onresize": function() {}
  3093. }, {
  3094. closecallback: function() {}
  3095. }, { "style": { "height": "36px" } }).form; //创建窗体
  3096. _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); } }
  3097. break;
  3098. case "doc":
  3099. // U.MD.D.I.isRoom();
  3100. _formdiv = new U.UF.UI.form(
  3101. "协同文档",
  3102. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3103. "id": "doc",
  3104. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3105. "onresize": function() {}
  3106. }, {
  3107. closecallback: function() {}
  3108. }, { "style": { "height": "36px" } }).form; //创建窗体
  3109. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3110. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3111. })
  3112. _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); } }
  3113. break;
  3114. case "study":
  3115. _formdiv = new U.UF.UI.form(
  3116. "课程中心",
  3117. $$("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
  3118. "id": "study",
  3119. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3120. "onresize": function() {}
  3121. }, {
  3122. closecallback: function() {}
  3123. }, { "style": { "height": "36px" } }).form; //创建窗体
  3124. _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); } }
  3125. break;
  3126. case "mindNetwork": //好友打开
  3127. _formdiv = new U.UF.UI.form(
  3128. "思维网格",
  3129. $$("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 }), {
  3130. "id": "mindNetwork",
  3131. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3132. "onresize": function() {}
  3133. }, {
  3134. closecallback: function() {}
  3135. }, { "style": { "height": "36px" } }).form; //创建窗体
  3136. _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); } }
  3137. break;
  3138. case "train": //好友打开
  3139. _formdiv = new U.UF.UI.form(
  3140. "训练平台",
  3141. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3142. "id": "mindNetwork",
  3143. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3144. "onresize": function() {}
  3145. }, {
  3146. closecallback: function() {}
  3147. }, { "style": { "height": "36px" } }).form; //创建窗体
  3148. _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); } }
  3149. break;
  3150. case "teacherClassRoom": //好友打开
  3151. _formdiv = new U.UF.UI.form(
  3152. "实时课堂",
  3153. $$("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 }), {
  3154. "id": "teacherClassRoom",
  3155. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3156. "onresize": function() {}
  3157. }, {
  3158. closecallback: function() {}
  3159. }, { "style": { "height": "36px" } }).form; //创建窗体
  3160. _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); } }
  3161. setTimeout(() => {
  3162. U.UF.F.windowZooming(_formdiv)
  3163. }, 0);
  3164. break;
  3165. }
  3166. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3167. switch (str) {
  3168. case "project": //好友打开
  3169. _formdiv = new U.UF.UI.form(
  3170. "课程管理",
  3171. $$("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 }), {
  3172. "id": "project",
  3173. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3174. "onresize": function() {}
  3175. }, {
  3176. closecallback: function() {}
  3177. }, { "style": { "height": "36px" } }).form; //创建窗体
  3178. _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); } }
  3179. break;
  3180. case "evaluate":
  3181. _formdiv = new U.UF.UI.form(
  3182. "学生评价",
  3183. $$("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 }), {
  3184. "id": "evaluate",
  3185. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3186. "onresize": function() {}
  3187. }, {
  3188. closecallback: function() {}
  3189. }, { "style": { "height": "36px" } }).form; //创建窗体
  3190. _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); } }
  3191. break;
  3192. case "notice":
  3193. _formdiv = new U.UF.UI.form(
  3194. "通知公告",
  3195. $$("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 }), {
  3196. "id": "notice",
  3197. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3198. "onresize": function() {}
  3199. }, {
  3200. closecallback: function() {}
  3201. }, { "style": { "height": "36px" } }).form; //创建窗体
  3202. _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); } }
  3203. break;
  3204. case "stuLibrary":
  3205. _formdiv = new U.UF.UI.form(
  3206. "学习资料",
  3207. $$("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 }), {
  3208. "id": "stuLibrary",
  3209. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3210. "onresize": function() {}
  3211. }, {
  3212. closecallback: function() {}
  3213. }, { "style": { "height": "36px" } }).form; //创建窗体
  3214. _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); } }
  3215. break;
  3216. case "program":
  3217. _formdiv = new U.UF.UI.form(
  3218. "编程平台",
  3219. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3220. "id": "program",
  3221. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3222. "onresize": function() {}
  3223. }, {
  3224. closecallback: function() {}
  3225. }, { "style": { "height": "36px" } }).form; //创建窗体
  3226. _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); } }
  3227. break;
  3228. case "whiteboard":
  3229. _formdiv = new U.UF.UI.form(
  3230. "电子白板",
  3231. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3232. "id": "whiteboard",
  3233. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3234. "onresize": function() {}
  3235. }, {
  3236. closecallback: function() {}
  3237. }, { "style": { "height": "36px" } }).form; //创建窗体
  3238. _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); } }
  3239. break;
  3240. case "investigation":
  3241. _formdiv = new U.UF.UI.form(
  3242. "问卷调查",
  3243. $$("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 }), {
  3244. "id": "investigation",
  3245. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3246. "onresize": function() {}
  3247. }, {
  3248. closecallback: function() {}
  3249. }, { "style": { "height": "36px" } }).form; //创建窗体
  3250. _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); } }
  3251. break;
  3252. case "mind":
  3253. _formdiv = new U.UF.UI.form(
  3254. "思维导图",
  3255. $$("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"
  3256. "id": "mind",
  3257. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3258. "onresize": function() {}
  3259. }, {
  3260. closecallback: function() {}
  3261. }, { "style": { "height": "36px" } }).form; //创建窗体
  3262. _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); } }
  3263. break;
  3264. case "doc":
  3265. // U.MD.D.I.isRoom();
  3266. _formdiv = new U.UF.UI.form(
  3267. "协同文档",
  3268. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3269. "id": "doc",
  3270. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function() {}
  3272. }, {
  3273. closecallback: function() {}
  3274. }, { "style": { "height": "36px" } }).form; //创建窗体
  3275. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3276. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3277. })
  3278. _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); } }
  3279. break;
  3280. case "study":
  3281. _formdiv = new U.UF.UI.form(
  3282. "课程中心",
  3283. $$("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
  3284. "id": "study",
  3285. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3286. "onresize": function() {}
  3287. }, {
  3288. closecallback: function() {}
  3289. }, { "style": { "height": "36px" } }).form; //创建窗体
  3290. _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); } }
  3291. break;
  3292. case "mindNetwork": //好友打开
  3293. _formdiv = new U.UF.UI.form(
  3294. "思维网格",
  3295. $$("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 }), {
  3296. "id": "mindNetwork",
  3297. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3298. "onresize": function() {}
  3299. }, {
  3300. closecallback: function() {}
  3301. }, { "style": { "height": "36px" } }).form; //创建窗体
  3302. _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); } }
  3303. break;
  3304. case "train": //好友打开
  3305. _formdiv = new U.UF.UI.form(
  3306. "训练平台",
  3307. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3308. "id": "train",
  3309. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3310. "onresize": function() {}
  3311. }, {
  3312. closecallback: function() {}
  3313. }, { "style": { "height": "36px" } }).form; //创建窗体
  3314. _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); } }
  3315. break;
  3316. case "sys":
  3317. _formdiv = new U.UF.UI.form(
  3318. "目标管理",
  3319. $$("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 }), {
  3320. "id": "sys",
  3321. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3322. "onresize": function() {}
  3323. }, {
  3324. closecallback: function() {}
  3325. }, { "style": { "height": "36px" } }).form; //创建窗体
  3326. _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); } }
  3327. break;
  3328. case "courseDesign":
  3329. _formdiv = new U.UF.UI.form(
  3330. "项目设计",
  3331. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3332. "id": "courseDesign",
  3333. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3334. "onresize": function() {}
  3335. }, {
  3336. closecallback: function() {}
  3337. }, { "style": { "height": "36px" } }).form; //创建窗体
  3338. _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); } }
  3339. break;
  3340. }
  3341. } else if (!_type) {
  3342. switch (str) {
  3343. case "my":
  3344. _formdiv = new U.UF.UI.form(
  3345. "我的资料",
  3346. $$("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 }), {
  3347. "id": "my",
  3348. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3349. "onresize": function() {}
  3350. }, {
  3351. closecallback: function() {}
  3352. }, { "style": { "height": "36px" } }).form; //创建窗体
  3353. _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); } }
  3354. break;
  3355. }
  3356. }
  3357. switch (str) {
  3358. // AIprogram2 AI体验 aihub.cocorobo.cn
  3359. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3360. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3361. case "formulaEdi": //公式编辑
  3362. _formdiv = new U.UF.UI.form(
  3363. "公式编辑",
  3364. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3365. "id": "formulaEdi",
  3366. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3367. "onresize": function() {}
  3368. }, {
  3369. closecallback: function() {}
  3370. }, { "style": { "height": "36px" } }).form; //创建窗体
  3371. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3372. break;
  3373. case "molStr": //分子结构
  3374. _formdiv = new U.UF.UI.form(
  3375. "分子结构",
  3376. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3377. "id": "molStr",
  3378. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3379. "onresize": function() {}
  3380. }, {
  3381. closecallback: function() {}
  3382. }, { "style": { "height": "36px" } }).form; //创建窗体
  3383. _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); } }
  3384. break;
  3385. case "timeAxis": //时间轴
  3386. _formdiv = new U.UF.UI.form(
  3387. "时间轴",
  3388. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3389. "id": "timeAxis",
  3390. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3391. "onresize": function() {}
  3392. }, {
  3393. closecallback: function() {}
  3394. }, { "style": { "height": "36px" } }).form; //创建窗体
  3395. _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); } }
  3396. break;
  3397. case "AIprogram2": //AI体验
  3398. _formdiv = new U.UF.UI.form(
  3399. "AI体验",
  3400. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3401. "id": "AIprogram2",
  3402. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3403. "onresize": function() {}
  3404. }, {
  3405. closecallback: function() {}
  3406. }, { "style": { "height": "36px" } }).form; //创建窗体
  3407. _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); } }
  3408. break;
  3409. case "Pythonprogram": //python编程
  3410. _formdiv = new U.UF.UI.form(
  3411. "Python编程",
  3412. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3413. "id": "Pythonprogram",
  3414. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3415. "onresize": function() {}
  3416. }, {
  3417. closecallback: function() {}
  3418. }, { "style": { "height": "36px" } }).form; //创建窗体
  3419. _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); } }
  3420. break;
  3421. case "AIprogram": //ai编程
  3422. _formdiv = new U.UF.UI.form(
  3423. "AI编程平台",
  3424. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3425. "id": "AIprogram",
  3426. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3427. "onresize": function() {}
  3428. }, {
  3429. closecallback: function() {}
  3430. }, { "style": { "height": "36px" } }).form; //创建窗体
  3431. _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); } }
  3432. break;
  3433. case "CocoPi": //CocoPi
  3434. _formdiv = new U.UF.UI.form(
  3435. "CocoPi",
  3436. $$("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" }), {
  3437. "id": "CocoPi",
  3438. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3439. "onresize": function() {}
  3440. }, {
  3441. closecallback: function() {}
  3442. }, { "style": { "height": "36px" } }).form; //创建窗体
  3443. _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); } }
  3444. break;
  3445. case "Wood": //Wood
  3446. _formdiv = new U.UF.UI.form(
  3447. "海龟编程",
  3448. $$("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/" }), {
  3449. "id": "Wood",
  3450. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3451. "onresize": function() {}
  3452. }, {
  3453. closecallback: function() {}
  3454. }, { "style": { "height": "36px" } }).form; //创建窗体
  3455. _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); } }
  3456. break;
  3457. case "car": //模拟驾驶
  3458. _formdiv = new U.UF.UI.form(
  3459. "模拟驾驶",
  3460. $$("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/" }), {
  3461. "id": "car",
  3462. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3463. "onresize": function() {}
  3464. }, {
  3465. closecallback: function() {}
  3466. }, { "style": { "height": "36px" } }).form; //创建窗体
  3467. _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); } }
  3468. break;
  3469. case "lineSearch": //路径搜索
  3470. _formdiv = new U.UF.UI.form(
  3471. "路径搜索",
  3472. $$("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/" }), {
  3473. "id": "lineSearch",
  3474. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3475. "onresize": function() {}
  3476. }, {
  3477. closecallback: function() {}
  3478. }, { "style": { "height": "36px" } }).form; //创建窗体
  3479. _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); } }
  3480. break;
  3481. case "deepLearning": //深度学习
  3482. _formdiv = new U.UF.UI.form(
  3483. "深度学习",
  3484. $$("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/#" }), {
  3485. "id": "deepLearning",
  3486. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3487. "onresize": function() {}
  3488. }, {
  3489. closecallback: function() {}
  3490. }, { "style": { "height": "36px" } }).form; //创建窗体
  3491. _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); } }
  3492. break;
  3493. case "allHistory": //深度学习
  3494. _formdiv = new U.UF.UI.form(
  3495. "全历史",
  3496. $$("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/" }), {
  3497. "id": "allHistory",
  3498. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3499. "onresize": function() {}
  3500. }, {
  3501. closecallback: function() {}
  3502. }, { "style": { "height": "36px" } }).form; //创建窗体
  3503. _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); } }
  3504. break;
  3505. case "chatPDF": //ai编程
  3506. _formdiv = new U.UF.UI.form(
  3507. "chatPDF",
  3508. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3509. "id": "chatPDF",
  3510. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3511. "onresize": function() {}
  3512. }, {
  3513. closecallback: function() {}
  3514. }, { "style": { "height": "36px" } }).form; //创建窗体
  3515. _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); } }
  3516. break;
  3517. case "resources": //国家教育
  3518. _formdiv = new U.UF.UI.form(
  3519. "国家教育",
  3520. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3521. "id": "resources",
  3522. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3523. "onresize": function() {}
  3524. }, {
  3525. closecallback: function() {}
  3526. }, { "style": { "height": "36px" } }).form; //创建窗体
  3527. _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); } }
  3528. break;
  3529. case "codeEdit": //源码编辑
  3530. _formdiv = new U.UF.UI.form(
  3531. "源码编辑",
  3532. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3533. "id": "codeEdit",
  3534. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3535. "onresize": function() {}
  3536. }, {
  3537. closecallback: function() {}
  3538. }, { "style": { "height": "36px" } }).form; //创建窗体
  3539. _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); } }
  3540. break; //
  3541. case "MindMap": //MindMap
  3542. _formdiv = new U.UF.UI.form(
  3543. "MindMap",
  3544. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3545. "id": "MindMap",
  3546. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3547. "onresize": function() {}
  3548. }, {
  3549. closecallback: function() {}
  3550. }, { "style": { "height": "36px" } }).form; //创建窗体
  3551. _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); } }
  3552. break;
  3553. case "netWorkPanel": //netWorkPanel
  3554. _formdiv = new U.UF.UI.form(
  3555. "netWorkPanel",
  3556. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3557. "id": "netWorkPanel",
  3558. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3559. "onresize": function() {}
  3560. }, {
  3561. closecallback: function() {}
  3562. }, { "style": { "height": "36px" } }).form; //创建窗体
  3563. _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); } }
  3564. break;
  3565. case "GeoGebra": //GeoGebra
  3566. _formdiv = new U.UF.UI.form(
  3567. "GeoGebra",
  3568. $$("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" }), {
  3569. "id": "GeoGebra",
  3570. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function() {}
  3572. }, {
  3573. closecallback: function() {}
  3574. }, { "style": { "height": "36px" } }).form; //创建窗体
  3575. _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); } }
  3576. break;
  3577. case "translation": //翻译
  3578. _formdiv = new U.UF.UI.form(
  3579. "翻译",
  3580. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3581. "id": "translation",
  3582. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3583. "onresize": function() {}
  3584. }, {
  3585. closecallback: function() {}
  3586. }, { "style": { "height": "36px" } }).form; //创建窗体
  3587. _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); } }
  3588. break;
  3589. case "mohe": //魔盒
  3590. _formdiv = new U.UF.UI.form(
  3591. "魔盒识字",
  3592. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3593. "id": "mohe",
  3594. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3595. "onresize": function() {}
  3596. }, {
  3597. closecallback: function() {}
  3598. }, { "style": { "height": "36px" } }).form; //创建窗体
  3599. _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); } }
  3600. break;
  3601. case "24game": //24点
  3602. _formdiv = new U.UF.UI.form(
  3603. "24点",
  3604. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3605. "id": "24game",
  3606. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3607. "onresize": function() {}
  3608. }, {
  3609. closecallback: function() {}
  3610. }, { "style": { "height": "36px" } }).form; //创建窗体
  3611. _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); } }
  3612. break;
  3613. case "case":
  3614. _formdiv = new U.UF.UI.form(
  3615. "课程进展",
  3616. $$("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 }), {
  3617. "id": "case",
  3618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3619. "onresize": function() {}
  3620. }, {
  3621. closecallback: function() {}
  3622. }, { "style": { "height": "36px" } }).form; //创建窗体
  3623. _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); } }
  3624. break;
  3625. case "snf":
  3626. _formdiv = new U.UF.UI.form(
  3627. "赛诺梵",
  3628. $$("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" }), {
  3629. "id": "snf",
  3630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3631. "onresize": function() {}
  3632. }, {
  3633. closecallback: function() {}
  3634. }, { "style": { "height": "36px" } }).form; //创建窗体
  3635. _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); } }
  3636. break;
  3637. case "hanFamily":
  3638. _formdiv = new U.UF.UI.form(
  3639. "汉字家族",
  3640. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3641. "id": "hanFamily",
  3642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3643. "onresize": function() {}
  3644. }, {
  3645. closecallback: function() {}
  3646. }, { "style": { "height": "36px" } }).form; //创建窗体
  3647. _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); } }
  3648. break;
  3649. case "hanClassics":
  3650. _formdiv = new U.UF.UI.form(
  3651. "国学经典",
  3652. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3653. "id": "hanClassics",
  3654. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3655. "onresize": function() {}
  3656. }, {
  3657. closecallback: function() {}
  3658. }, { "style": { "height": "36px" } }).form; //创建窗体
  3659. _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); } }
  3660. break;
  3661. case "hanTraining":
  3662. _formdiv = new U.UF.UI.form(
  3663. "笔画训练",
  3664. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3665. "id": "hanTraining",
  3666. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3667. "onresize": function() {}
  3668. }, {
  3669. closecallback: function() {}
  3670. }, { "style": { "height": "36px" } }).form; //创建窗体
  3671. _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); } }
  3672. break;
  3673. case "hanClass":
  3674. _formdiv = new U.UF.UI.form(
  3675. "书法课堂",
  3676. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3677. "id": "hanClass",
  3678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function() {}
  3680. }, {
  3681. closecallback: function() {}
  3682. }, { "style": { "height": "36px" } }).form; //创建窗体
  3683. _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); } }
  3684. break;
  3685. case "han":
  3686. _formdiv = new U.UF.UI.form(
  3687. "汉字宫",
  3688. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3689. "id": "han",
  3690. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3691. "onresize": function() {}
  3692. }, {
  3693. closecallback: function() {}
  3694. }, { "style": { "height": "36px" } }).form; //创建窗体
  3695. _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); } }
  3696. break;
  3697. case "projectGM": //课程管理
  3698. _formdiv = new U.UF.UI.form(
  3699. "课程管理",
  3700. $$("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 }), {
  3701. "id": "projectGM",
  3702. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3703. "onresize": function() {}
  3704. }, {
  3705. closecallback: function() {}
  3706. }, { "style": { "height": "36px" } }).form; //创建窗体
  3707. _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); } }
  3708. break;
  3709. case "studyGM": //课程中心
  3710. _formdiv = new U.UF.UI.form(
  3711. "课程中心",
  3712. $$("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
  3713. "id": "study",
  3714. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3715. "onresize": function() {}
  3716. }, {
  3717. closecallback: function() {}
  3718. }, { "style": { "height": "36px" } }).form; //创建窗体
  3719. _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); } }
  3720. break;
  3721. // studentGM
  3722. case "studentGM": //学生管理
  3723. _formdiv = new U.UF.UI.form(
  3724. "学生管理",
  3725. $$("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 }), {
  3726. "id": "studentGM",
  3727. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3728. "onresize": function() {}
  3729. }, {
  3730. closecallback: function() {}
  3731. }, { "style": { "height": "36px" } }).form; //创建窗体
  3732. _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); } }
  3733. break;
  3734. case "evaluateGM": //学生评价
  3735. _formdiv = new U.UF.UI.form(
  3736. "学生评价",
  3737. $$("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 }), {
  3738. "id": "evaluateGM",
  3739. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3740. "onresize": function() {}
  3741. }, {
  3742. closecallback: function() {}
  3743. }, { "style": { "height": "36px" } }).form; //创建窗体
  3744. _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); } }
  3745. break;
  3746. // classGM
  3747. case "classGM": //班级管理
  3748. _formdiv = new U.UF.UI.form(
  3749. "班级管理",
  3750. $$("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 }), {
  3751. "id": "classGM",
  3752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3753. "onresize": function() {}
  3754. }, {
  3755. closecallback: function() {}
  3756. }, { "style": { "height": "36px" } }).form; //创建窗体
  3757. _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); } }
  3758. break;
  3759. // dataGM
  3760. case "dataGM":
  3761. _formdiv = new U.UF.UI.form(
  3762. "我的资料",
  3763. $$("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 }), {
  3764. "id": "dataGM",
  3765. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3766. "onresize": function() {}
  3767. }, {
  3768. closecallback: function() {}
  3769. }, { "style": { "height": "36px" } }).form; //创建窗体
  3770. _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); } }
  3771. break;
  3772. // caseGM
  3773. case "caseGM": //课程进展
  3774. _formdiv = new U.UF.UI.form(
  3775. "课程进展",
  3776. $$("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 }), {
  3777. "id": "caseGM",
  3778. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3779. "onresize": function() {}
  3780. }, {
  3781. closecallback: function() {}
  3782. }, { "style": { "height": "36px" } }).form; //创建窗体
  3783. _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); } }
  3784. break;
  3785. // meterialGM
  3786. case "meterialGM": //素材库
  3787. _formdiv = new U.UF.UI.form(
  3788. "素材库",
  3789. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  3790. "id": "meterialGM",
  3791. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function() {}
  3793. }, {
  3794. closecallback: function() {}
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材库", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3797. break;
  3798. // evaluateSGM
  3799. case "evaluateSGM": //我的评价
  3800. _formdiv = new U.UF.UI.form(
  3801. "我的评价",
  3802. $$("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 }), {
  3803. "id": "evaluateSGM",
  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/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3810. break;
  3811. case "jupyter": //jupyter
  3812. _formdiv = new U.UF.UI.form(
  3813. "jupyter",
  3814. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3815. "id": "jupyter",
  3816. "style": { "width": "90%", "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/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3822. break;
  3823. case "number": //数字实验室
  3824. _formdiv = new U.UF.UI.form(
  3825. "数字实验室",
  3826. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3827. "id": "number",
  3828. "style": { "width": "90%", "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/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3834. break;
  3835. case "studentCourse": //项目管理 学生
  3836. _formdiv = new U.UF.UI.form(
  3837. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3838. $$("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 }), {
  3839. "id": "studentCourse",
  3840. "style": { "width": "90%", "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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3846. break;
  3847. case "studentCourseS": //项目管理 老师
  3848. _formdiv = new U.UF.UI.form(
  3849. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3850. $$("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 }), {
  3851. "id": "studentCourseS",
  3852. "style": { "width": "90%", "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/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3858. break;
  3859. case "studentIndex": //项目中心
  3860. _formdiv = new U.UF.UI.form(
  3861. "项目中心",
  3862. $$("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 }), {
  3863. "id": "studentIndex",
  3864. "style": { "width": "90%", "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/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3870. break;
  3871. case "CaseDesignS":
  3872. _formdiv = new U.UF.UI.form(
  3873. "项目进展",
  3874. $$("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 }), {
  3875. "id": "case",
  3876. "style": { "width": "90%", "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/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3882. break;
  3883. case "tcStudent": //腾讯学生管理
  3884. _formdiv = new U.UF.UI.form(
  3885. "学生管理",
  3886. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3887. "id": "tcStudent",
  3888. "style": { "width": "90%", "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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3894. break;
  3895. case "tcSchool": //腾讯学校管理
  3896. _formdiv = new U.UF.UI.form(
  3897. "学校管理",
  3898. $$("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 }), {
  3899. "id": "tcSchool",
  3900. "style": { "width": "90%", "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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3906. break;
  3907. case "tcTeacher": //腾讯学校管理
  3908. _formdiv = new U.UF.UI.form(
  3909. "教师管理",
  3910. $$("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 }), {
  3911. "id": "tcTeacher",
  3912. "style": { "width": "90%", "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/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3918. break;
  3919. case "tcData": //腾讯我的资料
  3920. _formdiv = new U.UF.UI.form(
  3921. "我的资料",
  3922. $$("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 }), {
  3923. "id": "tcData",
  3924. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3930. break;
  3931. case "tcNotice": //腾讯消息通知
  3932. _formdiv = new U.UF.UI.form(
  3933. "消息通知",
  3934. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3935. "id": "tcNotice",
  3936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function() {}
  3938. }, {
  3939. closecallback: function() {}
  3940. }, { "style": { "height": "36px" } }).form; //创建窗体
  3941. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3942. break;
  3943. case "myReport": //好友打开
  3944. _formdiv = new U.UF.UI.form(
  3945. "我的评价",
  3946. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  3947. "id": "myReport",
  3948. "style": { "width": "100%", "height": "100%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3954. break;
  3955. case "learnAna": //好友打开
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3959. "id": "learnAna",
  3960. "style": { "width": "100%", "height": "100%", "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/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3966. break;
  3967. case "AIChat": //AI共创
  3968. _formdiv = new U.UF.UI.form(
  3969. "AI共创",
  3970. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3971. "id": "AIChat",
  3972. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3973. "onresize": function() {}
  3974. }, {
  3975. istop: true,
  3976. closecallback: function() { $("#aichat_icon").remove(); },
  3977. narrowcallback: function() {
  3978. if (!$("#aichat_icon")[0]) {
  3979. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3980. }
  3981. },
  3982. }, { "style": { "height": "36px" } }).form; //创建窗体
  3983. _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); } }
  3984. break;
  3985. case "ainew": //AI共创
  3986. _formdiv = new U.UF.UI.form(
  3987. "AI协同",
  3988. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  3989. "id": "ainew",
  3990. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3991. "onresize": function() {}
  3992. }, {
  3993. closecallback: function() {}
  3994. }, { "style": { "height": "36px" } }).form; //创建窗体
  3995. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3996. break;
  3997. case "futureClass": //AI共创
  3998. _formdiv = new U.UF.UI.form(
  3999. "知识建构",
  4000. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4001. "id": "futureClass",
  4002. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4003. "onresize": function() {}
  4004. }, {
  4005. closecallback: function() {}
  4006. }, { "style": { "height": "36px" } }).form; //创建窗体
  4007. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "知识建构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4008. break;
  4009. case "AIAnalyse": //AI共创
  4010. _formdiv = new U.UF.UI.form(
  4011. "AI分析",
  4012. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4013. "id": "AIAnalyse",
  4014. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4015. "onresize": function() {}
  4016. }, {
  4017. closecallback: function() {}
  4018. }, { "style": { "height": "36px" } }).form; //创建窗体
  4019. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4020. break;
  4021. case "studioCourse": //AI共创
  4022. _formdiv = new U.UF.UI.form(
  4023. "工作管理",
  4024. $$("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 }), {
  4025. "id": "studioCourse",
  4026. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4027. "onresize": function() {}
  4028. }, {
  4029. closecallback: function() {}
  4030. }, { "style": { "height": "36px" } }).form; //创建窗体
  4031. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4032. break;
  4033. case "studioIndex": //AI共创
  4034. _formdiv = new U.UF.UI.form(
  4035. "工作中心",
  4036. $$("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 }), {
  4037. "id": "studioIndex",
  4038. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4039. "onresize": function() {}
  4040. }, {
  4041. closecallback: function() {}
  4042. }, { "style": { "height": "36px" } }).form; //创建窗体
  4043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4044. break;
  4045. case "source":
  4046. _formdiv = new U.UF.UI.form(
  4047. "教学资源",
  4048. $$("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 }), {
  4049. "id": "source",
  4050. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4051. "onresize": function() {}
  4052. }, {
  4053. closecallback: function() {}
  4054. }, { "style": { "height": "36px" } }).form; //创建窗体
  4055. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4056. break;
  4057. }
  4058. //U.MD.D.I.openClick(str);
  4059. //如果有任务栏信息
  4060. if (_taskbar) {
  4061. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4062. }
  4063. }
  4064. // U.MD.D.I.openClick = function(str){
  4065. // var click = '';
  4066. // switch(str){
  4067. // case 'friend':
  4068. // click = '我的好友';
  4069. // break;
  4070. // case 'domain':
  4071. // click = '域名管理';
  4072. // break;
  4073. // case 'disk':
  4074. // click = '我的云盘';
  4075. // break;
  4076. // case 'word':
  4077. // click = 'Word';
  4078. // break;
  4079. // case 'excel':
  4080. // click = 'Execl';
  4081. // break;
  4082. // case 'txt':
  4083. // click = '文本文件';
  4084. // break;
  4085. // case 'lookupFriend':
  4086. // click = '查找好友';
  4087. // break;
  4088. // case 'ftp':
  4089. // click = 'FTP';
  4090. // break;
  4091. // case 'group':
  4092. // click = '群组';
  4093. // break;
  4094. // case 'set':
  4095. // click = '我的设置';
  4096. // break;
  4097. // case 'systemSet':
  4098. // click = '系统设置';
  4099. // break;
  4100. // case 'boomYun':
  4101. // click = '互联办公';
  4102. // break;
  4103. // case 'xz':
  4104. // click = '云端下载';
  4105. // break;
  4106. // case 'client':
  4107. // click = '有思浏览器';
  4108. // break;
  4109. // case 'backEndProgramming':
  4110. // click = '在线后台编程';
  4111. // break;
  4112. // case 'frontEndProgramming':
  4113. // click = '在线前端编程';
  4114. // break;
  4115. // default: break;
  4116. // }
  4117. // if(U.MD.D.I.Ip && click){
  4118. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4119. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4120. // })
  4121. // }
  4122. // }
  4123. /**
  4124. *函数作用:ajax简易函数,使用post格式
  4125. *@param url {data} 后台地址
  4126. *@param data {data} 参数json
  4127. *@param fn {data} 回调函数
  4128. *
  4129. */
  4130. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4131. // var xhr = new XMLHttpRequest();
  4132. // xhr.open("GET",url,true);
  4133. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4134. // xhr.onreadystatechange = function(){
  4135. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4136. // fn.call(this,xhr.responseText);
  4137. // }
  4138. // };
  4139. // xhr.send();
  4140. // }
  4141. /*判断是否是内网IP*/
  4142. // U.MD.D.I.isInnerIPFn = function(str){
  4143. // var curPageUrl = str;
  4144. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4145. // curPageUrl =curPageUrl.replace(reg1,'');
  4146. // // console.log('curPageUrl-1 '+curPageUrl);
  4147. // var reg2 = /\:+/g;//替换冒号为一点
  4148. // curPageUrl =curPageUrl.replace(reg2,'.');
  4149. // // console.log('curPageUrl-2 '+curPageUrl);
  4150. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4151. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4152. // if(curPageUrl[2] != '16'){
  4153. // return ipAddress;
  4154. // }else{
  4155. // return false;
  4156. // }
  4157. // }
  4158. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4159. // //compatibility for firefox and chrome
  4160. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4161. // var pc = new myPeerConnection({
  4162. // iceServers: []
  4163. // }),
  4164. // noop = function() {},
  4165. // localIPs = {},
  4166. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4167. // key;
  4168. // function iterateIP(ip) {
  4169. // if (!localIPs[ip]) onNewIP(ip);
  4170. // localIPs[ip] = true;
  4171. // }
  4172. // //create a bogus data channel
  4173. // pc.createDataChannel("");
  4174. // // create offer and set local description
  4175. // pc.createOffer().then(function(sdp) {
  4176. // sdp.sdp.split('\n').forEach(function(line) {
  4177. // if (line.indexOf('candidate') < 0) return;
  4178. // line.match(ipRegex).forEach(iterateIP);
  4179. // });
  4180. // pc.setLocalDescription(sdp, noop, noop);
  4181. // }).catch(function(reason) {
  4182. // // An error occurred, so handle the failure to connect
  4183. // });
  4184. // //sten for candidate events
  4185. // pc.onicecandidate = function(ice) {
  4186. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4187. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4188. // };
  4189. // }
  4190. // U.MD.D.I.getUserIpBool = function(callback){
  4191. // U.MD.D.I.getUserIP(function(ip){
  4192. // alert("Got IP! :" + ip);
  4193. // });
  4194. //}
  4195. //#endregion
  4196. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4197. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4198. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4199. _userinfo = US.userInfo, //登录用户信息
  4200. _userid = US.userInfo.userid //登录用户id
  4201. let _iframe;
  4202. let _cid = cid,
  4203. _stage = stage,
  4204. _task = task,
  4205. _tool = tool;
  4206. var _jie = $$("div", {
  4207. "style": {
  4208. "position": "absolute",
  4209. "bottom": "50px",
  4210. "right": "50px",
  4211. "zIndex": "9999",
  4212. "backgroundColor": "#2268bc",
  4213. "color": "#fff",
  4214. "padding": "12px 20px",
  4215. "cursor": "pointer",
  4216. "borderRadius": "4px",
  4217. },
  4218. "innerHTML": "提交作业"
  4219. })
  4220. let aTool = ''
  4221. let _loading = document.createElement('div')
  4222. _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;"
  4223. // _loading.id = "";
  4224. let _lchild = document.createElement('div')
  4225. let _limg = document.createElement('img')
  4226. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4227. _limg.style = "width: 26px;margin-right: 10px;"
  4228. _lchild.appendChild(_limg)
  4229. let _lspan = document.createElement('span')
  4230. _lspan.innerHTML = "上传中..."
  4231. _lchild.appendChild(_lspan)
  4232. _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%);"
  4233. _loading.appendChild(_lchild)
  4234. var _box = $$('div', {
  4235. "style": {
  4236. "position": "relative",
  4237. "width": "100%",
  4238. "height": "100%",
  4239. },
  4240. })
  4241. _box.appendChild(_loading)
  4242. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4243. switch (str) {
  4244. case "whiteboard":
  4245. aTool = 1;
  4246. _iframe = $$("iframe", {
  4247. "frameborder": "no",
  4248. "border": "0",
  4249. "scrolling ": "no",
  4250. "style": {
  4251. "cssText": "border:0;width:100%;height:100%"
  4252. },
  4253. "src": "https://iwb.cocorobo.cn/"
  4254. })
  4255. _box.appendChild(_iframe);
  4256. _box.appendChild(_jie);
  4257. _formdiv = new U.UF.UI.form(
  4258. "电子白板",
  4259. _box, {
  4260. "id": "whiteboard" + cid + stage + task + tool,
  4261. "style": {
  4262. "width": "90%",
  4263. "height": "90%",
  4264. "overflow": 'hidden'
  4265. },
  4266. "onresize": function() {}
  4267. }, {
  4268. closecallback: function() {}
  4269. }, {
  4270. "style": {
  4271. "height": "36px"
  4272. }
  4273. }).form; //创建窗体
  4274. _taskbar = {
  4275. "id": str + _formdiv.id,
  4276. "style": {
  4277. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4278. },
  4279. "name": "电子白板",
  4280. "forms": _formdiv,
  4281. "click": function() {
  4282. U.MD.D.I.openApplication(str, obj, info);
  4283. }
  4284. }
  4285. break;
  4286. case "mind":
  4287. aTool = 3;
  4288. _iframe = $$("iframe", {
  4289. "frameborder": "no",
  4290. "border": "0",
  4291. "scrolling ": "no",
  4292. "style": {
  4293. "cssText": "border:0;width:100%;height:100%"
  4294. },
  4295. "src": "/kityminder-editor/dist/index.html"
  4296. })
  4297. _box.appendChild(_iframe);
  4298. _box.appendChild(_jie);
  4299. _formdiv = new U.UF.UI.form(
  4300. "思维导图",
  4301. _box, { //"/jsmind/example/demo.html"
  4302. "id": "mind" + cid + stage + task + tool,
  4303. "style": {
  4304. "width": "90%",
  4305. "height": "90%",
  4306. "overflow": 'hidden'
  4307. },
  4308. "onresize": function() {}
  4309. }, {
  4310. closecallback: function() {}
  4311. }, {
  4312. "style": {
  4313. "height": "36px"
  4314. }
  4315. }).form; //创建窗体
  4316. _taskbar = {
  4317. "id": str + _formdiv.id,
  4318. "style": {
  4319. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4320. },
  4321. "name": "思维导图",
  4322. "forms": _formdiv,
  4323. "click": function() {
  4324. U.MD.D.I.openApplication(str, obj, info);
  4325. }
  4326. }
  4327. break;
  4328. case "MindMap":
  4329. aTool = 3;
  4330. _iframe = $$("iframe", {
  4331. "frameborder": "no",
  4332. "border": "0",
  4333. "scrolling ": "no",
  4334. "style": {
  4335. "cssText": "border:0;width:100%;height:100%"
  4336. },
  4337. "src": "//cloud.cocorobo.cn/mind/"
  4338. })
  4339. _box.appendChild(_iframe);
  4340. _box.appendChild(_jie);
  4341. _formdiv = new U.UF.UI.form(
  4342. "思维导图",
  4343. _box, { //"/jsmind/example/demo.html"
  4344. "id": "mind" + cid + stage + task + tool,
  4345. "style": {
  4346. "width": "90%",
  4347. "height": "90%",
  4348. "overflow": 'hidden'
  4349. },
  4350. "onresize": function() {}
  4351. }, {
  4352. closecallback: function() {}
  4353. }, {
  4354. "style": {
  4355. "height": "36px"
  4356. }
  4357. }).form; //创建窗体
  4358. _taskbar = {
  4359. "id": str + _formdiv.id,
  4360. "style": {
  4361. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4362. },
  4363. "name": "思维导图",
  4364. "forms": _formdiv,
  4365. "click": function() {
  4366. U.MD.D.I.openApplication(str, obj, info);
  4367. }
  4368. }
  4369. break;
  4370. case "doc":
  4371. aTool = 6;
  4372. _iframe = $$("iframe", {
  4373. "frameborder": "no",
  4374. "border": "0",
  4375. "scrolling ": "no",
  4376. "style": {
  4377. "cssText": "border:0;width:100%;height:100%"
  4378. },
  4379. "src": "/Office/Word/WordEditArea.htm"
  4380. })
  4381. _box.appendChild(_iframe);
  4382. _box.appendChild(_jie);
  4383. _formdiv = new U.UF.UI.form(
  4384. "协同文档",
  4385. _box, {
  4386. "id": "doc" + cid + stage + task + tool,
  4387. "style": {
  4388. "width": "90%",
  4389. "height": "90%",
  4390. "overflow": 'hidden'
  4391. },
  4392. "onresize": function() {}
  4393. }, {
  4394. closecallback: function() {}
  4395. }, {
  4396. "style": {
  4397. "height": "36px"
  4398. }
  4399. }).form; //创建窗体
  4400. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4401. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4402. })
  4403. _taskbar = {
  4404. "id": str + _formdiv.id,
  4405. "style": {
  4406. "backgroundImage": "url(/img/icon/doc.png)"
  4407. },
  4408. "name": "协同文档",
  4409. "forms": _formdiv,
  4410. "click": function() {
  4411. U.MD.D.I.openApplication(str, obj, info);
  4412. }
  4413. }
  4414. break;
  4415. case "mindNetwork": //好友打开
  4416. aTool = 7;
  4417. _iframe = $$("iframe", {
  4418. "webkitallowfullscreen": "",
  4419. "mozallowfullscreen": "",
  4420. "allowfullscreen": "",
  4421. "frameborder": "no",
  4422. "border": "0",
  4423. "scrolling ": "no",
  4424. "style": {
  4425. "cssText": "border:0; width:100%; height:100%;"
  4426. },
  4427. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4428. })
  4429. _box.appendChild(_iframe);
  4430. _box.appendChild(_jie);
  4431. _formdiv = new U.UF.UI.form(
  4432. "思维网格",
  4433. _box, {
  4434. "id": "mindNetwork" + cid + stage + task + tool,
  4435. "style": {
  4436. "width": "90%",
  4437. "height": "90%",
  4438. "overflow": 'hidden'
  4439. },
  4440. "onresize": function() {}
  4441. }, {
  4442. closecallback: function() {}
  4443. }, {
  4444. "style": {
  4445. "height": "36px"
  4446. }
  4447. }).form; //创建窗体
  4448. _taskbar = {
  4449. "id": str + _formdiv.id,
  4450. "style": {
  4451. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4452. },
  4453. "name": "思维网格",
  4454. "forms": _formdiv,
  4455. "click": function() {
  4456. U.MD.D.I.openApplication(str, obj, info);
  4457. }
  4458. }
  4459. break;
  4460. case "courseDesign":
  4461. _iframe = $$("iframe", {
  4462. "webkitallowfullscreen": "",
  4463. "mozallowfullscreen": "",
  4464. "allowfullscreen": "",
  4465. "frameborder": "no",
  4466. "border": "0",
  4467. "scrolling ": "no",
  4468. "style": {
  4469. "cssText": "border:0; width:100%; height:100%;"
  4470. },
  4471. "src": "/course-design-vue"
  4472. })
  4473. _box.appendChild(_iframe);
  4474. _box.appendChild(_jie);
  4475. _formdiv = new U.UF.UI.form(
  4476. "项目设计",
  4477. _box, {
  4478. "id": "courseDesign" + cid + stage + task + tool,
  4479. "style": {
  4480. "width": "90%",
  4481. "height": "90%",
  4482. "overflow": 'hidden'
  4483. },
  4484. "onresize": function() {}
  4485. }, {
  4486. closecallback: function() {}
  4487. }, {
  4488. "style": {
  4489. "height": "36px"
  4490. }
  4491. }).form; //创建窗体
  4492. _taskbar = {
  4493. "id": str + _formdiv.id,
  4494. "style": {
  4495. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4496. },
  4497. "name": "项目设计",
  4498. "forms": _formdiv,
  4499. "click": function() {
  4500. U.MD.D.I.openApplication(str, obj, info);
  4501. }
  4502. }
  4503. break;
  4504. }
  4505. const script1 = document.createElement("script");
  4506. script1.type = "text/javascript";
  4507. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4508. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4509. const script2 = document.createElement("script");
  4510. script2.type = "text/javascript";
  4511. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4512. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4513. const script3 = document.createElement("script");
  4514. script3.type = "text/javascript";
  4515. script3.charset = "UTF-8";
  4516. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4517. const script4 = document.createElement("script");
  4518. script4.type = "text/javascript";
  4519. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4520. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4521. if (_iframe) {
  4522. if (str == 'doc') {
  4523. _iframe = _formdiv.querySelector('iframe')
  4524. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4525. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4526. _iframe.contentWindow.document.body.appendChild(script1);
  4527. _iframe.contentWindow.document.body.appendChild(script2);
  4528. // _iframe.contentWindow.document.body.appendChild(script3);
  4529. _iframe.contentWindow.document.body.appendChild(script4);
  4530. })
  4531. if (onloadListener) {
  4532. _iframe.contentDocument.location.reload()
  4533. } else {
  4534. _iframe.contentDocument.location.reload()
  4535. }
  4536. } else if (str == 'courseDesign') {
  4537. U.UF.DL.iframeLoad(_iframe, function() {
  4538. // _iframe.contentWindow.U.MD.O.W.load();
  4539. // _iframe.contentWindow.document.body.appendChild(script1);
  4540. _iframe.contentWindow.document.body.appendChild(script2);
  4541. _iframe.contentWindow.document.body.appendChild(script4);
  4542. })
  4543. } else if (str == 'mind') {
  4544. _iframe = _formdiv.querySelector('iframe')
  4545. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4546. //
  4547. _iframe.contentWindow.document.body.appendChild(script1);
  4548. _iframe.contentWindow.document.body.appendChild(script2);
  4549. _iframe.contentWindow.document.body.appendChild(script4);
  4550. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4551. })
  4552. if (onloadListener) {
  4553. _iframe.contentDocument.location.reload()
  4554. } else {
  4555. _iframe.contentDocument.location.reload()
  4556. }
  4557. } else if (str == 'whiteboard') {
  4558. _iframe = _formdiv.querySelector('iframe')
  4559. let onloadListener = _iframe.onload = () => {
  4560. _iframe.contentWindow.document.body.appendChild(script1);
  4561. _iframe.contentWindow.document.body.appendChild(script2);
  4562. _iframe.contentWindow.document.body.appendChild(script4);
  4563. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4564. };
  4565. if (onloadListener) {
  4566. _iframe.contentDocument.location.reload()
  4567. } else {
  4568. _iframe.contentDocument.location.reload()
  4569. }
  4570. } else {
  4571. _iframe.onload = () => {
  4572. _iframe.contentWindow.document.body.appendChild(script1);
  4573. _iframe.contentWindow.document.body.appendChild(script2);
  4574. // _iframe.contentWindow.document.body.appendChild(script3);
  4575. _iframe.contentWindow.document.body.appendChild(script4);
  4576. };
  4577. }
  4578. _jie.onclick = async() => {
  4579. let text = ''
  4580. if (aTool == 1) {
  4581. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4582. } else if (aTool == 6) {
  4583. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4584. } else if (aTool == 3) {
  4585. text = await U.MD.D.I.getEditorContent(_iframe);
  4586. }
  4587. _loading.style.display = 'flex'
  4588. console.log(_loading);
  4589. var _ajs = _iframe.contentWindow.document.createElement("script");
  4590. _ajs.type = "text/javascript";
  4591. _ajs.innerHTML =
  4592. // 'console.log(' + _loading + ');\n' +
  4593. 'var _js = document.createElement("script");\n' +
  4594. '_js.type="text/javascript";\n' +
  4595. '_js.charset="UTF-8";\n' +
  4596. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4597. "_js.onload = function(){\n" +
  4598. ' var a = document.getElementsByTagName("img")\n' +
  4599. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4600. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4601. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4602. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4603. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4604. "beforeUpload_shishi(file," +
  4605. "'" +
  4606. _userid +
  4607. "'" +
  4608. ", " +
  4609. "'" +
  4610. _cid +
  4611. "'" +
  4612. ", " +
  4613. "'" +
  4614. _stage +
  4615. "'" +
  4616. ", " +
  4617. "'" +
  4618. _task +
  4619. "'" +
  4620. ", " +
  4621. "'" +
  4622. _tool +
  4623. "'" +
  4624. ", " +
  4625. "'" +
  4626. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4627. "'" +
  4628. ", " +
  4629. "'" +
  4630. aTool +
  4631. "'" +
  4632. ", " +
  4633. "`" +
  4634. text +
  4635. "`" +
  4636. ")\n" +
  4637. " });\n" +
  4638. "}\n" +
  4639. "document.head.appendChild(_js);\n";
  4640. _iframe.contentWindow.document.head.appendChild(_ajs);
  4641. }
  4642. }
  4643. //U.MD.D.I.openClick(str);
  4644. //如果有任务栏信息
  4645. // if (_taskbar) {
  4646. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4647. // }
  4648. }
  4649. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4650. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4651. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4652. _userinfo = US.userInfo, //登录用户信息
  4653. _userid = US.userInfo.userid //登录用户id
  4654. let _iframe;
  4655. let _cid = cid,
  4656. _stage = stage,
  4657. _task = task,
  4658. _tool = tool;
  4659. var _jie = $$("div", {
  4660. "style": {
  4661. "position": "absolute",
  4662. "bottom": "50px",
  4663. "right": "50px",
  4664. "zIndex": "9999",
  4665. "backgroundColor": "#2268bc",
  4666. "color": "#fff",
  4667. "padding": "12px 20px",
  4668. "cursor": "pointer",
  4669. "borderRadius": "4px",
  4670. },
  4671. "innerHTML": "提交作业"
  4672. })
  4673. let aTool = ''
  4674. let _loading = document.createElement('div')
  4675. _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;"
  4676. // _loading.id = "";
  4677. let _lchild = document.createElement('div')
  4678. let _limg = document.createElement('img')
  4679. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4680. _limg.style = "width: 26px;margin-right: 10px;"
  4681. _lchild.appendChild(_limg)
  4682. let _lspan = document.createElement('span')
  4683. _lspan.innerHTML = "上传中..."
  4684. _lchild.appendChild(_lspan)
  4685. _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%);"
  4686. _loading.appendChild(_lchild)
  4687. var _box = $$('div', {
  4688. "style": {
  4689. "position": "relative",
  4690. "width": "100%",
  4691. "height": "100%",
  4692. },
  4693. })
  4694. _box.appendChild(_loading)
  4695. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4696. switch (str) {
  4697. case "whiteboard":
  4698. aTool = 1;
  4699. _iframe = $$("iframe", {
  4700. "frameborder": "no",
  4701. "border": "0",
  4702. "scrolling ": "no",
  4703. "style": {
  4704. "cssText": "border:0;width:100%;height:100%"
  4705. },
  4706. "src": "https://iwb.cocorobo.cn/"
  4707. })
  4708. _box.appendChild(_iframe);
  4709. _box.appendChild(_jie);
  4710. _formdiv = new U.UF.UI.form(
  4711. "电子白板",
  4712. _box, {
  4713. "id": "whiteboard" + cid + stage + task + tool,
  4714. "style": {
  4715. "width": "90%",
  4716. "height": "90%",
  4717. "overflow": 'hidden'
  4718. },
  4719. "onresize": function() {}
  4720. }, {
  4721. closecallback: function() {}
  4722. }, {
  4723. "style": {
  4724. "height": "36px"
  4725. }
  4726. }).form; //创建窗体
  4727. _taskbar = {
  4728. "id": str + _formdiv.id,
  4729. "style": {
  4730. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4731. },
  4732. "name": "电子白板",
  4733. "forms": _formdiv,
  4734. "click": function() {
  4735. U.MD.D.I.openApplication(str, obj, info);
  4736. }
  4737. }
  4738. break;
  4739. case "mind":
  4740. aTool = 3;
  4741. _iframe = $$("iframe", {
  4742. "frameborder": "no",
  4743. "border": "0",
  4744. "scrolling ": "no",
  4745. "style": {
  4746. "cssText": "border:0;width:100%;height:100%"
  4747. },
  4748. "src": "/kityminder-editor/dist/index.html"
  4749. })
  4750. _box.appendChild(_iframe);
  4751. _box.appendChild(_jie);
  4752. _formdiv = new U.UF.UI.form(
  4753. "思维导图",
  4754. _box, { //"/jsmind/example/demo.html"
  4755. "id": "mind" + cid + stage + task + tool,
  4756. "style": {
  4757. "width": "90%",
  4758. "height": "90%",
  4759. "overflow": 'hidden'
  4760. },
  4761. "onresize": function() {}
  4762. }, {
  4763. closecallback: function() {}
  4764. }, {
  4765. "style": {
  4766. "height": "36px"
  4767. }
  4768. }).form; //创建窗体
  4769. _taskbar = {
  4770. "id": str + _formdiv.id,
  4771. "style": {
  4772. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4773. },
  4774. "name": "思维导图",
  4775. "forms": _formdiv,
  4776. "click": function() {
  4777. U.MD.D.I.openApplication(str, obj, info);
  4778. }
  4779. }
  4780. break;
  4781. case "MindMap":
  4782. aTool = 3;
  4783. _iframe = $$("iframe", {
  4784. "frameborder": "no",
  4785. "border": "0",
  4786. "scrolling ": "no",
  4787. "style": {
  4788. "cssText": "border:0;width:100%;height:100%"
  4789. },
  4790. "src": "//cloud.cocorobo.cn/mind/"
  4791. })
  4792. _box.appendChild(_iframe);
  4793. _box.appendChild(_jie);
  4794. _formdiv = new U.UF.UI.form(
  4795. "思维导图",
  4796. _box, { //"/jsmind/example/demo.html"
  4797. "id": "mind" + cid + stage + task + tool,
  4798. "style": {
  4799. "width": "90%",
  4800. "height": "90%",
  4801. "overflow": 'hidden'
  4802. },
  4803. "onresize": function() {}
  4804. }, {
  4805. closecallback: function() {}
  4806. }, {
  4807. "style": {
  4808. "height": "36px"
  4809. }
  4810. }).form; //创建窗体
  4811. _taskbar = {
  4812. "id": str + _formdiv.id,
  4813. "style": {
  4814. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4815. },
  4816. "name": "思维导图",
  4817. "forms": _formdiv,
  4818. "click": function() {
  4819. U.MD.D.I.openApplication(str, obj, info);
  4820. }
  4821. }
  4822. break;
  4823. case "doc":
  4824. aTool = 6;
  4825. _iframe = $$("iframe", {
  4826. "frameborder": "no",
  4827. "border": "0",
  4828. "scrolling ": "no",
  4829. "style": {
  4830. "cssText": "border:0;width:100%;height:100%"
  4831. },
  4832. "src": "/Office/Word/WordEditArea.htm"
  4833. })
  4834. _box.appendChild(_iframe);
  4835. _box.appendChild(_jie);
  4836. _formdiv = new U.UF.UI.form(
  4837. "协同文档",
  4838. _box, {
  4839. "id": "doc" + cid + stage + task + tool,
  4840. "style": {
  4841. "width": "90%",
  4842. "height": "90%",
  4843. "overflow": 'hidden'
  4844. },
  4845. "onresize": function() {}
  4846. }, {
  4847. closecallback: function() {}
  4848. }, {
  4849. "style": {
  4850. "height": "36px"
  4851. }
  4852. }).form; //创建窗体
  4853. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4854. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4855. })
  4856. _taskbar = {
  4857. "id": str + _formdiv.id,
  4858. "style": {
  4859. "backgroundImage": "url(/img/icon/doc.png)"
  4860. },
  4861. "name": "协同文档",
  4862. "forms": _formdiv,
  4863. "click": function() {
  4864. U.MD.D.I.openApplication(str, obj, info);
  4865. }
  4866. }
  4867. break;
  4868. case "mindNetwork": //好友打开
  4869. aTool = 7;
  4870. _iframe = $$("iframe", {
  4871. "webkitallowfullscreen": "",
  4872. "mozallowfullscreen": "",
  4873. "allowfullscreen": "",
  4874. "frameborder": "no",
  4875. "border": "0",
  4876. "scrolling ": "no",
  4877. "style": {
  4878. "cssText": "border:0; width:100%; height:100%;"
  4879. },
  4880. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4881. })
  4882. _box.appendChild(_iframe);
  4883. _box.appendChild(_jie);
  4884. _formdiv = new U.UF.UI.form(
  4885. "思维网格",
  4886. _box, {
  4887. "id": "mindNetwork" + cid + stage + task + tool,
  4888. "style": {
  4889. "width": "90%",
  4890. "height": "90%",
  4891. "overflow": 'hidden'
  4892. },
  4893. "onresize": function() {}
  4894. }, {
  4895. closecallback: function() {}
  4896. }, {
  4897. "style": {
  4898. "height": "36px"
  4899. }
  4900. }).form; //创建窗体
  4901. _taskbar = {
  4902. "id": str + _formdiv.id,
  4903. "style": {
  4904. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4905. },
  4906. "name": "思维网格",
  4907. "forms": _formdiv,
  4908. "click": function() {
  4909. U.MD.D.I.openApplication(str, obj, info);
  4910. }
  4911. }
  4912. break;
  4913. case "courseDesign":
  4914. _iframe = $$("iframe", {
  4915. "webkitallowfullscreen": "",
  4916. "mozallowfullscreen": "",
  4917. "allowfullscreen": "",
  4918. "frameborder": "no",
  4919. "border": "0",
  4920. "scrolling ": "no",
  4921. "style": {
  4922. "cssText": "border:0; width:100%; height:100%;"
  4923. },
  4924. "src": "/course-design-vue"
  4925. })
  4926. _box.appendChild(_iframe);
  4927. _box.appendChild(_jie);
  4928. _formdiv = new U.UF.UI.form(
  4929. "项目设计",
  4930. _box, {
  4931. "id": "courseDesign" + cid + stage + task + tool,
  4932. "style": {
  4933. "width": "90%",
  4934. "height": "90%",
  4935. "overflow": 'hidden'
  4936. },
  4937. "onresize": function() {}
  4938. }, {
  4939. closecallback: function() {}
  4940. }, {
  4941. "style": {
  4942. "height": "36px"
  4943. }
  4944. }).form; //创建窗体
  4945. _taskbar = {
  4946. "id": str + _formdiv.id,
  4947. "style": {
  4948. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4949. },
  4950. "name": "项目设计",
  4951. "forms": _formdiv,
  4952. "click": function() {
  4953. U.MD.D.I.openApplication(str, obj, info);
  4954. }
  4955. }
  4956. break;
  4957. }
  4958. const script1 = document.createElement("script");
  4959. script1.type = "text/javascript";
  4960. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4961. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4962. const script2 = document.createElement("script");
  4963. script2.type = "text/javascript";
  4964. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4965. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4966. const script3 = document.createElement("script");
  4967. script3.type = "text/javascript";
  4968. script3.charset = "UTF-8";
  4969. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4970. const script4 = document.createElement("script");
  4971. script4.type = "text/javascript";
  4972. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4973. script4.src = window.origin + "/js/Common/jietu2E.js";
  4974. if (_iframe) {
  4975. if (str == 'doc') {
  4976. _iframe = _formdiv.querySelector('iframe')
  4977. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4978. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4979. _iframe.contentWindow.document.body.appendChild(script1);
  4980. _iframe.contentWindow.document.body.appendChild(script2);
  4981. // _iframe.contentWindow.document.body.appendChild(script3);
  4982. _iframe.contentWindow.document.body.appendChild(script4);
  4983. })
  4984. if (onloadListener) {
  4985. _iframe.contentDocument.location.reload()
  4986. } else {
  4987. _iframe.contentDocument.location.reload()
  4988. }
  4989. } else if (str == 'courseDesign') {
  4990. U.UF.DL.iframeLoad(_iframe, function() {
  4991. // _iframe.contentWindow.U.MD.O.W.load();
  4992. // _iframe.contentWindow.document.body.appendChild(script1);
  4993. _iframe.contentWindow.document.body.appendChild(script2);
  4994. _iframe.contentWindow.document.body.appendChild(script4);
  4995. })
  4996. } else if (str == 'mind') {
  4997. _iframe = _formdiv.querySelector('iframe')
  4998. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4999. //
  5000. _iframe.contentWindow.document.body.appendChild(script1);
  5001. _iframe.contentWindow.document.body.appendChild(script2);
  5002. _iframe.contentWindow.document.body.appendChild(script4);
  5003. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5004. })
  5005. if (onloadListener) {
  5006. _iframe.contentDocument.location.reload()
  5007. } else {
  5008. _iframe.contentDocument.location.reload()
  5009. }
  5010. } else if (str == 'whiteboard') {
  5011. _iframe = _formdiv.querySelector('iframe')
  5012. let onloadListener = _iframe.onload = () => {
  5013. _iframe.contentWindow.document.body.appendChild(script1);
  5014. _iframe.contentWindow.document.body.appendChild(script2);
  5015. _iframe.contentWindow.document.body.appendChild(script4);
  5016. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5017. };
  5018. if (onloadListener) {
  5019. _iframe.contentDocument.location.reload()
  5020. } else {
  5021. _iframe.contentDocument.location.reload()
  5022. }
  5023. } else {
  5024. _iframe.onload = () => {
  5025. _iframe.contentWindow.document.body.appendChild(script1);
  5026. _iframe.contentWindow.document.body.appendChild(script2);
  5027. // _iframe.contentWindow.document.body.appendChild(script3);
  5028. _iframe.contentWindow.document.body.appendChild(script4);
  5029. };
  5030. }
  5031. _jie.onclick = async() => {
  5032. let text = ''
  5033. if (aTool == 1) {
  5034. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5035. } else if (aTool == 6) {
  5036. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5037. } else if (aTool == 3) {
  5038. text = await U.MD.D.I.getEditorContent(_iframe);
  5039. }
  5040. _loading.style.display = 'flex'
  5041. console.log(_loading);
  5042. var _ajs = _iframe.contentWindow.document.createElement("script");
  5043. _ajs.type = "text/javascript";
  5044. _ajs.innerHTML =
  5045. // 'console.log(' + _loading + ');\n' +
  5046. 'var _js = document.createElement("script");\n' +
  5047. '_js.type="text/javascript";\n' +
  5048. '_js.charset="UTF-8";\n' +
  5049. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5050. "_js.onload = function(){\n" +
  5051. ' var a = document.getElementsByTagName("img")\n' +
  5052. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5053. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5054. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5055. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5056. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5057. "beforeUpload_shishi(file," +
  5058. "'" +
  5059. _userid +
  5060. "'" +
  5061. ", " +
  5062. "'" +
  5063. _cid +
  5064. "'" +
  5065. ", " +
  5066. "'" +
  5067. _stage +
  5068. "'" +
  5069. ", " +
  5070. "'" +
  5071. _task +
  5072. "'" +
  5073. ", " +
  5074. "'" +
  5075. _tool +
  5076. "'" +
  5077. ", " +
  5078. "'" +
  5079. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5080. "'" +
  5081. ", " +
  5082. "'" +
  5083. aTool +
  5084. "'" +
  5085. ", " +
  5086. "`" +
  5087. text +
  5088. "`" +
  5089. ")\n" +
  5090. " });\n" +
  5091. "}\n" +
  5092. "document.head.appendChild(_js);\n";
  5093. _iframe.contentWindow.document.head.appendChild(_ajs);
  5094. }
  5095. }
  5096. //U.MD.D.I.openClick(str);
  5097. //如果有任务栏信息
  5098. // if (_taskbar) {
  5099. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5100. // }
  5101. }
  5102. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5103. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5104. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5105. _userid = student.userid, //登录用户id
  5106. _username = student.student //用户名字
  5107. let _iframe;
  5108. let _cid = cid,
  5109. _stage = stage,
  5110. _task = task,
  5111. _tool = tool;
  5112. var _jie = $$("div", {
  5113. "style": {
  5114. "position": "absolute",
  5115. "bottom": "50px",
  5116. "right": "50px",
  5117. "zIndex": "9999",
  5118. "backgroundColor": "#2268bc",
  5119. "color": "#fff",
  5120. "padding": "12px 20px",
  5121. "cursor": "pointer",
  5122. "borderRadius": "4px",
  5123. },
  5124. "innerHTML": "提交作业"
  5125. })
  5126. let aTool = ''
  5127. let _loading = document.createElement('div')
  5128. _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;"
  5129. // _loading.id = "";
  5130. let _lchild = document.createElement('div')
  5131. let _limg = document.createElement('img')
  5132. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5133. _limg.style = "width: 26px;margin-right: 10px;"
  5134. _lchild.appendChild(_limg)
  5135. let _lspan = document.createElement('span')
  5136. _lspan.innerHTML = "上传中..."
  5137. _lchild.appendChild(_lspan)
  5138. _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%);"
  5139. _loading.appendChild(_lchild)
  5140. var _box = $$('div', {
  5141. "style": {
  5142. "position": "relative",
  5143. "width": "100%",
  5144. "height": "100%",
  5145. },
  5146. })
  5147. _box.appendChild(_loading)
  5148. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5149. switch (str) {
  5150. case "whiteboard":
  5151. aTool = 1;
  5152. _iframe = $$("iframe", {
  5153. "frameborder": "no",
  5154. "border": "0",
  5155. "scrolling ": "no",
  5156. "style": {
  5157. "cssText": "border:0;width:100%;height:100%"
  5158. },
  5159. "src": "https://iwb.cocorobo.cn/"
  5160. })
  5161. _box.appendChild(_iframe);
  5162. _box.appendChild(_jie);
  5163. _formdiv = new U.UF.UI.form(
  5164. "电子白板-" + _username,
  5165. _box, {
  5166. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5167. "style": {
  5168. "width": "90%",
  5169. "height": "90%",
  5170. "overflow": 'hidden'
  5171. },
  5172. "onresize": function() {}
  5173. }, {
  5174. closecallback: function() {}
  5175. }, {
  5176. "style": {
  5177. "height": "36px"
  5178. }
  5179. }).form; //创建窗体
  5180. _taskbar = {
  5181. "id": str + _formdiv.id,
  5182. "style": {
  5183. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5184. },
  5185. "name": "电子白板",
  5186. "forms": _formdiv,
  5187. "click": function() {
  5188. U.MD.D.I.openApplication(str, obj, info);
  5189. }
  5190. }
  5191. break;
  5192. case "mind":
  5193. aTool = 3;
  5194. _iframe = $$("iframe", {
  5195. "frameborder": "no",
  5196. "border": "0",
  5197. "scrolling ": "no",
  5198. "style": {
  5199. "cssText": "border:0;width:100%;height:100%"
  5200. },
  5201. "src": "/kityminder-editor/dist/index.html"
  5202. })
  5203. _box.appendChild(_iframe);
  5204. _box.appendChild(_jie);
  5205. _formdiv = new U.UF.UI.form(
  5206. "思维导图-" + _username,
  5207. _box, { //"/jsmind/example/demo.html"
  5208. "id": "mind" + cid + stage + task + tool + _userid,
  5209. "style": {
  5210. "width": "90%",
  5211. "height": "90%",
  5212. "overflow": 'hidden'
  5213. },
  5214. "onresize": function() {}
  5215. }, {
  5216. closecallback: function() {}
  5217. }, {
  5218. "style": {
  5219. "height": "36px"
  5220. }
  5221. }).form; //创建窗体
  5222. _taskbar = {
  5223. "id": str + _formdiv.id,
  5224. "style": {
  5225. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5226. },
  5227. "name": "思维导图",
  5228. "forms": _formdiv,
  5229. "click": function() {
  5230. U.MD.D.I.openApplication(str, obj, info);
  5231. }
  5232. }
  5233. break;
  5234. case "MindMap":
  5235. aTool = 3;
  5236. _iframe = $$("iframe", {
  5237. "frameborder": "no",
  5238. "border": "0",
  5239. "scrolling ": "no",
  5240. "style": {
  5241. "cssText": "border:0;width:100%;height:100%"
  5242. },
  5243. "src": "//cloud.cocorobo.cn/mind/"
  5244. })
  5245. _box.appendChild(_iframe);
  5246. _box.appendChild(_jie);
  5247. _formdiv = new U.UF.UI.form(
  5248. "思维导图-" + _username,
  5249. _box, { //"/jsmind/example/demo.html"
  5250. "id": "mind" + cid + stage + task + tool + _userid,
  5251. "style": {
  5252. "width": "90%",
  5253. "height": "90%",
  5254. "overflow": 'hidden'
  5255. },
  5256. "onresize": function() {}
  5257. }, {
  5258. closecallback: function() {}
  5259. }, {
  5260. "style": {
  5261. "height": "36px"
  5262. }
  5263. }).form; //创建窗体
  5264. _taskbar = {
  5265. "id": str + _formdiv.id,
  5266. "style": {
  5267. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5268. },
  5269. "name": "思维导图",
  5270. "forms": _formdiv,
  5271. "click": function() {
  5272. U.MD.D.I.openApplication(str, obj, info);
  5273. }
  5274. }
  5275. break;
  5276. case "doc":
  5277. aTool = 6;
  5278. _iframe = $$("iframe", {
  5279. "frameborder": "no",
  5280. "border": "0",
  5281. "scrolling ": "no",
  5282. "style": {
  5283. "cssText": "border:0;width:100%;height:100%"
  5284. },
  5285. "src": "/Office/Word/WordEditArea.htm"
  5286. })
  5287. _box.appendChild(_iframe);
  5288. _box.appendChild(_jie);
  5289. _formdiv = new U.UF.UI.form(
  5290. "协同文档-" + _username,
  5291. _box, {
  5292. "id": "doc" + cid + stage + task + tool + _userid,
  5293. "style": {
  5294. "width": "90%",
  5295. "height": "90%",
  5296. "overflow": 'hidden'
  5297. },
  5298. "onresize": function() {}
  5299. }, {
  5300. closecallback: function() {}
  5301. }, {
  5302. "style": {
  5303. "height": "36px"
  5304. }
  5305. }).form; //创建窗体
  5306. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5307. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5308. })
  5309. _taskbar = {
  5310. "id": str + _formdiv.id,
  5311. "style": {
  5312. "backgroundImage": "url(/img/icon/doc.png)"
  5313. },
  5314. "name": "协同文档",
  5315. "forms": _formdiv,
  5316. "click": function() {
  5317. U.MD.D.I.openApplication(str, obj, info);
  5318. }
  5319. }
  5320. break;
  5321. case "mindNetwork": //好友打开
  5322. aTool = 7;
  5323. _iframe = $$("iframe", {
  5324. "webkitallowfullscreen": "",
  5325. "mozallowfullscreen": "",
  5326. "allowfullscreen": "",
  5327. "frameborder": "no",
  5328. "border": "0",
  5329. "scrolling ": "no",
  5330. "style": {
  5331. "cssText": "border:0; width:100%; height:100%;"
  5332. },
  5333. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5334. })
  5335. _box.appendChild(_iframe);
  5336. _box.appendChild(_jie);
  5337. _formdiv = new U.UF.UI.form(
  5338. "思维网格-" + _username,
  5339. _box, {
  5340. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5341. "style": {
  5342. "width": "90%",
  5343. "height": "90%",
  5344. "overflow": 'hidden'
  5345. },
  5346. "onresize": function() {}
  5347. }, {
  5348. closecallback: function() {}
  5349. }, {
  5350. "style": {
  5351. "height": "36px"
  5352. }
  5353. }).form; //创建窗体
  5354. _taskbar = {
  5355. "id": str + _formdiv.id,
  5356. "style": {
  5357. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5358. },
  5359. "name": "思维网格",
  5360. "forms": _formdiv,
  5361. "click": function() {
  5362. U.MD.D.I.openApplication(str, obj, info);
  5363. }
  5364. }
  5365. break;
  5366. case "courseDesign":
  5367. _iframe = $$("iframe", {
  5368. "webkitallowfullscreen": "",
  5369. "mozallowfullscreen": "",
  5370. "allowfullscreen": "",
  5371. "frameborder": "no",
  5372. "border": "0",
  5373. "scrolling ": "no",
  5374. "style": {
  5375. "cssText": "border:0; width:100%; height:100%;"
  5376. },
  5377. "src": "/course-design-vue"
  5378. })
  5379. _box.appendChild(_iframe);
  5380. _box.appendChild(_jie);
  5381. _formdiv = new U.UF.UI.form(
  5382. "项目设计-" + _username,
  5383. _box, {
  5384. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5385. "style": {
  5386. "width": "90%",
  5387. "height": "90%",
  5388. "overflow": 'hidden'
  5389. },
  5390. "onresize": function() {}
  5391. }, {
  5392. closecallback: function() {}
  5393. }, {
  5394. "style": {
  5395. "height": "36px"
  5396. }
  5397. }).form; //创建窗体
  5398. _taskbar = {
  5399. "id": str + _formdiv.id,
  5400. "style": {
  5401. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5402. },
  5403. "name": "项目设计",
  5404. "forms": _formdiv,
  5405. "click": function() {
  5406. U.MD.D.I.openApplication(str, obj, info);
  5407. }
  5408. }
  5409. break;
  5410. }
  5411. const script1 = document.createElement("script");
  5412. script1.type = "text/javascript";
  5413. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5414. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5415. const script2 = document.createElement("script");
  5416. script2.type = "text/javascript";
  5417. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5418. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5419. const script3 = document.createElement("script");
  5420. script3.type = "text/javascript";
  5421. script3.charset = "UTF-8";
  5422. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5423. const script4 = document.createElement("script");
  5424. script4.type = "text/javascript";
  5425. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5426. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5427. if (_iframe) {
  5428. if (str == 'doc') {
  5429. _iframe = _formdiv.querySelector('iframe')
  5430. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5431. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5432. _iframe.contentWindow.document.body.appendChild(script1);
  5433. _iframe.contentWindow.document.body.appendChild(script2);
  5434. // _iframe.contentWindow.document.body.appendChild(script3);
  5435. _iframe.contentWindow.document.body.appendChild(script4);
  5436. })
  5437. if (onloadListener) {
  5438. _iframe.contentDocument.location.reload()
  5439. } else {
  5440. _iframe.contentDocument.location.reload()
  5441. }
  5442. } else if (str == 'courseDesign') {
  5443. U.UF.DL.iframeLoad(_iframe, function() {
  5444. // _iframe.contentWindow.U.MD.O.W.load();
  5445. // _iframe.contentWindow.document.body.appendChild(script1);
  5446. _iframe.contentWindow.document.body.appendChild(script2);
  5447. _iframe.contentWindow.document.body.appendChild(script4);
  5448. })
  5449. } else if (str == 'mind') {
  5450. _iframe = _formdiv.querySelector('iframe')
  5451. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5452. //
  5453. _iframe.contentWindow.document.body.appendChild(script1);
  5454. _iframe.contentWindow.document.body.appendChild(script2);
  5455. _iframe.contentWindow.document.body.appendChild(script4);
  5456. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5457. })
  5458. if (onloadListener) {
  5459. _iframe.contentDocument.location.reload()
  5460. } else {
  5461. _iframe.contentDocument.location.reload()
  5462. }
  5463. } else if (str == 'whiteboard') {
  5464. _iframe = _formdiv.querySelector('iframe')
  5465. let onloadListener = _iframe.onload = () => {
  5466. _iframe.contentWindow.document.body.appendChild(script1);
  5467. _iframe.contentWindow.document.body.appendChild(script2);
  5468. _iframe.contentWindow.document.body.appendChild(script4);
  5469. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5470. };
  5471. if (onloadListener) {
  5472. _iframe.contentDocument.location.reload()
  5473. } else {
  5474. _iframe.contentDocument.location.reload()
  5475. }
  5476. } else {
  5477. _iframe.onload = () => {
  5478. _iframe.contentWindow.document.body.appendChild(script1);
  5479. _iframe.contentWindow.document.body.appendChild(script2);
  5480. // _iframe.contentWindow.document.body.appendChild(script3);
  5481. _iframe.contentWindow.document.body.appendChild(script4);
  5482. };
  5483. }
  5484. _jie.onclick = async() => {
  5485. let text = ''
  5486. if (aTool == 1) {
  5487. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5488. } else if (aTool == 6) {
  5489. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5490. } else if (aTool == 3) {
  5491. text = await U.MD.D.I.getEditorContent(_iframe);
  5492. }
  5493. _loading.style.display = 'flex'
  5494. console.log(_loading);
  5495. var _ajs = _iframe.contentWindow.document.createElement("script");
  5496. _ajs.type = "text/javascript";
  5497. _ajs.innerHTML =
  5498. // 'console.log(' + _loading + ');\n' +
  5499. 'var _js = document.createElement("script");\n' +
  5500. '_js.type="text/javascript";\n' +
  5501. '_js.charset="UTF-8";\n' +
  5502. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5503. "_js.onload = function(){\n" +
  5504. ' var a = document.getElementsByTagName("img")\n' +
  5505. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5506. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5507. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5508. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5509. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5510. "beforeUpload_shishi(file," +
  5511. "'" +
  5512. _userid +
  5513. "'" +
  5514. ", " +
  5515. "'" +
  5516. _cid +
  5517. "'" +
  5518. ", " +
  5519. "'" +
  5520. _stage +
  5521. "'" +
  5522. ", " +
  5523. "'" +
  5524. _task +
  5525. "'" +
  5526. ", " +
  5527. "'" +
  5528. _tool +
  5529. "'" +
  5530. ", " +
  5531. "'" +
  5532. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5533. "'" +
  5534. ", " +
  5535. "'" +
  5536. aTool +
  5537. "'" +
  5538. ", " +
  5539. "`" +
  5540. text +
  5541. "`" +
  5542. ")\n" +
  5543. " });\n" +
  5544. "}\n" +
  5545. "document.head.appendChild(_js);\n";
  5546. _iframe.contentWindow.document.head.appendChild(_ajs);
  5547. }
  5548. }
  5549. }
  5550. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5551. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5552. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5553. _userid = student.userid, //登录用户id
  5554. _username = student.student //用户名字
  5555. let _iframe;
  5556. let _cid = cid,
  5557. _stage = stage,
  5558. _task = task,
  5559. _tool = tool;
  5560. var _jie = $$("div", {
  5561. "style": {
  5562. "position": "absolute",
  5563. "bottom": "50px",
  5564. "right": "50px",
  5565. "zIndex": "9999",
  5566. "backgroundColor": "#2268bc",
  5567. "color": "#fff",
  5568. "padding": "12px 20px",
  5569. "cursor": "pointer",
  5570. "borderRadius": "4px",
  5571. },
  5572. "innerHTML": "提交作业"
  5573. })
  5574. let aTool = ''
  5575. let _loading = document.createElement('div')
  5576. _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;"
  5577. // _loading.id = "";
  5578. let _lchild = document.createElement('div')
  5579. let _limg = document.createElement('img')
  5580. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5581. _limg.style = "width: 26px;margin-right: 10px;"
  5582. _lchild.appendChild(_limg)
  5583. let _lspan = document.createElement('span')
  5584. _lspan.innerHTML = "上传中..."
  5585. _lchild.appendChild(_lspan)
  5586. _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%);"
  5587. _loading.appendChild(_lchild)
  5588. var _box = $$('div', {
  5589. "style": {
  5590. "position": "relative",
  5591. "width": "100%",
  5592. "height": "100%",
  5593. },
  5594. })
  5595. _box.appendChild(_loading)
  5596. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5597. switch (str) {
  5598. case "whiteboard":
  5599. aTool = 1;
  5600. _iframe = $$("iframe", {
  5601. "frameborder": "no",
  5602. "border": "0",
  5603. "scrolling ": "no",
  5604. "style": {
  5605. "cssText": "border:0;width:100%;height:100%"
  5606. },
  5607. "src": "https://iwb.cocorobo.cn/"
  5608. })
  5609. _box.appendChild(_iframe);
  5610. _box.appendChild(_jie);
  5611. _formdiv = new U.UF.UI.form(
  5612. "电子白板-" + _username,
  5613. _box, {
  5614. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5615. "style": {
  5616. "width": "90%",
  5617. "height": "90%",
  5618. "overflow": 'hidden'
  5619. },
  5620. "onresize": function() {}
  5621. }, {
  5622. closecallback: function() {}
  5623. }, {
  5624. "style": {
  5625. "height": "36px"
  5626. }
  5627. }).form; //创建窗体
  5628. _taskbar = {
  5629. "id": str + _formdiv.id,
  5630. "style": {
  5631. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5632. },
  5633. "name": "电子白板",
  5634. "forms": _formdiv,
  5635. "click": function() {
  5636. U.MD.D.I.openApplication(str, obj, info);
  5637. }
  5638. }
  5639. break;
  5640. case "mind":
  5641. aTool = 3;
  5642. _iframe = $$("iframe", {
  5643. "frameborder": "no",
  5644. "border": "0",
  5645. "scrolling ": "no",
  5646. "style": {
  5647. "cssText": "border:0;width:100%;height:100%"
  5648. },
  5649. "src": "/kityminder-editor/dist/index.html"
  5650. })
  5651. _box.appendChild(_iframe);
  5652. _box.appendChild(_jie);
  5653. _formdiv = new U.UF.UI.form(
  5654. "思维导图-" + _username,
  5655. _box, { //"/jsmind/example/demo.html"
  5656. "id": "mind" + cid + stage + task + tool + _userid,
  5657. "style": {
  5658. "width": "90%",
  5659. "height": "90%",
  5660. "overflow": 'hidden'
  5661. },
  5662. "onresize": function() {}
  5663. }, {
  5664. closecallback: function() {}
  5665. }, {
  5666. "style": {
  5667. "height": "36px"
  5668. }
  5669. }).form; //创建窗体
  5670. _taskbar = {
  5671. "id": str + _formdiv.id,
  5672. "style": {
  5673. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5674. },
  5675. "name": "思维导图",
  5676. "forms": _formdiv,
  5677. "click": function() {
  5678. U.MD.D.I.openApplication(str, obj, info);
  5679. }
  5680. }
  5681. break;
  5682. case "MindMap":
  5683. aTool = 3;
  5684. _iframe = $$("iframe", {
  5685. "frameborder": "no",
  5686. "border": "0",
  5687. "scrolling ": "no",
  5688. "style": {
  5689. "cssText": "border:0;width:100%;height:100%"
  5690. },
  5691. "src": "//cloud.cocorobo.cn/mind/"
  5692. })
  5693. _box.appendChild(_iframe);
  5694. _box.appendChild(_jie);
  5695. _formdiv = new U.UF.UI.form(
  5696. "思维导图-" + _username,
  5697. _box, { //"/jsmind/example/demo.html"
  5698. "id": "mind" + cid + stage + task + tool + _userid,
  5699. "style": {
  5700. "width": "90%",
  5701. "height": "90%",
  5702. "overflow": 'hidden'
  5703. },
  5704. "onresize": function() {}
  5705. }, {
  5706. closecallback: function() {}
  5707. }, {
  5708. "style": {
  5709. "height": "36px"
  5710. }
  5711. }).form; //创建窗体
  5712. _taskbar = {
  5713. "id": str + _formdiv.id,
  5714. "style": {
  5715. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5716. },
  5717. "name": "思维导图",
  5718. "forms": _formdiv,
  5719. "click": function() {
  5720. U.MD.D.I.openApplication(str, obj, info);
  5721. }
  5722. }
  5723. break;
  5724. case "doc":
  5725. aTool = 6;
  5726. _iframe = $$("iframe", {
  5727. "frameborder": "no",
  5728. "border": "0",
  5729. "scrolling ": "no",
  5730. "style": {
  5731. "cssText": "border:0;width:100%;height:100%"
  5732. },
  5733. "src": "/Office/Word/WordEditArea.htm"
  5734. })
  5735. _box.appendChild(_iframe);
  5736. _box.appendChild(_jie);
  5737. _formdiv = new U.UF.UI.form(
  5738. "协同文档-" + _username,
  5739. _box, {
  5740. "id": "doc" + cid + stage + task + tool + _userid,
  5741. "style": {
  5742. "width": "90%",
  5743. "height": "90%",
  5744. "overflow": 'hidden'
  5745. },
  5746. "onresize": function() {}
  5747. }, {
  5748. closecallback: function() {}
  5749. }, {
  5750. "style": {
  5751. "height": "36px"
  5752. }
  5753. }).form; //创建窗体
  5754. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5755. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5756. })
  5757. _taskbar = {
  5758. "id": str + _formdiv.id,
  5759. "style": {
  5760. "backgroundImage": "url(/img/icon/doc.png)"
  5761. },
  5762. "name": "协同文档",
  5763. "forms": _formdiv,
  5764. "click": function() {
  5765. U.MD.D.I.openApplication(str, obj, info);
  5766. }
  5767. }
  5768. break;
  5769. case "mindNetwork": //好友打开
  5770. aTool = 7;
  5771. _iframe = $$("iframe", {
  5772. "webkitallowfullscreen": "",
  5773. "mozallowfullscreen": "",
  5774. "allowfullscreen": "",
  5775. "frameborder": "no",
  5776. "border": "0",
  5777. "scrolling ": "no",
  5778. "style": {
  5779. "cssText": "border:0; width:100%; height:100%;"
  5780. },
  5781. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5782. })
  5783. _box.appendChild(_iframe);
  5784. _box.appendChild(_jie);
  5785. _formdiv = new U.UF.UI.form(
  5786. "思维网格-" + _username,
  5787. _box, {
  5788. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5789. "style": {
  5790. "width": "90%",
  5791. "height": "90%",
  5792. "overflow": 'hidden'
  5793. },
  5794. "onresize": function() {}
  5795. }, {
  5796. closecallback: function() {}
  5797. }, {
  5798. "style": {
  5799. "height": "36px"
  5800. }
  5801. }).form; //创建窗体
  5802. _taskbar = {
  5803. "id": str + _formdiv.id,
  5804. "style": {
  5805. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5806. },
  5807. "name": "思维网格",
  5808. "forms": _formdiv,
  5809. "click": function() {
  5810. U.MD.D.I.openApplication(str, obj, info);
  5811. }
  5812. }
  5813. break;
  5814. case "courseDesign":
  5815. _iframe = $$("iframe", {
  5816. "webkitallowfullscreen": "",
  5817. "mozallowfullscreen": "",
  5818. "allowfullscreen": "",
  5819. "frameborder": "no",
  5820. "border": "0",
  5821. "scrolling ": "no",
  5822. "style": {
  5823. "cssText": "border:0; width:100%; height:100%;"
  5824. },
  5825. "src": "/course-design-vue"
  5826. })
  5827. _box.appendChild(_iframe);
  5828. _box.appendChild(_jie);
  5829. _formdiv = new U.UF.UI.form(
  5830. "项目设计-" + _username,
  5831. _box, {
  5832. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5833. "style": {
  5834. "width": "90%",
  5835. "height": "90%",
  5836. "overflow": 'hidden'
  5837. },
  5838. "onresize": function() {}
  5839. }, {
  5840. closecallback: function() {}
  5841. }, {
  5842. "style": {
  5843. "height": "36px"
  5844. }
  5845. }).form; //创建窗体
  5846. _taskbar = {
  5847. "id": str + _formdiv.id,
  5848. "style": {
  5849. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5850. },
  5851. "name": "项目设计",
  5852. "forms": _formdiv,
  5853. "click": function() {
  5854. U.MD.D.I.openApplication(str, obj, info);
  5855. }
  5856. }
  5857. break;
  5858. }
  5859. const script1 = document.createElement("script");
  5860. script1.type = "text/javascript";
  5861. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5862. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5863. const script2 = document.createElement("script");
  5864. script2.type = "text/javascript";
  5865. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5866. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5867. const script3 = document.createElement("script");
  5868. script3.type = "text/javascript";
  5869. script3.charset = "UTF-8";
  5870. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5871. const script4 = document.createElement("script");
  5872. script4.type = "text/javascript";
  5873. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5874. script4.src = window.origin + "/js/Common/jietu2E.js";
  5875. if (_iframe) {
  5876. if (str == 'doc') {
  5877. _iframe = _formdiv.querySelector('iframe')
  5878. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5879. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5880. _iframe.contentWindow.document.body.appendChild(script1);
  5881. _iframe.contentWindow.document.body.appendChild(script2);
  5882. // _iframe.contentWindow.document.body.appendChild(script3);
  5883. _iframe.contentWindow.document.body.appendChild(script4);
  5884. })
  5885. if (onloadListener) {
  5886. _iframe.contentDocument.location.reload()
  5887. } else {
  5888. _iframe.contentDocument.location.reload()
  5889. }
  5890. } else if (str == 'courseDesign') {
  5891. U.UF.DL.iframeLoad(_iframe, function() {
  5892. // _iframe.contentWindow.U.MD.O.W.load();
  5893. // _iframe.contentWindow.document.body.appendChild(script1);
  5894. _iframe.contentWindow.document.body.appendChild(script2);
  5895. _iframe.contentWindow.document.body.appendChild(script4);
  5896. })
  5897. } else if (str == 'mind') {
  5898. _iframe = _formdiv.querySelector('iframe')
  5899. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5900. //
  5901. _iframe.contentWindow.document.body.appendChild(script1);
  5902. _iframe.contentWindow.document.body.appendChild(script2);
  5903. _iframe.contentWindow.document.body.appendChild(script4);
  5904. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5905. })
  5906. if (onloadListener) {
  5907. _iframe.contentDocument.location.reload()
  5908. } else {
  5909. _iframe.contentDocument.location.reload()
  5910. }
  5911. } else if (str == 'whiteboard') {
  5912. _iframe = _formdiv.querySelector('iframe')
  5913. let onloadListener = _iframe.onload = () => {
  5914. _iframe.contentWindow.document.body.appendChild(script1);
  5915. _iframe.contentWindow.document.body.appendChild(script2);
  5916. _iframe.contentWindow.document.body.appendChild(script4);
  5917. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5918. };
  5919. if (onloadListener) {
  5920. _iframe.contentDocument.location.reload()
  5921. } else {
  5922. _iframe.contentDocument.location.reload()
  5923. }
  5924. } else {
  5925. _iframe.onload = () => {
  5926. _iframe.contentWindow.document.body.appendChild(script1);
  5927. _iframe.contentWindow.document.body.appendChild(script2);
  5928. // _iframe.contentWindow.document.body.appendChild(script3);
  5929. _iframe.contentWindow.document.body.appendChild(script4);
  5930. };
  5931. }
  5932. _jie.onclick = async() => {
  5933. let text = ''
  5934. if (aTool == 1) {
  5935. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5936. } else if (aTool == 6) {
  5937. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5938. } else if (aTool == 3) {
  5939. text = await U.MD.D.I.getEditorContent(_iframe);
  5940. }
  5941. _loading.style.display = 'flex'
  5942. console.log(_loading);
  5943. var _ajs = _iframe.contentWindow.document.createElement("script");
  5944. _ajs.type = "text/javascript";
  5945. _ajs.innerHTML =
  5946. // 'console.log(' + _loading + ');\n' +
  5947. 'var _js = document.createElement("script");\n' +
  5948. '_js.type="text/javascript";\n' +
  5949. '_js.charset="UTF-8";\n' +
  5950. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5951. "_js.onload = function(){\n" +
  5952. ' var a = document.getElementsByTagName("img")\n' +
  5953. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5954. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5955. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5956. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5957. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5958. "beforeUpload_shishi(file," +
  5959. "'" +
  5960. _userid +
  5961. "'" +
  5962. ", " +
  5963. "'" +
  5964. _cid +
  5965. "'" +
  5966. ", " +
  5967. "'" +
  5968. _stage +
  5969. "'" +
  5970. ", " +
  5971. "'" +
  5972. _task +
  5973. "'" +
  5974. ", " +
  5975. "'" +
  5976. _tool +
  5977. "'" +
  5978. ", " +
  5979. "'" +
  5980. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  5981. "'" +
  5982. ", " +
  5983. "'" +
  5984. aTool +
  5985. "'" +
  5986. ", " +
  5987. "`" +
  5988. text +
  5989. "`" +
  5990. ")\n" +
  5991. " });\n" +
  5992. "}\n" +
  5993. "document.head.appendChild(_js);\n";
  5994. _iframe.contentWindow.document.head.appendChild(_ajs);
  5995. }
  5996. }
  5997. }
  5998. U.MD.D.I.getEditorContent = function(iframe) {
  5999. return new Promise((resolve, reject) => {
  6000. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6001. console.log(content);
  6002. resolve(content)
  6003. });
  6004. });
  6005. }
  6006. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6007. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6008. // if (res.value[0].length > 0) {
  6009. // // resolve(res.value[0][0].text);
  6010. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6011. // $(fileInput).val('');
  6012. // });
  6013. // }
  6014. // }, [], { "type": "GET", "withCredentials": true });
  6015. var xmlhttp;
  6016. var Mac, Sn, DeviceId
  6017. if (window.XMLHttpRequest) {
  6018. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6019. xmlhttp = new XMLHttpRequest();
  6020. } else {
  6021. // IE6, IE5 浏览器执行代码
  6022. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6023. }
  6024. xmlhttp.onreadystatechange = function() {
  6025. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6026. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6027. // resolve(res.value[0][0].text);
  6028. if (type == '2') {
  6029. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6030. } else if (type == '3') {
  6031. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6032. }
  6033. } else {
  6034. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6035. }
  6036. }
  6037. }
  6038. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6039. xmlhttp.send();
  6040. }
  6041. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6042. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6043. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6044. _userinfo = US.userInfo, //登录用户信息
  6045. _userid = US.userInfo.userid //登录用户id
  6046. let _iframe;
  6047. let _cid = cid,
  6048. _stage = stage,
  6049. _task = task,
  6050. _tool = tool;
  6051. var _jie = $$("div", {
  6052. "style": {
  6053. "position": "absolute",
  6054. "bottom": "50px",
  6055. "right": "50px",
  6056. "zIndex": "9999",
  6057. "backgroundColor": "#2268bc",
  6058. "color": "#fff",
  6059. "padding": "12px 20px",
  6060. "cursor": "pointer",
  6061. "borderRadius": "4px",
  6062. },
  6063. "innerHTML": "确认并提交"
  6064. })
  6065. let aTool = ''
  6066. let _loading = document.createElement('div')
  6067. _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;"
  6068. // _loading.id = "";
  6069. let _lchild = document.createElement('div')
  6070. let _limg = document.createElement('img')
  6071. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6072. _limg.style = "width: 26px;margin-right: 10px;"
  6073. _lchild.appendChild(_limg)
  6074. let _lspan = document.createElement('span')
  6075. _lspan.innerHTML = "上传中..."
  6076. _lchild.appendChild(_lspan)
  6077. _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%);"
  6078. _loading.appendChild(_lchild)
  6079. var _box = $$('div', {
  6080. "style": {
  6081. "position": "relative",
  6082. "width": "100%",
  6083. "height": "100%",
  6084. },
  6085. })
  6086. _box.appendChild(_loading)
  6087. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6088. switch (str) {
  6089. case "whiteboard":
  6090. aTool = 1;
  6091. _iframe = $$("iframe", {
  6092. "frameborder": "no",
  6093. "border": "0",
  6094. "scrolling ": "no",
  6095. "style": {
  6096. "cssText": "border:0;width:100%;height:100%"
  6097. },
  6098. "src": "https://iwb.cocorobo.cn/"
  6099. })
  6100. _box.appendChild(_iframe);
  6101. _box.appendChild(_jie);
  6102. _formdiv = new U.UF.UI.form(
  6103. "电子白板",
  6104. _box, {
  6105. "id": "whiteboards" + cid + stage + task + tool,
  6106. "style": {
  6107. "width": "90%",
  6108. "height": "90%",
  6109. "overflow": 'hidden'
  6110. },
  6111. "onresize": function() {}
  6112. }, {
  6113. closecallback: function() {}
  6114. }, {
  6115. "style": {
  6116. "height": "36px"
  6117. }
  6118. }).form; //创建窗体
  6119. _taskbar = {
  6120. "id": str + _formdiv.id,
  6121. "style": {
  6122. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6123. },
  6124. "name": "电子白板",
  6125. "forms": _formdiv,
  6126. "click": function() {
  6127. U.MD.D.I.openApplication(str, obj, info);
  6128. }
  6129. }
  6130. break;
  6131. case "mind":
  6132. aTool = 3;
  6133. _iframe = $$("iframe", {
  6134. "frameborder": "no",
  6135. "border": "0",
  6136. "scrolling ": "no",
  6137. "style": {
  6138. "cssText": "border:0;width:100%;height:100%"
  6139. },
  6140. "src": "/kityminder-editor/dist/index.html"
  6141. });
  6142. _box.appendChild(_iframe);
  6143. _box.appendChild(_jie);
  6144. _formdiv = new U.UF.UI.form(
  6145. "思维导图",
  6146. _box, { //"/jsmind/example/demo.html"
  6147. "id": "minds" + cid + stage + task + tool,
  6148. "style": {
  6149. "width": "90%",
  6150. "height": "90%",
  6151. "overflow": 'hidden'
  6152. },
  6153. "onresize": function() {}
  6154. }, {
  6155. closecallback: function() {}
  6156. }, {
  6157. "style": {
  6158. "height": "36px"
  6159. }
  6160. }).form; //创建窗体
  6161. _taskbar = {
  6162. "id": str + _formdiv.id,
  6163. "style": {
  6164. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6165. },
  6166. "name": "思维导图",
  6167. "forms": _formdiv,
  6168. "click": function() {
  6169. U.MD.D.I.openApplication(str, obj, info);
  6170. }
  6171. }
  6172. break;
  6173. case "doc":
  6174. aTool = 6;
  6175. _iframe = $$("iframe", {
  6176. "frameborder": "no",
  6177. "border": "0",
  6178. "scrolling ": "no",
  6179. "style": {
  6180. "cssText": "border:0;width:100%;height:100%"
  6181. },
  6182. "src": "/Office/Word/WordEditArea.htm"
  6183. })
  6184. _box.appendChild(_iframe);
  6185. _box.appendChild(_jie);
  6186. _formdiv = new U.UF.UI.form(
  6187. "协同文档",
  6188. _box, {
  6189. "id": "docs" + cid + stage + task + tool,
  6190. "style": {
  6191. "width": "90%",
  6192. "height": "90%",
  6193. "overflow": 'hidden'
  6194. },
  6195. "onresize": function() {}
  6196. }, {
  6197. closecallback: function() {}
  6198. }, {
  6199. "style": {
  6200. "height": "36px"
  6201. }
  6202. }).form; //创建窗体
  6203. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6204. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6205. })
  6206. _taskbar = {
  6207. "id": str + _formdiv.id,
  6208. "style": {
  6209. "backgroundImage": "url(/img/icon/doc.png)"
  6210. },
  6211. "name": "协同文档",
  6212. "forms": _formdiv,
  6213. "click": function() {
  6214. U.MD.D.I.openApplication(str, obj, info);
  6215. }
  6216. }
  6217. break;
  6218. }
  6219. const script1 = document.createElement("script");
  6220. script1.type = "text/javascript";
  6221. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6222. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6223. const script2 = document.createElement("script");
  6224. script2.type = "text/javascript";
  6225. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6226. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6227. const script3 = document.createElement("script");
  6228. script3.type = "text/javascript";
  6229. script3.charset = "UTF-8";
  6230. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6231. const script4 = document.createElement("script");
  6232. script4.type = "text/javascript";
  6233. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6234. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6235. if (_iframe) {
  6236. if (str == 'doc') {
  6237. _iframe = _formdiv.querySelector('iframe')
  6238. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6239. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6240. _iframe.contentWindow.document.body.appendChild(script1);
  6241. _iframe.contentWindow.document.body.appendChild(script2);
  6242. // _iframe.contentWindow.document.body.appendChild(script3);
  6243. _iframe.contentWindow.document.body.appendChild(script4);
  6244. })
  6245. if (onloadListener) {
  6246. _iframe.contentDocument.location.reload()
  6247. } else {
  6248. _iframe.contentDocument.location.reload()
  6249. }
  6250. } else if (str == 'mind') {
  6251. _iframe = _formdiv.querySelector('iframe')
  6252. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6253. _iframe.contentWindow.document.body.appendChild(script1);
  6254. _iframe.contentWindow.document.body.appendChild(script2);
  6255. _iframe.contentWindow.document.body.appendChild(script4);
  6256. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6257. })
  6258. if (onloadListener) {
  6259. _iframe.contentDocument.location.reload()
  6260. } else {
  6261. _iframe.contentDocument.location.reload()
  6262. }
  6263. } else {
  6264. _iframe.onload = () => {
  6265. _iframe.contentWindow.document.body.appendChild(script1);
  6266. _iframe.contentWindow.document.body.appendChild(script2);
  6267. // _iframe.contentWindow.document.body.appendChild(script3);
  6268. _iframe.contentWindow.document.body.appendChild(script4);
  6269. };
  6270. }
  6271. _jie.onclick = async() => {
  6272. let text = ''
  6273. if (aTool == 6) {
  6274. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6275. } else if (aTool == 3) {
  6276. text = await U.MD.D.I.getEditorContent(_iframe);
  6277. }
  6278. _loading.style.display = 'flex'
  6279. console.log(_loading);
  6280. var _ajs = _iframe.contentWindow.document.createElement("script");
  6281. _ajs.type = "text/javascript";
  6282. _ajs.innerHTML =
  6283. // 'console.log(' + _loading + ');\n' +
  6284. 'var _js = document.createElement("script");\n' +
  6285. '_js.type="text/javascript";\n' +
  6286. '_js.charset="UTF-8";\n' +
  6287. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6288. "_js.onload = function(){\n" +
  6289. ' var a = document.getElementsByTagName("img")\n' +
  6290. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6291. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6292. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6293. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6294. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6295. "beforeUpload_shishi(file," +
  6296. "'" +
  6297. _userid +
  6298. "'" +
  6299. ", " +
  6300. "'" +
  6301. _cid +
  6302. "'" +
  6303. ", " +
  6304. "'" +
  6305. _stage +
  6306. "'" +
  6307. ", " +
  6308. "'" +
  6309. _task +
  6310. "'" +
  6311. ", " +
  6312. "'" +
  6313. _tool +
  6314. "'" +
  6315. ", " +
  6316. "'" +
  6317. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6318. "'" +
  6319. ", " +
  6320. "'" +
  6321. aTool +
  6322. "'" +
  6323. ", " +
  6324. "`" +
  6325. text +
  6326. "`" +
  6327. ")\n" +
  6328. " });\n" +
  6329. "}\n" +
  6330. "document.head.appendChild(_js);\n";
  6331. _iframe.contentWindow.document.head.appendChild(_ajs);
  6332. }
  6333. }
  6334. //U.MD.D.I.openClick(str);
  6335. //如果有任务栏信息
  6336. // if (_taskbar) {
  6337. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6338. // }
  6339. }
  6340. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6341. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6342. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6343. _userinfo = US.userInfo, //登录用户信息
  6344. _userid = US.userInfo.userid //登录用户id
  6345. let _iframe;
  6346. let _cid = cid,
  6347. _stage = stage,
  6348. _task = task,
  6349. _tool = tool;
  6350. var _jie = $$("div", {
  6351. "style": {
  6352. "position": "absolute",
  6353. "bottom": "50px",
  6354. "right": "50px",
  6355. "zIndex": "9999",
  6356. "backgroundColor": "#2268bc",
  6357. "color": "#fff",
  6358. "padding": "12px 20px",
  6359. "cursor": "pointer",
  6360. "borderRadius": "4px",
  6361. },
  6362. "innerHTML": "确认并提交"
  6363. })
  6364. let aTool = ''
  6365. let _loading = document.createElement('div')
  6366. _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;"
  6367. // _loading.id = "";
  6368. let _lchild = document.createElement('div')
  6369. let _limg = document.createElement('img')
  6370. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6371. _limg.style = "width: 26px;margin-right: 10px;"
  6372. _lchild.appendChild(_limg)
  6373. let _lspan = document.createElement('span')
  6374. _lspan.innerHTML = "上传中..."
  6375. _lchild.appendChild(_lspan)
  6376. _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%);"
  6377. _loading.appendChild(_lchild)
  6378. var _box = $$('div', {
  6379. "style": {
  6380. "position": "relative",
  6381. "width": "100%",
  6382. "height": "100%",
  6383. },
  6384. })
  6385. _box.appendChild(_loading)
  6386. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6387. switch (str) {
  6388. case "whiteboard":
  6389. aTool = 1;
  6390. _iframe = $$("iframe", {
  6391. "frameborder": "no",
  6392. "border": "0",
  6393. "scrolling ": "no",
  6394. "style": {
  6395. "cssText": "border:0;width:100%;height:100%"
  6396. },
  6397. "src": "https://iwb.cocorobo.cn/"
  6398. })
  6399. _box.appendChild(_iframe);
  6400. _box.appendChild(_jie);
  6401. _formdiv = new U.UF.UI.form(
  6402. "电子白板",
  6403. _box, {
  6404. "id": "whiteboards" + cid + stage + task + tool,
  6405. "style": {
  6406. "width": "90%",
  6407. "height": "90%",
  6408. "overflow": 'hidden'
  6409. },
  6410. "onresize": function() {}
  6411. }, {
  6412. closecallback: function() {}
  6413. }, {
  6414. "style": {
  6415. "height": "36px"
  6416. }
  6417. }).form; //创建窗体
  6418. _taskbar = {
  6419. "id": str + _formdiv.id,
  6420. "style": {
  6421. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6422. },
  6423. "name": "电子白板",
  6424. "forms": _formdiv,
  6425. "click": function() {
  6426. U.MD.D.I.openApplication(str, obj, info);
  6427. }
  6428. }
  6429. break;
  6430. case "mind":
  6431. aTool = 3;
  6432. _iframe = $$("iframe", {
  6433. "frameborder": "no",
  6434. "border": "0",
  6435. "scrolling ": "no",
  6436. "style": {
  6437. "cssText": "border:0;width:100%;height:100%"
  6438. },
  6439. "src": "/kityminder-editor/dist/index.html"
  6440. });
  6441. _box.appendChild(_iframe);
  6442. _box.appendChild(_jie);
  6443. _formdiv = new U.UF.UI.form(
  6444. "思维导图",
  6445. _box, { //"/jsmind/example/demo.html"
  6446. "id": "minds" + cid + stage + task + tool,
  6447. "style": {
  6448. "width": "90%",
  6449. "height": "90%",
  6450. "overflow": 'hidden'
  6451. },
  6452. "onresize": function() {}
  6453. }, {
  6454. closecallback: function() {}
  6455. }, {
  6456. "style": {
  6457. "height": "36px"
  6458. }
  6459. }).form; //创建窗体
  6460. _taskbar = {
  6461. "id": str + _formdiv.id,
  6462. "style": {
  6463. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6464. },
  6465. "name": "思维导图",
  6466. "forms": _formdiv,
  6467. "click": function() {
  6468. U.MD.D.I.openApplication(str, obj, info);
  6469. }
  6470. }
  6471. break;
  6472. case "doc":
  6473. aTool = 6;
  6474. _iframe = $$("iframe", {
  6475. "frameborder": "no",
  6476. "border": "0",
  6477. "scrolling ": "no",
  6478. "style": {
  6479. "cssText": "border:0;width:100%;height:100%"
  6480. },
  6481. "src": "/Office/Word/WordEditArea.htm"
  6482. })
  6483. _box.appendChild(_iframe);
  6484. _box.appendChild(_jie);
  6485. _formdiv = new U.UF.UI.form(
  6486. "协同文档",
  6487. _box, {
  6488. "id": "docs" + cid + stage + task + tool,
  6489. "style": {
  6490. "width": "90%",
  6491. "height": "90%",
  6492. "overflow": 'hidden'
  6493. },
  6494. "onresize": function() {}
  6495. }, {
  6496. closecallback: function() {}
  6497. }, {
  6498. "style": {
  6499. "height": "36px"
  6500. }
  6501. }).form; //创建窗体
  6502. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6503. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6504. })
  6505. _taskbar = {
  6506. "id": str + _formdiv.id,
  6507. "style": {
  6508. "backgroundImage": "url(/img/icon/doc.png)"
  6509. },
  6510. "name": "协同文档",
  6511. "forms": _formdiv,
  6512. "click": function() {
  6513. U.MD.D.I.openApplication(str, obj, info);
  6514. }
  6515. }
  6516. break;
  6517. }
  6518. const script1 = document.createElement("script");
  6519. script1.type = "text/javascript";
  6520. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6521. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6522. const script2 = document.createElement("script");
  6523. script2.type = "text/javascript";
  6524. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6525. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6526. const script3 = document.createElement("script");
  6527. script3.type = "text/javascript";
  6528. script3.charset = "UTF-8";
  6529. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6530. const script4 = document.createElement("script");
  6531. script4.type = "text/javascript";
  6532. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6533. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6534. if (_iframe) {
  6535. if (str == 'doc') {
  6536. _iframe = _formdiv.querySelector('iframe')
  6537. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6538. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6539. _iframe.contentWindow.document.body.appendChild(script1);
  6540. _iframe.contentWindow.document.body.appendChild(script2);
  6541. // _iframe.contentWindow.document.body.appendChild(script3);
  6542. _iframe.contentWindow.document.body.appendChild(script4);
  6543. })
  6544. if (onloadListener) {
  6545. _iframe.contentDocument.location.reload()
  6546. } else {
  6547. _iframe.contentDocument.location.reload()
  6548. }
  6549. } else if (str == 'mind') {
  6550. _iframe = _formdiv.querySelector('iframe')
  6551. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6552. _iframe.contentWindow.document.body.appendChild(script1);
  6553. _iframe.contentWindow.document.body.appendChild(script2);
  6554. _iframe.contentWindow.document.body.appendChild(script4);
  6555. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6556. })
  6557. if (onloadListener) {
  6558. _iframe.contentDocument.location.reload()
  6559. } else {
  6560. _iframe.contentDocument.location.reload()
  6561. }
  6562. } else {
  6563. _iframe.onload = () => {
  6564. _iframe.contentWindow.document.body.appendChild(script1);
  6565. _iframe.contentWindow.document.body.appendChild(script2);
  6566. // _iframe.contentWindow.document.body.appendChild(script3);
  6567. _iframe.contentWindow.document.body.appendChild(script4);
  6568. };
  6569. }
  6570. _jie.onclick = async() => {
  6571. let text = ''
  6572. if (aTool == 6) {
  6573. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6574. } else if (aTool == 3) {
  6575. text = await U.MD.D.I.getEditorContent(_iframe);
  6576. }
  6577. _loading.style.display = 'flex'
  6578. console.log(_loading);
  6579. var _ajs = _iframe.contentWindow.document.createElement("script");
  6580. _ajs.type = "text/javascript";
  6581. _ajs.innerHTML =
  6582. // 'console.log(' + _loading + ');\n' +
  6583. 'var _js = document.createElement("script");\n' +
  6584. '_js.type="text/javascript";\n' +
  6585. '_js.charset="UTF-8";\n' +
  6586. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6587. "_js.onload = function(){\n" +
  6588. ' var a = document.getElementsByTagName("img")\n' +
  6589. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6590. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6591. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6592. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6593. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6594. "beforeUpload_shishi(file," +
  6595. "'" +
  6596. _userid +
  6597. "'" +
  6598. ", " +
  6599. "'" +
  6600. _cid +
  6601. "'" +
  6602. ", " +
  6603. "'" +
  6604. _stage +
  6605. "'" +
  6606. ", " +
  6607. "'" +
  6608. _task +
  6609. "'" +
  6610. ", " +
  6611. "'" +
  6612. _tool +
  6613. "'" +
  6614. ", " +
  6615. "'" +
  6616. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6617. "'" +
  6618. ", " +
  6619. "'" +
  6620. aTool +
  6621. "'" +
  6622. ", " +
  6623. "`" +
  6624. text +
  6625. "`" +
  6626. ")\n" +
  6627. " });\n" +
  6628. "}\n" +
  6629. "document.head.appendChild(_js);\n";
  6630. _iframe.contentWindow.document.head.appendChild(_ajs);
  6631. }
  6632. }
  6633. //U.MD.D.I.openClick(str);
  6634. //如果有任务栏信息
  6635. // if (_taskbar) {
  6636. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6637. // }
  6638. }
  6639. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6640. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6641. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6642. _userinfo = US.userInfo, //登录用户信息
  6643. _userid = US.userInfo.userid //登录用户id
  6644. let _iframe;
  6645. let _cid = cid,
  6646. _stage = stage,
  6647. _task = task,
  6648. _tool = tool;
  6649. var _jie = $$("div", {
  6650. "style": {
  6651. "position": "absolute",
  6652. "bottom": "50px",
  6653. "right": "50px",
  6654. "zIndex": "9999",
  6655. "backgroundColor": "#2268bc",
  6656. "color": "#fff",
  6657. "padding": "12px 20px",
  6658. "cursor": "pointer",
  6659. "borderRadius": "4px",
  6660. },
  6661. "innerHTML": "上传模板"
  6662. })
  6663. let aTool = ''
  6664. let _loading = document.createElement('div')
  6665. _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;"
  6666. // _loading.id = "";
  6667. let _lchild = document.createElement('div')
  6668. let _limg = document.createElement('img')
  6669. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6670. _limg.style = "width: 26px;margin-right: 10px;"
  6671. _lchild.appendChild(_limg)
  6672. let _lspan = document.createElement('span')
  6673. _lspan.innerHTML = "上传中..."
  6674. _lchild.appendChild(_lspan)
  6675. _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%);"
  6676. _loading.appendChild(_lchild)
  6677. var _box = $$('div', {
  6678. "style": {
  6679. "position": "relative",
  6680. "width": "100%",
  6681. "height": "100%",
  6682. },
  6683. })
  6684. _box.appendChild(_loading)
  6685. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6686. switch (str) {
  6687. case "whiteboard":
  6688. aTool = 1;
  6689. _iframe = $$("iframe", {
  6690. "frameborder": "no",
  6691. "border": "0",
  6692. "scrolling ": "no",
  6693. "style": {
  6694. "cssText": "border:0;width:100%;height:100%"
  6695. },
  6696. "src": "https://iwb.cocorobo.cn/"
  6697. })
  6698. _box.appendChild(_iframe);
  6699. _box.appendChild(_jie);
  6700. _formdiv = new U.UF.UI.form(
  6701. "电子白板",
  6702. _box, {
  6703. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6704. "style": {
  6705. "width": "90%",
  6706. "height": "90%",
  6707. "overflow": 'hidden'
  6708. },
  6709. "onresize": function() {}
  6710. }, {
  6711. closecallback: function() {}
  6712. }, {
  6713. "style": {
  6714. "height": "36px"
  6715. }
  6716. }).form; //创建窗体
  6717. _taskbar = {
  6718. "id": str + _formdiv.id,
  6719. "style": {
  6720. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6721. },
  6722. "name": "电子白板",
  6723. "forms": _formdiv,
  6724. "click": function() {
  6725. U.MD.D.I.openApplication(str, obj, info);
  6726. }
  6727. }
  6728. break;
  6729. case "mind":
  6730. aTool = 3;
  6731. _iframe = $$("iframe", {
  6732. "frameborder": "no",
  6733. "border": "0",
  6734. "scrolling ": "no",
  6735. "style": {
  6736. "cssText": "border:0;width:100%;height:100%"
  6737. },
  6738. "src": "/kityminder-editor/dist/index.html"
  6739. });
  6740. _box.appendChild(_iframe);
  6741. _box.appendChild(_jie);
  6742. _formdiv = new U.UF.UI.form(
  6743. "思维导图",
  6744. _box, { //"/jsmind/example/demo.html"
  6745. "id": "minds_Yu" + cid + stage + task + tool,
  6746. "style": {
  6747. "width": "90%",
  6748. "height": "90%",
  6749. "overflow": 'hidden'
  6750. },
  6751. "onresize": function() {}
  6752. }, {
  6753. closecallback: function() {}
  6754. }, {
  6755. "style": {
  6756. "height": "36px"
  6757. }
  6758. }).form; //创建窗体
  6759. _taskbar = {
  6760. "id": str + _formdiv.id,
  6761. "style": {
  6762. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6763. },
  6764. "name": "思维导图",
  6765. "forms": _formdiv,
  6766. "click": function() {
  6767. U.MD.D.I.openApplication(str, obj, info);
  6768. }
  6769. }
  6770. break;
  6771. case "doc":
  6772. aTool = 6;
  6773. _iframe = $$("iframe", {
  6774. "frameborder": "no",
  6775. "border": "0",
  6776. "scrolling ": "no",
  6777. "style": {
  6778. "cssText": "border:0;width:100%;height:100%"
  6779. },
  6780. "src": "/Office/Word/WordEditArea.htm"
  6781. })
  6782. _box.appendChild(_iframe);
  6783. _box.appendChild(_jie);
  6784. _formdiv = new U.UF.UI.form(
  6785. "协同文档",
  6786. _box, {
  6787. "id": "docs_Yu" + cid + stage + task + tool,
  6788. "style": {
  6789. "width": "90%",
  6790. "height": "90%",
  6791. "overflow": 'hidden'
  6792. },
  6793. "onresize": function() {}
  6794. }, {
  6795. closecallback: function() {}
  6796. }, {
  6797. "style": {
  6798. "height": "36px"
  6799. }
  6800. }).form; //创建窗体
  6801. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6802. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6803. })
  6804. _taskbar = {
  6805. "id": str + _formdiv.id,
  6806. "style": {
  6807. "backgroundImage": "url(/img/icon/doc.png)"
  6808. },
  6809. "name": "协同文档",
  6810. "forms": _formdiv,
  6811. "click": function() {
  6812. U.MD.D.I.openApplication(str, obj, info);
  6813. }
  6814. }
  6815. break;
  6816. case "CocoPi":
  6817. aTool = 57;
  6818. _iframe = $$("iframe", {
  6819. "allowpaymentrequest": "allowpaymentrequest",
  6820. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6821. "webkitallowfullscreen": "",
  6822. "mozallowfullscreen": "",
  6823. "frameborder": "no",
  6824. "border": "0",
  6825. "scrolling ": "no",
  6826. "style": {
  6827. "cssText": "border:0;width:100%;height:100%"
  6828. },
  6829. "src": "https://pi.cocorobo.cn/"
  6830. })
  6831. _box.appendChild(_iframe);
  6832. _box.appendChild(_jie);
  6833. _formdiv = new U.UF.UI.form(
  6834. "CocoPi",
  6835. _box, {
  6836. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6837. "style": {
  6838. "width": "90%",
  6839. "height": "90%",
  6840. "overflow": 'hidden'
  6841. },
  6842. "onresize": function() {}
  6843. }, {
  6844. closecallback: function() {}
  6845. }, {
  6846. "style": {
  6847. "height": "36px"
  6848. }
  6849. }).form; //创建窗体
  6850. _taskbar = {
  6851. "id": str + _formdiv.id,
  6852. "style": {
  6853. "backgroundImage": "url(/img/icon/cocopi.png)"
  6854. },
  6855. "name": "CocoPi",
  6856. "forms": _formdiv,
  6857. "click": function() {
  6858. U.MD.D.I.openApplication(str, obj, info);
  6859. }
  6860. }
  6861. break;
  6862. }
  6863. if (_iframe) {
  6864. if (str == 'doc') {
  6865. _iframe = _formdiv.querySelector('iframe')
  6866. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6867. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6868. })
  6869. if (onloadListener) {
  6870. _iframe.contentDocument.location.reload()
  6871. } else {
  6872. _iframe.contentDocument.location.reload()
  6873. }
  6874. } else if (str == 'mind') {
  6875. _iframe = _formdiv.querySelector('iframe')
  6876. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6877. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6878. })
  6879. if (onloadListener) {
  6880. _iframe.contentDocument.location.reload()
  6881. } else {
  6882. _iframe.contentDocument.location.reload()
  6883. }
  6884. } else if (str == 'whiteboard') {
  6885. _iframe = _formdiv.querySelector('iframe')
  6886. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6887. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6888. })
  6889. if (onloadListener) {
  6890. _iframe.contentDocument.location.reload()
  6891. } else {
  6892. _iframe.contentDocument.location.reload()
  6893. }
  6894. } else if (str == 'CocoPi') {
  6895. _iframe = _formdiv.querySelector('iframe')
  6896. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6897. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6898. })
  6899. if (onloadListener) {
  6900. _iframe.contentDocument.location.reload()
  6901. } else {
  6902. _iframe.contentDocument.location.reload()
  6903. }
  6904. } else {
  6905. _iframe.onload = () => {};
  6906. }
  6907. _jie.onclick = async() => {
  6908. let text = ''
  6909. let type = '2'
  6910. if (aTool == 1) {
  6911. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6912. type = '3'
  6913. } else if (aTool == 6) {
  6914. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6915. type = '1'
  6916. } else if (aTool == 3) {
  6917. text = await U.MD.D.I.getEditorContent(_iframe);
  6918. type = '2'
  6919. } else if (aTool == 57) {
  6920. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6921. type = '4'
  6922. }
  6923. _loading.style.display = 'flex'
  6924. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6925. }
  6926. }
  6927. //U.MD.D.I.openClick(str);
  6928. //如果有任务栏信息
  6929. // if (_taskbar) {
  6930. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6931. // }
  6932. }
  6933. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6934. var xmlhttp;
  6935. var Mac, Sn, DeviceId
  6936. if (window.XMLHttpRequest) {
  6937. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6938. xmlhttp = new XMLHttpRequest();
  6939. } else {
  6940. // IE6, IE5 浏览器执行代码
  6941. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6942. }
  6943. xmlhttp.onreadystatechange = function() {
  6944. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6945. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6946. // resolve(res.value[0][0].text);
  6947. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6948. }
  6949. }
  6950. }
  6951. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6952. xmlhttp.send();
  6953. }
  6954. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6955. var xmlhttp;
  6956. var Mac, Sn, DeviceId
  6957. if (window.XMLHttpRequest) {
  6958. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6959. xmlhttp = new XMLHttpRequest();
  6960. } else {
  6961. // IE6, IE5 浏览器执行代码
  6962. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6963. }
  6964. xmlhttp.onreadystatechange = function() {
  6965. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6966. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6967. // resolve(res.value[0][0].text);
  6968. if (type == '2') {
  6969. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6970. } else if (type == '3') {
  6971. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6972. } else if (type == '4') {
  6973. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6974. }
  6975. } else {
  6976. if (type == '2') {
  6977. iframe.contentWindow.editor.minder.importData('json', '')
  6978. } else if (type == '3') {
  6979. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6980. } else if (type == '4') {
  6981. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6982. }
  6983. }
  6984. }
  6985. }
  6986. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6987. xmlhttp.send();
  6988. }
  6989. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  6990. var xmlhttp;
  6991. var Mac, Sn, DeviceId
  6992. if (window.XMLHttpRequest) {
  6993. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6994. xmlhttp = new XMLHttpRequest();
  6995. } else {
  6996. // IE6, IE5 浏览器执行代码
  6997. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6998. }
  6999. xmlhttp.onreadystatechange = function() {
  7000. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7001. if (xmlhttp.response) {
  7002. // resolve(res.value[0][0].text);
  7003. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7004. // $(fileInput).val('');
  7005. // });
  7006. span.innerHTML = '上传成功'
  7007. setTimeout(() => {
  7008. loading.style.display = 'none'
  7009. }, 1000);
  7010. }
  7011. }
  7012. }
  7013. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7014. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7015. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7016. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7017. // 设置请求头,表示请求体的编码格式
  7018. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7019. // 设置请求体,使用url-encoded格式的数据
  7020. }
  7021. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7022. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7023. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7024. _userinfo = US.userInfo, //登录用户信息
  7025. _userid = US.userInfo.userid //登录用户id
  7026. let _iframe;
  7027. let _cid = cid,
  7028. _stage = stage,
  7029. _task = task,
  7030. _tool = tool;
  7031. var _jie = $$("div", {
  7032. "style": {
  7033. "position": "absolute",
  7034. "bottom": "50px",
  7035. "right": "50px",
  7036. "zIndex": "9999",
  7037. "backgroundColor": "#2268bc",
  7038. "color": "#fff",
  7039. "padding": "12px 20px",
  7040. "cursor": "pointer",
  7041. "borderRadius": "4px",
  7042. },
  7043. "innerHTML": "提交作业"
  7044. })
  7045. let aTool = ''
  7046. let _loading = document.createElement('div')
  7047. _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;"
  7048. // _loading.id = "";
  7049. let _lchild = document.createElement('div')
  7050. let _limg = document.createElement('img')
  7051. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7052. _limg.style = "width: 26px;margin-right: 10px;"
  7053. _lchild.appendChild(_limg)
  7054. let _lspan = document.createElement('span')
  7055. _lspan.innerHTML = "上传中..."
  7056. _lchild.appendChild(_lspan)
  7057. _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%);"
  7058. _loading.appendChild(_lchild)
  7059. var _box = $$('div', {
  7060. "style": {
  7061. "position": "relative",
  7062. "width": "100%",
  7063. "height": "100%",
  7064. },
  7065. })
  7066. _box.appendChild(_loading)
  7067. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7068. switch (str) {
  7069. case "CocoPi":
  7070. aTool = 57;
  7071. _iframe = $$("iframe", {
  7072. "allowpaymentrequest": "allowpaymentrequest",
  7073. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7074. "webkitallowfullscreen": "",
  7075. "mozallowfullscreen": "",
  7076. "frameborder": "no",
  7077. "border": "0",
  7078. "scrolling ": "no",
  7079. "style": {
  7080. "cssText": "border:0;width:100%;height:100%"
  7081. },
  7082. "src": "https://pi.cocorobo.cn/"
  7083. })
  7084. _box.appendChild(_iframe);
  7085. _box.appendChild(_jie);
  7086. _formdiv = new U.UF.UI.form(
  7087. "CocoPi",
  7088. _box, {
  7089. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7090. "style": {
  7091. "width": "90%",
  7092. "height": "90%",
  7093. "overflow": 'hidden'
  7094. },
  7095. "onresize": function() {}
  7096. }, {
  7097. closecallback: function() {}
  7098. }, {
  7099. "style": {
  7100. "height": "36px"
  7101. }
  7102. }).form; //创建窗体
  7103. _taskbar = {
  7104. "id": str + _formdiv.id,
  7105. "style": {
  7106. "backgroundImage": "url(/img/icon/cocopi.png)"
  7107. },
  7108. "name": "CocoPi",
  7109. "forms": _formdiv,
  7110. "click": function() {
  7111. U.MD.D.I.openApplication(str, obj, info);
  7112. }
  7113. }
  7114. break;
  7115. }
  7116. if (_iframe) {
  7117. if (str == 'CocoPi') {
  7118. _iframe = _formdiv.querySelector('iframe')
  7119. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7120. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7121. })
  7122. if (onloadListener) {
  7123. _iframe.contentDocument.location.reload()
  7124. } else {
  7125. _iframe.contentDocument.location.reload()
  7126. }
  7127. }
  7128. _jie.onclick = async() => {
  7129. let text = ''
  7130. if (aTool == 57) {
  7131. text = _iframe.contentWindow.getLoadXmlStr()
  7132. }
  7133. _loading.style.display = 'flex'
  7134. console.log(_loading);
  7135. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7136. _loading.style.display = 'none'
  7137. let _div = document.createElement('div')
  7138. _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;"
  7139. let _inner = document.createElement('div')
  7140. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7141. _inner.innerHTML = "上传成功"
  7142. _div.appendChild(_inner)
  7143. _iframe.contentWindow.window.document.body.appendChild(_div)
  7144. _div.onclick = () => {
  7145. _iframe.contentWindow.window.document.body.removeChild(_div)
  7146. }
  7147. setTimeout(() => {
  7148. _iframe.contentWindow.window.document.body.removeChild(_div)
  7149. }, 1000);
  7150. }, [], { "type": "POST", "withCredentials": true });
  7151. }
  7152. }
  7153. }
  7154. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7155. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7156. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7157. _userid = student.userid, //登录用户id
  7158. _username = student.student //用户名字
  7159. let _iframe;
  7160. let _cid = cid,
  7161. _stage = stage,
  7162. _task = task,
  7163. _tool = tool;
  7164. var _jie = $$("div", {
  7165. "style": {
  7166. "position": "absolute",
  7167. "bottom": "50px",
  7168. "right": "50px",
  7169. "zIndex": "9999",
  7170. "backgroundColor": "#2268bc",
  7171. "color": "#fff",
  7172. "padding": "12px 20px",
  7173. "cursor": "pointer",
  7174. "borderRadius": "4px",
  7175. },
  7176. "innerHTML": "提交作业"
  7177. })
  7178. let aTool = ''
  7179. let _loading = document.createElement('div')
  7180. _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;"
  7181. // _loading.id = "";
  7182. let _lchild = document.createElement('div')
  7183. let _limg = document.createElement('img')
  7184. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7185. _limg.style = "width: 26px;margin-right: 10px;"
  7186. _lchild.appendChild(_limg)
  7187. let _lspan = document.createElement('span')
  7188. _lspan.innerHTML = "上传中..."
  7189. _lchild.appendChild(_lspan)
  7190. _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%);"
  7191. _loading.appendChild(_lchild)
  7192. var _box = $$('div', {
  7193. "style": {
  7194. "position": "relative",
  7195. "width": "100%",
  7196. "height": "100%",
  7197. },
  7198. })
  7199. _box.appendChild(_loading)
  7200. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7201. switch (str) {
  7202. case "CocoPi":
  7203. aTool = 57;
  7204. _iframe = $$("iframe", {
  7205. "allowpaymentrequest": "allowpaymentrequest",
  7206. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7207. "webkitallowfullscreen": "",
  7208. "mozallowfullscreen": "",
  7209. "frameborder": "no",
  7210. "border": "0",
  7211. "scrolling ": "no",
  7212. "style": {
  7213. "cssText": "border:0;width:100%;height:100%"
  7214. },
  7215. "src": "https://pi.cocorobo.cn/"
  7216. })
  7217. _box.appendChild(_iframe);
  7218. _box.appendChild(_jie);
  7219. _formdiv = new U.UF.UI.form(
  7220. "CocoPi-" + _username,
  7221. _box, {
  7222. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7223. "style": {
  7224. "width": "90%",
  7225. "height": "90%",
  7226. "overflow": 'hidden'
  7227. },
  7228. "onresize": function() {}
  7229. }, {
  7230. closecallback: function() {}
  7231. }, {
  7232. "style": {
  7233. "height": "36px"
  7234. }
  7235. }).form; //创建窗体
  7236. _taskbar = {
  7237. "id": str + _formdiv.id,
  7238. "style": {
  7239. "backgroundImage": "url(/img/icon/cocopi.png)"
  7240. },
  7241. "name": "CocoPi",
  7242. "forms": _formdiv,
  7243. "click": function() {
  7244. U.MD.D.I.openApplication(str, obj, info);
  7245. }
  7246. }
  7247. break;
  7248. }
  7249. if (_iframe) {
  7250. if (str == 'CocoPi') {
  7251. _iframe = _formdiv.querySelector('iframe')
  7252. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7253. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7254. })
  7255. if (onloadListener) {
  7256. _iframe.contentDocument.location.reload()
  7257. } else {
  7258. _iframe.contentDocument.location.reload()
  7259. }
  7260. }
  7261. _jie.onclick = async() => {
  7262. let text = ''
  7263. if (aTool == 57) {
  7264. text = _iframe.contentWindow.getLoadXmlStr()
  7265. }
  7266. _loading.style.display = 'flex'
  7267. console.log(_loading);
  7268. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7269. _loading.style.display = 'none'
  7270. let _div = document.createElement('div')
  7271. _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;"
  7272. let _inner = document.createElement('div')
  7273. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7274. _inner.innerHTML = "上传成功"
  7275. _div.appendChild(_inner)
  7276. _iframe.contentWindow.window.document.body.appendChild(_div)
  7277. _div.onclick = () => {
  7278. _iframe.contentWindow.window.document.body.removeChild(_div)
  7279. }
  7280. setTimeout(() => {
  7281. _iframe.contentWindow.window.document.body.removeChild(_div)
  7282. }, 1000);
  7283. }, [], { "type": "POST", "withCredentials": true });
  7284. }
  7285. }
  7286. }
  7287. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7288. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7289. if (res.value[0].length > 0) {
  7290. if (atool == 57) {
  7291. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7292. }
  7293. } else {
  7294. if (atool == 57) {
  7295. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7296. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7297. }
  7298. }
  7299. }, [], { "type": "POST", "withCredentials": true });
  7300. }