DeskTop.js 444 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  518. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  519. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  520. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. ];
  524. //龙华中心小学教师桌面图标的全局变量
  525. U.MD.D.I.longhuateacherDeskIcon = [
  526. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. ];
  539. //教科院实小教师桌面图标的全局变量
  540. U.MD.D.I.siesteacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  544. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  548. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  549. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  550. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  551. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  552. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. ];
  556. //教科院实小教师桌面图标的全局变量
  557. U.MD.D.I.siesStudentDeskIcon = [
  558. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. ];
  562. //福田
  563. U.MD.D.I.gdjgTeacherDeskIcon = [
  564. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  565. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  566. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  567. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  568. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  569. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  570. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  571. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. ];
  575. //gdjg
  576. U.MD.D.I.gdjgAdminDeskIcon = [
  577. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  578. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  579. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  580. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  581. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  582. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  583. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  584. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //hk
  588. U.MD.D.I.hkteacherDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  592. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  593. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  594. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  595. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  596. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  601. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  602. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  603. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  604. ];
  605. //hk
  606. U.MD.D.I.hkStudentDeskIcon = [
  607. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. ];
  611. //香海正覺蓮社佛教正覺中學
  612. U.MD.D.I.hkZJLSteacherDeskIcon = [
  613. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  614. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  615. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  616. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  617. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  622. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  623. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  624. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  625. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  626. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. ];
  628. //香海正覺蓮社佛教正覺中學
  629. U.MD.D.I.hkZJLSStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. ];
  634. //云海
  635. U.MD.D.I.yunhaiTeacherDeskIcon = [
  636. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  637. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  639. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  640. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  641. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  642. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  643. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  644. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  645. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  646. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  647. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  648. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  649. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. ];
  652. //福田
  653. U.MD.D.I.heyuanTeacherDeskIcon = [
  654. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  661. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  662. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  663. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. ];
  665. //福田
  666. U.MD.D.I.heyuanAdminDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  670. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  671. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  672. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  673. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  674. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  675. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  676. ];
  677. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  678. U.MD.D.I.szherTeacherDeskIcon = [
  679. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  680. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. ];
  689. //dsei
  690. U.MD.D.I.dseiTeacherDeskIcon = [
  691. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  692. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  693. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  694. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  698. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  699. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  700. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  701. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  702. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  703. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  704. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  705. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  706. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  707. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  708. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  709. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  710. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  711. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  712. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  713. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  714. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  715. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  716. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  717. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  718. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  719. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  720. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  721. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  722. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  723. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  724. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  725. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  726. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  727. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  728. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  730. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  731. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  732. ];
  733. //dsei
  734. U.MD.D.I.dseiAdminDeskIcon = [
  735. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  736. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  737. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  738. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  739. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  740. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  741. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  742. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  743. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  744. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  745. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  746. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  747. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  748. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  749. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  750. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  751. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  752. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  753. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  754. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  755. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  756. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  757. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  758. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  759. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  760. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  761. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  762. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  763. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  764. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  765. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  766. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  767. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  768. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  769. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  770. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  771. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  772. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  773. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  774. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  775. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  776. ];
  777. //dsei
  778. U.MD.D.I.dseiStudentDeskIcon = [
  779. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  780. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  781. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  782. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  783. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  784. ];
  785. //未来教育基地
  786. U.MD.D.I.szjkyTeacherDeskIcon = [
  787. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  795. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  796. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  797. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  798. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  801. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  802. ];
  803. //未来教育基地
  804. U.MD.D.I.szjkyAdminDeskIcon = [
  805. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  806. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  807. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  808. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  809. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  810. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  811. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  812. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  813. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  814. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  815. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  816. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  817. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  818. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  819. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  820. ];
  821. //未来教育基地
  822. U.MD.D.I.szjkyStudentDeskIcon = [
  823. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  824. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  825. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  826. ];
  827. //成华教育局
  828. U.MD.D.I.chjyjTeacherDeskIcon = [
  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": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  840. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  841. ];
  842. //成华教育局chjyj
  843. U.MD.D.I.chjyjAdminDeskIcon = [
  844. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  845. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  846. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  847. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  848. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  849. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  850. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  851. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  852. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  853. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  854. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  855. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  856. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. ];
  858. //成华教育局chjyj
  859. U.MD.D.I.chjyjStudentDeskIcon = [
  860. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  861. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  862. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  863. ];
  864. //#region 桌面初始化a
  865. /**
  866. * 初始化桌面的起始函数
  867. *
  868. */
  869. U.MD.D.I.init = function() {
  870. if ($("#U_MD_D_K")[0]) {
  871. //初始化桌面图标
  872. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  873. // var clickUrl = ':12588/requestIp.php';
  874. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  875. // U.MD.D.I.Ip = data;
  876. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  877. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  878. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  879. // })
  880. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  881. // })
  882. }
  883. }
  884. /**
  885. * 模式切换
  886. *
  887. */
  888. U.MD.D.I.ModeCheck = function(type) {
  889. if (US.Config.type == type) {
  890. return
  891. }
  892. US.Config.type = type
  893. $('.U_PBL_Check .active')[0].className = ''
  894. if (type == 1) {
  895. $('.U_PBL_Check div')[0].className = 'active'
  896. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  897. } else {
  898. $('.U_PBL_Check div')[1].className = 'active'
  899. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  900. }
  901. //初始化桌面图标
  902. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  903. if (type == 2) {
  904. U.MD.D.I.openApplication("project")
  905. }
  906. }
  907. /**
  908. * 隐藏任务栏
  909. *
  910. * @param {element} 桌面元素
  911. */
  912. U.MD.D.I.hiddenTaskbar = function(el) {
  913. //任务栏位置变小
  914. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  915. //桌面的位置变大
  916. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  917. }
  918. /**
  919. * 隐藏任务栏
  920. *
  921. * @param {element} 桌面元素
  922. */
  923. U.MD.D.I.hiddenTaskbarout = function(el) {
  924. //任务栏位置变小
  925. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  926. //任务栏位置变化
  927. U.selectEl(el).css({ "bottom": "-60px" });
  928. //桌面的位置变大
  929. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  930. }
  931. }
  932. /**
  933. * 初始化打印桌面图标
  934. *
  935. * @param {element} 桌面元素
  936. */
  937. U.MD.D.I.initDesktopIcons = function(el, type) {
  938. var i, //用于循环
  939. _content, //桌面图标元素
  940. _iconcontent, //桌面图标元素
  941. _frag = $$("frag"), //定义一个碎片元素
  942. _type = US.userInfo.type,
  943. _org = US.userInfo.org,
  944. _oid = US.userInfo.organizeid,
  945. _role = US.userInfo.role,
  946. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  947. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  948. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  949. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  950. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  951. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  952. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  953. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  954. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  955. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  956. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  957. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  958. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  959. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  960. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  961. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  962. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  963. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  964. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  965. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  966. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  967. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  968. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  969. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  970. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  971. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  972. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  973. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  974. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  975. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  976. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  977. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  978. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  979. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  980. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  981. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  982. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  983. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  984. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  985. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  986. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  987. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  988. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  989. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  990. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  991. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  992. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  993. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  994. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  995. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  996. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  997. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  998. 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'];
  999. 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'];
  1000. //清楚桌面图标
  1001. el.innerHTML = "";
  1002. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1003. _teacherDesktopIconInfo.push(
  1004. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1005. { "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)" } },
  1006. )
  1007. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1008. }
  1009. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1010. _teacherDesktopIconInfo.push(
  1011. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1012. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1013. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1015. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1016. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1017. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1018. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1019. )
  1020. }
  1021. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1022. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1023. if (el.Name == '项目管理') {
  1024. el.Name = 'PBL项目'
  1025. }
  1026. return el
  1027. })
  1028. }
  1029. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1030. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1031. return el.Name != '魔盒识字' && el.Name != '24点'
  1032. })
  1033. }
  1034. 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) {
  1035. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1036. }
  1037. //循环创建桌面图标
  1038. if (type == 1) {
  1039. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1040. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1041. _content = $$("div", {
  1042. className: "U_MD_D_KO",
  1043. "onmousedown": U.UF.C.closure(function(obj) {
  1044. //防止拖动图标即打开了桌面应用
  1045. U.MD.D.click(this, obj);
  1046. }, [_studentDesktopIconInfo[i]]),
  1047. "onclick": U.UF.C.closure(function(obj) {
  1048. //防止拖动图标即打开了桌面应用
  1049. U.MD.D.click(this, obj);
  1050. }, [_studentDesktopIconInfo[i]])
  1051. }, _frag); //
  1052. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1053. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1054. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1055. }
  1056. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1057. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1058. _content = $$("div", {
  1059. className: "U_MD_D_KO",
  1060. "onmousedown": U.UF.C.closure(function(obj) {
  1061. //防止拖动图标即打开了桌面应用
  1062. U.MD.D.click(this, obj);
  1063. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1064. "onclick": U.UF.C.closure(function(obj) {
  1065. //防止拖动图标即打开了桌面应用
  1066. U.MD.D.click(this, obj);
  1067. }, [_hkZJLSStudentDeskIconInfo[i]])
  1068. }, _frag); //
  1069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1072. } //
  1073. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1074. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1075. _content = $$("div", {
  1076. className: "U_MD_D_KO",
  1077. "onmousedown": U.UF.C.closure(function(obj) {
  1078. //防止拖动图标即打开了桌面应用
  1079. U.MD.D.click(this, obj);
  1080. }, [_chjyjStudentDeskIconInfo[i]]),
  1081. "onclick": U.UF.C.closure(function(obj) {
  1082. //防止拖动图标即打开了桌面应用
  1083. U.MD.D.click(this, obj);
  1084. }, [_chjyjStudentDeskIconInfo[i]])
  1085. }, _frag); //
  1086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1089. }
  1090. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1091. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1092. _content = $$("div", {
  1093. className: "U_MD_D_KO",
  1094. "onmousedown": U.UF.C.closure(function(obj) {
  1095. //防止拖动图标即打开了桌面应用
  1096. U.MD.D.click(this, obj);
  1097. }, [_szjkyStudentDeskIconInfo[i]]),
  1098. "onclick": U.UF.C.closure(function(obj) {
  1099. //防止拖动图标即打开了桌面应用
  1100. U.MD.D.click(this, obj);
  1101. }, [_szjkyStudentDeskIconInfo[i]])
  1102. }, _frag); //
  1103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1106. }
  1107. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1108. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1109. _content = $$("div", {
  1110. className: "U_MD_D_KO",
  1111. "onmousedown": U.UF.C.closure(function(obj) {
  1112. //防止拖动图标即打开了桌面应用
  1113. U.MD.D.click(this, obj);
  1114. }, [_dseiStudentDeskIconInfo[i]]),
  1115. "onclick": U.UF.C.closure(function(obj) {
  1116. //防止拖动图标即打开了桌面应用
  1117. U.MD.D.click(this, obj);
  1118. }, [_dseiStudentDeskIconInfo[i]])
  1119. }, _frag); //
  1120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1123. }
  1124. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1125. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1126. _content = $$("div", {
  1127. className: "U_MD_D_KO",
  1128. "onmousedown": U.UF.C.closure(function(obj) {
  1129. //防止拖动图标即打开了桌面应用
  1130. U.MD.D.click(this, obj);
  1131. }, [_siesStudentDeskIconInfo[i]]),
  1132. "onclick": U.UF.C.closure(function(obj) {
  1133. //防止拖动图标即打开了桌面应用
  1134. U.MD.D.click(this, obj);
  1135. }, [_siesStudentDeskIconInfo[i]])
  1136. }, _frag); //
  1137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1140. }
  1141. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1142. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1143. _content = $$("div", {
  1144. className: "U_MD_D_KO",
  1145. "onmousedown": U.UF.C.closure(function(obj) {
  1146. //防止拖动图标即打开了桌面应用
  1147. U.MD.D.click(this, obj);
  1148. }, [_hkStudentDeskIconInfo[i]]),
  1149. "onclick": U.UF.C.closure(function(obj) {
  1150. //防止拖动图标即打开了桌面应用
  1151. U.MD.D.click(this, obj);
  1152. }, [_hkStudentDeskIconInfo[i]])
  1153. }, _frag); //
  1154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1157. }
  1158. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1159. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1160. _content = $$("div", {
  1161. className: "U_MD_D_KO",
  1162. "onmousedown": U.UF.C.closure(function(obj) {
  1163. //防止拖动图标即打开了桌面应用
  1164. U.MD.D.click(this, obj);
  1165. }, [_studentDesktopIconInfo[i]]),
  1166. "onclick": U.UF.C.closure(function(obj) {
  1167. //防止拖动图标即打开了桌面应用
  1168. U.MD.D.click(this, obj);
  1169. }, [_studentDesktopIconInfo[i]])
  1170. }, _frag); //
  1171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1174. }
  1175. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1176. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1177. _content = $$("div", {
  1178. className: "U_MD_D_KO",
  1179. "onmousedown": U.UF.C.closure(function(obj) {
  1180. //防止拖动图标即打开了桌面应用
  1181. U.MD.D.click(this, obj);
  1182. }, [_tcStudentDeskIconInfo[i]]),
  1183. "onclick": U.UF.C.closure(function(obj) {
  1184. //防止拖动图标即打开了桌面应用
  1185. U.MD.D.click(this, obj);
  1186. }, [_tcStudentDeskIconInfo[i]])
  1187. }, _frag); //
  1188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1191. }
  1192. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1193. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1194. _content = $$("div", {
  1195. className: "U_MD_D_KO",
  1196. "onmousedown": U.UF.C.closure(function(obj) {
  1197. //防止拖动图标即打开了桌面应用
  1198. U.MD.D.click(this, obj);
  1199. }, [_szscStudentDeskIconInfo[i]]),
  1200. "onclick": U.UF.C.closure(function(obj) {
  1201. //防止拖动图标即打开了桌面应用
  1202. U.MD.D.click(this, obj);
  1203. }, [_szscStudentDeskIconInfo[i]])
  1204. }, _frag); //
  1205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1208. }
  1209. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1210. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1211. _content = $$("div", {
  1212. className: "U_MD_D_KO",
  1213. "onmousedown": U.UF.C.closure(function(obj) {
  1214. //防止拖动图标即打开了桌面应用
  1215. U.MD.D.click(this, obj);
  1216. }, [_studentDesktopIconInfo3[i]]),
  1217. "onclick": U.UF.C.closure(function(obj) {
  1218. //防止拖动图标即打开了桌面应用
  1219. U.MD.D.click(this, obj);
  1220. }, [_studentDesktopIconInfo3[i]])
  1221. }, _frag); //
  1222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1225. }
  1226. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1227. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1228. _content = $$("div", {
  1229. className: "U_MD_D_KO",
  1230. "onmousedown": U.UF.C.closure(function(obj) {
  1231. //防止拖动图标即打开了桌面应用
  1232. U.MD.D.click(this, obj);
  1233. }, [_studentDesktopIconInfo2[i]]),
  1234. "onclick": U.UF.C.closure(function(obj) {
  1235. //防止拖动图标即打开了桌面应用
  1236. U.MD.D.click(this, obj);
  1237. }, [_studentDesktopIconInfo2[i]])
  1238. }, _frag); //
  1239. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1240. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1241. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1242. }
  1243. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1244. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1245. _content = $$("div", {
  1246. className: "U_MD_D_KO",
  1247. "onmousedown": U.UF.C.closure(function(obj) {
  1248. //防止拖动图标即打开了桌面应用
  1249. U.MD.D.click(this, obj);
  1250. }, [_wanketeacherDesktopIconInfo[i]]),
  1251. "onclick": U.UF.C.closure(function(obj) {
  1252. //防止拖动图标即打开了桌面应用
  1253. U.MD.D.click(this, obj);
  1254. }, [_wanketeacherDesktopIconInfo[i]])
  1255. }, _frag); //
  1256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1259. }
  1260. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1261. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1262. _content = $$("div", {
  1263. className: "U_MD_D_KO",
  1264. "onmousedown": U.UF.C.closure(function(obj) {
  1265. //防止拖动图标即打开了桌面应用
  1266. U.MD.D.click(this, obj);
  1267. }, [_wankeAdminDesktopIconInfo[i]]),
  1268. "onclick": U.UF.C.closure(function(obj) {
  1269. //防止拖动图标即打开了桌面应用
  1270. U.MD.D.click(this, obj);
  1271. }, [_wankeAdminDesktopIconInfo[i]])
  1272. }, _frag); //
  1273. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1274. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1275. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1276. }
  1277. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1278. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1279. _content = $$("div", {
  1280. className: "U_MD_D_KO",
  1281. "onmousedown": U.UF.C.closure(function(obj) {
  1282. //防止拖动图标即打开了桌面应用
  1283. U.MD.D.click(this, obj);
  1284. }, [_teacherDesktopIconInfo2[i]]),
  1285. "onclick": U.UF.C.closure(function(obj) {
  1286. //防止拖动图标即打开了桌面应用
  1287. U.MD.D.click(this, obj);
  1288. }, [_teacherDesktopIconInfo2[i]])
  1289. }, _frag); //
  1290. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1291. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1292. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1293. }
  1294. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1295. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1296. _content = $$("div", {
  1297. className: "U_MD_D_KO",
  1298. "onmousedown": U.UF.C.closure(function(obj) {
  1299. //防止拖动图标即打开了桌面应用
  1300. U.MD.D.click(this, obj);
  1301. }, [_lotechTeacherDeskIconInfo[i]]),
  1302. "onclick": U.UF.C.closure(function(obj) {
  1303. //防止拖动图标即打开了桌面应用
  1304. U.MD.D.click(this, obj);
  1305. }, [_lotechTeacherDeskIconInfo[i]])
  1306. }, _frag); //
  1307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1310. }//
  1311. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1312. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1313. _content = $$("div", {
  1314. className: "U_MD_D_KO",
  1315. "onmousedown": U.UF.C.closure(function(obj) {
  1316. //防止拖动图标即打开了桌面应用
  1317. U.MD.D.click(this, obj);
  1318. }, [_siesTeacherDeskIconInfo[i]]),
  1319. "onclick": U.UF.C.closure(function(obj) {
  1320. //防止拖动图标即打开了桌面应用
  1321. U.MD.D.click(this, obj);
  1322. }, [_siesTeacherDeskIconInfo[i]])
  1323. }, _frag); //
  1324. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1325. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1326. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1327. }
  1328. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1329. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1330. _content = $$("div", {
  1331. className: "U_MD_D_KO",
  1332. "onmousedown": U.UF.C.closure(function(obj) {
  1333. //防止拖动图标即打开了桌面应用
  1334. U.MD.D.click(this, obj);
  1335. }, [_longhuaTeacherDeskIconInfo[i]]),
  1336. "onclick": U.UF.C.closure(function(obj) {
  1337. //防止拖动图标即打开了桌面应用
  1338. U.MD.D.click(this, obj);
  1339. }, [_longhuaTeacherDeskIconInfo[i]])
  1340. }, _frag); //
  1341. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1342. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1343. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1344. }
  1345. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1346. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1347. _content = $$("div", {
  1348. className: "U_MD_D_KO",
  1349. "onmousedown": U.UF.C.closure(function(obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1353. "onclick": U.UF.C.closure(function(obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_yunhaiTeacherDeskIconInfo[i]])
  1357. }, _frag); //
  1358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1361. } //_hkStudentDeskIconInfo
  1362. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1363. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1364. _content = $$("div", {
  1365. className: "U_MD_D_KO",
  1366. "onmousedown": U.UF.C.closure(function(obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1370. "onclick": U.UF.C.closure(function(obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1374. }, _frag); //
  1375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1378. }
  1379. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1380. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1381. _content = $$("div", {
  1382. className: "U_MD_D_KO",
  1383. "onmousedown": U.UF.C.closure(function(obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkTeacherDeskIconInfo[i]]),
  1387. "onclick": U.UF.C.closure(function(obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_hkTeacherDeskIconInfo[i]])
  1391. }, _frag); //
  1392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1395. }
  1396. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1397. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1398. _content = $$("div", {
  1399. className: "U_MD_D_KO",
  1400. "onmousedown": U.UF.C.closure(function(obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_gdjgAdminDeskIconInfo[i]]),
  1404. "onclick": U.UF.C.closure(function(obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_gdjgAdminDeskIconInfo[i]])
  1408. }, _frag); //
  1409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1412. }
  1413. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1414. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1415. _content = $$("div", {
  1416. className: "U_MD_D_KO",
  1417. "onmousedown": U.UF.C.closure(function(obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_gdjgTeacherDeskIconInfo[i]]),
  1421. "onclick": U.UF.C.closure(function(obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_gdjgTeacherDeskIconInfo[i]])
  1425. }, _frag); //
  1426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1429. }
  1430. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1431. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1432. _content = $$("div", {
  1433. className: "U_MD_D_KO",
  1434. "onmousedown": U.UF.C.closure(function(obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_szherTeacherDeskIconInfo[i]]),
  1438. "onclick": U.UF.C.closure(function(obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_szherTeacherDeskIconInfo[i]])
  1442. }, _frag); //
  1443. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1444. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1445. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1446. }
  1447. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1448. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function(obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_heyuannAdminDeskIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function(obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_heyuannAdminDeskIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1465. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function(obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_heyuanTeacherDeskIconInfo[i]]),
  1472. "onclick": U.UF.C.closure(function(obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_heyuanTeacherDeskIconInfo[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1480. } //
  1481. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1482. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function(obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_dseiAdminDeskIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function(obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_dseiAdminDeskIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1497. }
  1498. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1499. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function(obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_dseiTeacherDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function(obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_dseiTeacherDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1514. } //
  1515. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1516. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function(obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_chjyjAdminDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function(obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_chjyjAdminDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1531. }//
  1532. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1533. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function(obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_chjyjTeacherDeskIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function(obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_chjyjTeacherDeskIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1548. }
  1549. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1550. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function(obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_szjkyAdminDeskIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function(obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_szjkyAdminDeskIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1565. }//
  1566. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1567. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function(obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_szjkyTeacherDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function(obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_szjkyTeacherDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1582. }
  1583. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1584. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function(obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_futianAdminDeskIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function(obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_futianAdminDeskIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1599. }
  1600. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1601. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function(obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_futianTeacherDeskIconInfo[i]]),
  1608. "onclick": U.UF.C.closure(function(obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_futianTeacherDeskIconInfo[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1616. }
  1617. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1618. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function(obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_MingdeTeacherDeskIcon[i]]),
  1625. "onclick": U.UF.C.closure(function(obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_MingdeTeacherDeskIcon[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1633. }
  1634. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1635. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function(obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_lhsAdminDesktopIconInfo[i]]),
  1642. "onclick": U.UF.C.closure(function(obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_lhsAdminDesktopIconInfo[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1650. }
  1651. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1652. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function(obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_lhsteacherDesktopIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function(obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_lhsteacherDesktopIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1669. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function(obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function(obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_zhoujiateacherDesktopIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1686. for (i = 0; i < _hanDeskIcon.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function(obj) {
  1690. //防止拖动图标即打开了桌面应用
  1691. U.MD.D.click(this, obj);
  1692. }, [_hanDeskIcon[i]]),
  1693. "onclick": U.UF.C.closure(function(obj) {
  1694. //防止拖动图标即打开了桌面应用
  1695. U.MD.D.click(this, obj);
  1696. }, [_hanDeskIcon[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1701. }
  1702. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1703. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function(obj) {
  1707. //防止拖动图标即打开了桌面应用
  1708. U.MD.D.click(this, obj);
  1709. }, [_orgStemDeskIcon[i]]),
  1710. "onclick": U.UF.C.closure(function(obj) {
  1711. //防止拖动图标即打开了桌面应用
  1712. U.MD.D.click(this, obj);
  1713. }, [_orgStemDeskIcon[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1718. }
  1719. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1720. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function(obj) {
  1724. //防止拖动图标即打开了桌面应用
  1725. U.MD.D.click(this, obj);
  1726. }, [_szulsDeskIcon[i]]),
  1727. "onclick": U.UF.C.closure(function(obj) {
  1728. //防止拖动图标即打开了桌面应用
  1729. U.MD.D.click(this, obj);
  1730. }, [_szulsDeskIcon[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1735. }
  1736. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1737. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function(obj) {
  1741. //防止拖动图标即打开了桌面应用
  1742. U.MD.D.click(this, obj);
  1743. }, [_orgDesktopIconInfo[i]]),
  1744. "onclick": U.UF.C.closure(function(obj) {
  1745. //防止拖动图标即打开了桌面应用
  1746. U.MD.D.click(this, obj);
  1747. }, [_orgDesktopIconInfo[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1752. }
  1753. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1754. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function(obj) {
  1758. //防止拖动图标即打开了桌面应用
  1759. U.MD.D.click(this, obj);
  1760. }, [_schoolDesktopIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function(obj) {
  1762. //防止拖动图标即打开了桌面应用
  1763. U.MD.D.click(this, obj);
  1764. }, [_schoolDesktopIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1769. }
  1770. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1771. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function(obj) {
  1775. //防止拖动图标即打开了桌面应用
  1776. U.MD.D.click(this, obj);
  1777. }, [_GMteacherDesktopIconInfo[i]]),
  1778. "onclick": U.UF.C.closure(function(obj) {
  1779. //防止拖动图标即打开了桌面应用
  1780. U.MD.D.click(this, obj);
  1781. }, [_GMteacherDesktopIconInfo[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1786. }
  1787. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1788. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function(obj) {
  1792. //防止拖动图标即打开了桌面应用
  1793. U.MD.D.click(this, obj);
  1794. }, [_SONGteacherDesktopIconInfo[i]]),
  1795. "onclick": U.UF.C.closure(function(obj) {
  1796. //防止拖动图标即打开了桌面应用
  1797. U.MD.D.click(this, obj);
  1798. }, [_SONGteacherDesktopIconInfo[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1803. }
  1804. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1805. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function(obj) {
  1809. //防止拖动图标即打开了桌面应用
  1810. U.MD.D.click(this, obj);
  1811. }, [_GMstudentDesktopIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function(obj) {
  1813. //防止拖动图标即打开了桌面应用
  1814. U.MD.D.click(this, obj);
  1815. }, [_GMstudentDesktopIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1820. }
  1821. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1822. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function(obj) {
  1826. //防止拖动图标即打开了桌面应用
  1827. U.MD.D.click(this, obj);
  1828. }, [_tcTeacherDeskIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function(obj) {
  1830. //防止拖动图标即打开了桌面应用
  1831. U.MD.D.click(this, obj);
  1832. }, [_tcTeacherDeskIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1839. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function(obj) {
  1843. //防止拖动图标即打开了桌面应用
  1844. U.MD.D.click(this, obj);
  1845. }, [_tcOrganizerDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function(obj) {
  1847. //防止拖动图标即打开了桌面应用
  1848. U.MD.D.click(this, obj);
  1849. }, [_tcOrganizerDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1856. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function(obj) {
  1860. //防止拖动图标即打开了桌面应用
  1861. U.MD.D.click(this, obj);
  1862. }, [_szscTeacherDeskIconInfo[i]]),
  1863. "onclick": U.UF.C.closure(function(obj) {
  1864. //防止拖动图标即打开了桌面应用
  1865. U.MD.D.click(this, obj);
  1866. }, [_szscTeacherDeskIconInfo[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1873. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function(obj) {
  1877. //防止拖动图标即打开了桌面应用
  1878. U.MD.D.click(this, obj);
  1879. }, [_szscOrganizerDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function(obj) {
  1881. //防止拖动图标即打开了桌面应用
  1882. U.MD.D.click(this, obj);
  1883. }, [_szscOrganizerDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else {
  1890. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function(obj) {
  1894. //防止拖动图标即打开了桌面应用
  1895. U.MD.D.click(this, obj);
  1896. }, [_teacherDesktopIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function(obj) {
  1898. //防止拖动图标即打开了桌面应用
  1899. U.MD.D.click(this, obj);
  1900. }, [_teacherDesktopIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1905. }
  1906. }
  1907. } else {
  1908. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1909. _content = $$("div", {
  1910. className: "U_MD_D_KO",
  1911. style: { 'width': '124px', 'height': '145px' },
  1912. "onmousedown": U.UF.C.closure(function(obj) {
  1913. //防止拖动图标即打开了桌面应用
  1914. U.MD.D.click(this, obj);
  1915. }, [_easyDesktopIconInfo[i]]),
  1916. "onclick": U.UF.C.closure(function(obj) {
  1917. //防止拖动图标即打开了桌面应用
  1918. U.MD.D.click(this, obj);
  1919. }, [_easyDesktopIconInfo[i]])
  1920. }, _frag); //
  1921. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1922. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1923. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1924. }
  1925. }
  1926. if (type == 1) {
  1927. //加载好后给图标定位
  1928. U.MD.D.iconPostion($(_frag).Child());
  1929. } else {
  1930. //加载好后给图标定位
  1931. U.MD.D.iconPostion2($(_frag).Child());
  1932. }
  1933. //把图标加载到页面
  1934. el.appendChild(_frag);
  1935. }
  1936. /**
  1937. * 显示任务栏
  1938. *
  1939. * @param {element} 桌面元素
  1940. */
  1941. U.MD.D.I.displayTaskbar = function(el) {
  1942. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1943. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1944. //任务栏位置变化
  1945. U.selectEl(el).css({ "bottom": "0px" });
  1946. //桌面位置变话
  1947. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1948. }
  1949. }
  1950. //#region 桌面图标拖动逻辑
  1951. /**
  1952. * 桌面排列图标
  1953. *
  1954. * @param {element} 桌面元素
  1955. * @param {object} 上下相距的距离
  1956. * @param {object} 左右相距的距离
  1957. * @return {object} 命名空间
  1958. */
  1959. U.MD.D.iconPostion = function(childs, top, left) {
  1960. var i; //用于循环处理
  1961. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1962. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1963. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1964. for (i = 0; i < childs.length; i++) {
  1965. //如果竖排top超过了范围处理
  1966. if (top + 95 > US.height - 10) {
  1967. //left超过了页面范围处理,则向上重叠打印处理
  1968. if ((left + 180) > US.width) {
  1969. top -= 110;
  1970. left -= 90;
  1971. }
  1972. //没有超过范围,那么left+90添加到下一个竖排打印
  1973. else {
  1974. left += 90;
  1975. top = 15;
  1976. };
  1977. }
  1978. //给图标的位置赋值
  1979. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1980. if (i < childs.length - 1) {
  1981. //页面图标每次向下加95
  1982. top += 95;
  1983. }
  1984. }
  1985. //返回最后调用的图标的位置
  1986. return [top, left];
  1987. }
  1988. /**
  1989. * 桌面排列图标
  1990. *
  1991. * @param {element} 桌面元素
  1992. * @param {object} 上下相距的距离
  1993. * @param {object} 左右相距的距离
  1994. * @return {object} 命名空间
  1995. */
  1996. U.MD.D.iconPostion2 = function(childs, top, left) {
  1997. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1998. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1999. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2000. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2001. for (i = 0; i < childs.length; i++) {
  2002. //如果竖排top超过了范围处理
  2003. if (left + 150 > US.width - 10) {
  2004. //left超过了页面范围处理,则向上重叠打印处理
  2005. if ((top + 180) > US.Height) {
  2006. top -= 150;
  2007. left -= 150;
  2008. }
  2009. //没有超过范围,那么left+90添加到下一个竖排打印
  2010. else {
  2011. top += 150;
  2012. left = ol;
  2013. };
  2014. }
  2015. //给图标的位置赋值
  2016. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2017. if (i < childs.length - 1) {
  2018. //页面图标每次向下加95
  2019. left += 150;
  2020. }
  2021. }
  2022. //返回最后调用的图标的位置
  2023. return [top, left];
  2024. }
  2025. /**
  2026. * 桌面点击事件逻辑
  2027. *
  2028. * @param {element} 桌面元素
  2029. * @param {object} 上下相距的距离
  2030. * @param {object} 左右相距的距离
  2031. * @return {object} 命名空间
  2032. */
  2033. U.MD.D.click = function(el, obj) {
  2034. var _buttonnumber = event.button; //点击的按钮的事件值
  2035. var _userinfo = US.userInfo;
  2036. U.UF.EV.stopBubble(); //阻止向上冒泡
  2037. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2038. if (_buttonnumber < 2) {
  2039. //如果是click事件的处理
  2040. if (event.type == "click") {
  2041. //如果元素在mousemove事件中没有移动则出发click事件
  2042. if (!U.MD.D.I.IsDrag) {
  2043. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2044. U.alert("请先登录您的账号!");
  2045. setTimeout(() => {
  2046. U.MD.U.L.login();
  2047. }, 2000);
  2048. } else {
  2049. //打开应用处理
  2050. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2051. }
  2052. }
  2053. }
  2054. //如果是mouse事件的处理
  2055. else {
  2056. if (US.Config.type == '1') {
  2057. //拖动处理,添加拖动和拖动结束事件
  2058. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2059. }
  2060. }
  2061. U.MD.D.I.IsDrag = false;
  2062. }
  2063. }
  2064. /**
  2065. * 拖动的处理
  2066. *
  2067. */
  2068. U.MD.D.iconMove = function() {
  2069. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2070. U.MD.D.I.IsDrag = true;
  2071. }
  2072. /**
  2073. * 拖动结束后,这里是定位处理,以网状的形式定位
  2074. *
  2075. * @param {element} 拖动的元素
  2076. * @return {object} 命名空间
  2077. */
  2078. U.MD.D.iconUp = function(el) {
  2079. var _top = 15,
  2080. _left = 20,
  2081. _margin,
  2082. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2083. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2084. if (_positioninfo["OT"] > 15) {
  2085. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2086. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2087. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2088. }
  2089. if (_positioninfo["OL"] > 20) {
  2090. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2091. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2092. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2093. }
  2094. //while循环判断么一个重叠的元素
  2095. do {
  2096. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2097. _top = _positioninfo[0] + 95; //得到定位后的top
  2098. _left = _positioninfo[1]; //得到定位后的left
  2099. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2100. }
  2101. /**
  2102. * 判断拖动后图标是否重叠
  2103. *
  2104. * @param {element} 拖动的元素
  2105. * @param {element} 桌面所有的元素
  2106. * @param {array} 拖动元素的位置
  2107. ----------[0] 上 top
  2108. ----------[1] 左 left
  2109. * @return {object} 命名空间
  2110. */
  2111. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2112. //循环所有的图标
  2113. for (var i = 0; i < childs.length; i++) {
  2114. //判断有没有和该图标诶子重叠的元素
  2115. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2116. return childs[i]; //如果有返回
  2117. }
  2118. }
  2119. }
  2120. //#endregion
  2121. //#endregion
  2122. //#region 桌面应用
  2123. /**
  2124. * 打开应用
  2125. *
  2126. * @param {string} 类型
  2127. -----------------Disk 网盘系统
  2128. -----------------PDisk 学习系统网盘
  2129. -----------------Poto 图片
  2130. -----------------Video 视频
  2131. -----------------Music 音乐
  2132. -----------------Word word
  2133. -----------------Excel excel
  2134. -----------------Txt 记事本
  2135. -----------------PB 学习系统
  2136. -----------------Blog 朋友圈系统
  2137. -----------------FTP ftp系统
  2138. -----------------Group 好友群
  2139. -----------------SY 首页系统
  2140. -----------------Set 个人设置
  2141. -----------------XSet 系统设置
  2142. -----------------App 我们所有的app
  2143. -----------------BC c.1473.cn 平台
  2144. -----------------CWeb d.1473.cn 变成平台
  2145. -----------------其他的外联系统 我们统一用iframe打开
  2146. * @param {array} 类型
  2147. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2148. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2149. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2150. 如果第一个参数为其他,则无第二个参数
  2151. * @returns {array}
  2152. */
  2153. window.addEventListener('message', function(e) { // 监听 message 事件
  2154. // alert(e.data.type);
  2155. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2156. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2157. //3是展示全部阶段 2学生 1老师 4专家
  2158. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2159. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2160. //3是展示全部阶段 2学生 1老师 4专家
  2161. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2162. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2163. //3是展示全部阶段 2学生 1老师 4专家
  2164. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2165. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2166. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2167. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2168. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2169. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2170. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2171. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2172. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2173. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2174. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2175. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2176. //3是展示全部阶段 2学生 1老师 4专家
  2177. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2178. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2179. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2180. U.MD.D.I.selectUser();
  2181. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2182. var _formel = document.getElementById("study");
  2183. U.UF.F.windowZooming(_formel);
  2184. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2185. var _formel = document.getElementById("studyDetail");
  2186. U.UF.F.windowZooming(_formel);
  2187. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2188. var _formel = document.getElementById("studyDetail");
  2189. U.UF.F.windowZooming(_formel);
  2190. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2191. var _formel = document.getElementById("studentStudy");
  2192. U.UF.F.windowZooming(_formel);
  2193. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2194. // var _formel = document.getElementById("study");
  2195. //如果最大化了,那么就把他缩小
  2196. // if (_formel.ismaximize) {
  2197. // return;
  2198. // }
  2199. // U.UF.F.windowZooming(_formel);
  2200. // U.UF.F.topWindow(_formel);
  2201. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2202. // var _formel = document.getElementById("studyDetail");
  2203. //如果最大化了,那么就把他缩小
  2204. // if (_formel.ismaximize) {
  2205. // return;
  2206. // }
  2207. // U.UF.F.windowZooming(_formel);
  2208. // U.UF.F.topWindow(_formel);
  2209. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2210. // var _formel = document.getElementById("studentStudy");
  2211. // if (_formel.ismaximize) {
  2212. // return;
  2213. // }
  2214. // U.UF.F.windowZooming(_formel);
  2215. // U.UF.F.topWindow(_formel);
  2216. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2217. var _formel = document.getElementById("study");
  2218. // if (_formel.ismaximize) {
  2219. // return;
  2220. // }
  2221. // U.UF.F.windowZooming(_formel);
  2222. U.UF.F.topWindow(_formel);
  2223. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2224. var _formel = document.getElementById("studentIndex");
  2225. U.UF.F.windowZooming(_formel);
  2226. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2227. var _formel = document.getElementById("studyDetailS");
  2228. U.UF.F.windowZooming(_formel);
  2229. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2230. var _formel = document.getElementById("studioIndex");
  2231. U.UF.F.windowZooming(_formel);
  2232. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2233. var _formel = document.getElementById("studyDetailStudio");
  2234. U.UF.F.windowZooming(_formel);
  2235. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2236. var _formel = document.getElementById("studyDetailStudio");
  2237. U.UF.F.windowZooming(_formel);
  2238. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2239. var _formel = document.getElementById("studyDetailNT");
  2240. U.UF.F.windowZooming(_formel);
  2241. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2242. var _formel = document.getElementById("studyDetailS");
  2243. U.UF.F.windowZooming(_formel);
  2244. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2245. var _formel = document.getElementById("studyDetailS");
  2246. U.UF.F.topWindow(_formel);
  2247. } else if (e.data.tools && e.data.tools == "1") {
  2248. // U.MD.D.I.openApplication("whiteboard")
  2249. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2250. } else if (e.data.tools && e.data.tools == "2") {
  2251. U.MD.D.I.openApplication("note")
  2252. } else if (e.data.tools && e.data.tools == "3") {
  2253. // U.MD.D.I.openApplication("mind")
  2254. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2255. } else if (e.data.tools && e.data.tools == "4") {
  2256. U.MD.D.I.openApplication("investigation")
  2257. } else if (e.data.tools && e.data.tools == "6") {
  2258. // U.MD.D.I.openApplication("doc")
  2259. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2260. } else if (e.data.tools && e.data.tools == "7") {
  2261. // U.MD.D.I.openApplication("mindNetwork")
  2262. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2263. } else if (e.data.tools && e.data.tools == "8") {
  2264. U.MD.D.I.openApplication("library")
  2265. } else if (e.data.tools && e.data.tools == "17") {
  2266. U.MD.D.I.openApplication("stuLibrary")
  2267. } else if (e.data.tools && e.data.tools == "18") {
  2268. U.MD.D.I.openApplication("train")
  2269. } else if (e.data.tools && e.data.tools == "21") {
  2270. U.MD.D.I.openApplication("program")
  2271. } else if (e.data.tools && e.data.tools == "22") {
  2272. U.MD.D.I.openApplication("AIprogram2")
  2273. } else if (e.data.tools && e.data.tools == "23") {
  2274. U.MD.D.I.openApplication("Pythonprogram")
  2275. } else if (e.data.tools && e.data.tools == "24") {
  2276. U.MD.D.I.openApplication("AIprogram")
  2277. } else if (e.data.tools && e.data.tools == "25") {
  2278. U.MD.D.I.openApplication("sys")
  2279. } else if (e.data.tools && e.data.tools == "26") {
  2280. // U.MD.D.I.openApplication("courseDesign")
  2281. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2282. } else if (e.data.tools && e.data.tools == "31") {
  2283. U.MD.D.I.openApplication("netWorkPanel")
  2284. } else if (e.data.tools && e.data.tools == "32") {
  2285. U.MD.D.I.openApplication("codeEdit")
  2286. } else if (e.data.tools && e.data.tools == "57") {
  2287. U.MD.D.I.openApplication("CocoPi")
  2288. } else if (e.data.tools && e.data.tools == "63") {
  2289. U.MD.D.I.openApplication("Wood")
  2290. } else if (e.data.tools && e.data.tools == "58") {
  2291. U.MD.D.I.openApplication("car")
  2292. } else if (e.data.tools && e.data.tools == "59") {
  2293. U.MD.D.I.openApplication("lineSearch")
  2294. } else if (e.data.tools && e.data.tools == "60") {
  2295. U.MD.D.I.openApplication("deepLearning")
  2296. } else if (e.data.tools && e.data.tools == "61") {
  2297. U.MD.D.I.openApplication("allHistory")
  2298. } else if (e.data.tools && e.data.tools == "28") {
  2299. U.MD.D.I.openApplication("translation")
  2300. } else if (e.data.tools && e.data.tools == "37") {
  2301. U.MD.D.I.openApplication("mohe")
  2302. } else if (e.data.tools && e.data.tools == "38") {
  2303. U.MD.D.I.openApplication("24game")
  2304. } else if (e.data.tools && e.data.tools == "39") {
  2305. U.MD.D.I.openApplication("GeoGebra")
  2306. } else if (e.data.tools && e.data.tools == "43") {
  2307. U.MD.D.I.openApplication("studentEvaluate")
  2308. } else if (e.data.tools && e.data.tools == "44") {
  2309. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2310. } else if (e.data.tools && e.data.tools == "46") {
  2311. U.MD.D.I.openApplication("project")
  2312. } else if (e.data.tools && e.data.tools == "1s") {
  2313. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2314. } else if (e.data.tools && e.data.tools == "3s") {
  2315. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2316. } else if (e.data.tools && e.data.tools == "6s") {
  2317. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2318. } else if (e.data.tools && e.data.tools == "1studio") {
  2319. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2320. } else if (e.data.tools && e.data.tools == "3studio") {
  2321. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2322. } else if (e.data.tools && e.data.tools == "6studio") {
  2323. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2324. } else if (e.data.tools && e.data.tools == "3y") {
  2325. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2326. } else if (e.data.tools && e.data.tools == "1y") {
  2327. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2328. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2329. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2330. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2331. U.MD.D.I.openApplication("AIAnalyse")
  2332. } else if (e.data.tools && e.data.tools == "1teacher") {
  2333. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2334. } else if (e.data.tools && e.data.tools == "3teacher") {
  2335. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2336. } else if (e.data.tools && e.data.tools == "7teacher") {
  2337. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2338. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2339. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2340. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2341. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2342. } else if (e.data.tools && e.data.tools == "1E") {
  2343. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2344. } else if (e.data.tools && e.data.tools == "3E") {
  2345. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2346. } else if (e.data.tools && e.data.tools == "57y") {
  2347. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2348. } else if (e.data.tools && e.data.tools == "57u") {
  2349. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2350. } else if (e.data.tools && e.data.tools == "57teacher") {
  2351. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2352. } else if (e.data.tools && e.data.tools == "64") {
  2353. U.MD.D.I.openApplication("AIChat")
  2354. } else if (e.data.tools && e.data.tools == "66") {
  2355. U.MD.D.I.openApplication("formulaEdi")
  2356. } else if (e.data.tools && e.data.tools == "67") {
  2357. U.MD.D.I.openApplication("molStr")
  2358. } else if (e.data.tools && e.data.tools == "68") {
  2359. U.MD.D.I.openApplication("timeAxis")
  2360. } else if (e.data.tools && e.data.tools == "openCourse") {
  2361. let _data = {
  2362. typea:e.data.typea,
  2363. typeb:e.data.typeb,
  2364. typed:e.data.typed,
  2365. }
  2366. U.MD.D.I.openInApplication("index", _data)
  2367. }
  2368. });
  2369. U.MD.D.I.selectUser = function() {
  2370. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2371. if (res.value[0].length > 0) {
  2372. US.userInfo = res.value[0][0];
  2373. $(".userName")[0].innerHTML = US.userInfo.username;
  2374. }
  2375. }, [], { "type": "GET", "withCredentials": true });
  2376. }
  2377. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2378. var _userinfo = US.userInfo, //登录用户信息
  2379. _userid = US.userInfo.userid, //登录用户id
  2380. _oid = _userinfo.organizeid,
  2381. _type = US.userInfo.type,
  2382. _org = US.userInfo.org,
  2383. _role = US.userInfo.role,
  2384. _classId = US.userInfo.classid;
  2385. if (_type == 4) {
  2386. tType = 4
  2387. }
  2388. switch (str) {
  2389. case "studyDetailNT": //无终端模式
  2390. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2391. setTimeout(() => {
  2392. U.MD.U.L.login();
  2393. }, 2000);
  2394. } else {
  2395. _formdiv = new U.UF.UI.form(
  2396. "课程详情",
  2397. $$("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 }), {
  2398. "id": "studyDetailNT",
  2399. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2400. "onresize": function() {}
  2401. }, {
  2402. closecallback: function() {}
  2403. }, { "style": { "height": "36px" } }).form; //创建窗体
  2404. _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); } }
  2405. break;
  2406. }
  2407. case "studyDetail":
  2408. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2409. setTimeout(() => {
  2410. U.MD.U.L.login();
  2411. }, 2000);
  2412. } else {
  2413. _formdiv = new U.UF.UI.form(
  2414. "课程详情",
  2415. $$("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 }), {
  2416. "id": "studyDetail",
  2417. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2418. "onresize": function() {}
  2419. }, {
  2420. closecallback: function() {}
  2421. }, { "style": { "height": "36px" } }).form; //创建窗体
  2422. _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); } }
  2423. break;
  2424. }
  2425. case "studyDetailS":
  2426. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2427. setTimeout(() => {
  2428. U.MD.U.L.login();
  2429. }, 2000);
  2430. } else {
  2431. _formdiv = new U.UF.UI.form(
  2432. "项目详情",
  2433. $$("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 }), {
  2434. "id": "studyDetailS",
  2435. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2436. "onresize": function() {}
  2437. }, {
  2438. closecallback: function() {}
  2439. }, { "style": { "height": "36px" } }).form; //创建窗体
  2440. _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); } }
  2441. break;
  2442. }
  2443. case "studyDetailStudio":
  2444. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2445. setTimeout(() => {
  2446. U.MD.U.L.login();
  2447. }, 2000);
  2448. } else {
  2449. _formdiv = new U.UF.UI.form(
  2450. "工作详情",
  2451. $$("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 }), {
  2452. "id": "studyDetailStudio",
  2453. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2454. "onresize": function() {}
  2455. }, {
  2456. closecallback: function() {}
  2457. }, { "style": { "height": "36px" } }).form; //创建窗体
  2458. _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); } }
  2459. break;
  2460. }
  2461. case "studyDetailS5":
  2462. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2463. setTimeout(() => {
  2464. U.MD.U.L.login();
  2465. }, 2000);
  2466. } else {
  2467. _formdiv = new U.UF.UI.form(
  2468. "项目详情",
  2469. $$("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 }), {
  2470. "id": "studyDetailS",
  2471. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2472. "onresize": function() {}
  2473. }, {
  2474. closecallback: function() {}
  2475. }, { "style": { "height": "36px" } }).form; //创建窗体
  2476. _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); } }
  2477. break;
  2478. }
  2479. case "studyDetailGM":
  2480. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2481. setTimeout(() => {
  2482. U.MD.U.L.login();
  2483. }, 2000);
  2484. } else {
  2485. _formdiv = new U.UF.UI.form(
  2486. "课程详情",
  2487. $$("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 }), {
  2488. "id": "studyDetail",
  2489. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2490. "onresize": function() {}
  2491. }, {
  2492. closecallback: function() {}
  2493. }, { "style": { "height": "36px" } }).form; //创建窗体
  2494. _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); } }
  2495. break;
  2496. }
  2497. case "hanUrl":
  2498. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2499. setTimeout(() => {
  2500. U.MD.U.L.login();
  2501. }, 2000);
  2502. } else {
  2503. _formdiv = new U.UF.UI.form(
  2504. "汉字宫",
  2505. $$("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" }), {
  2506. "id": "hanUrl",
  2507. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2508. "onresize": function() {}
  2509. }, {
  2510. closecallback: function() {}
  2511. }, { "style": { "height": "36px" } }).form; //创建窗体
  2512. _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); } }
  2513. break;
  2514. }
  2515. case "index":
  2516. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2517. setTimeout(() => {
  2518. U.MD.U.L.login();
  2519. }, 2000);
  2520. } else {
  2521. _formdiv = new U.UF.UI.form(
  2522. "课程中心",
  2523. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea="+ data.typea+ "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2524. "id": "study",
  2525. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2526. "onresize": function() {}
  2527. }, {
  2528. closecallback: function() {}
  2529. }, { "style": { "height": "36px" } }).form; //创建窗体
  2530. _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); } }
  2531. break;
  2532. }
  2533. }
  2534. }
  2535. U.MD.D.I.openApplication = function(str, obj, info) {
  2536. obj = obj || {};
  2537. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2538. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2539. _userinfo = US.userInfo, //登录用户信息
  2540. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2541. _oid = obj.organizeid || _userinfo.organizeid,
  2542. _type = US.userInfo.type,
  2543. _org = US.userInfo.org,
  2544. _role = US.userInfo.role,
  2545. _classId = US.userInfo.classid,
  2546. _TscreenType = 1
  2547. _screenType = 2,
  2548. _SscreenType = 3;
  2549. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2550. return;
  2551. }
  2552. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2553. switch (str) {
  2554. case "studnetProject": //好友打开
  2555. _formdiv = new U.UF.UI.form(
  2556. "我的项目",
  2557. $$("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 }), {
  2558. "id": "studnetProject",
  2559. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2560. "onresize": function() {}
  2561. }, {
  2562. closecallback: function() {}
  2563. }, { "style": { "height": "36px" } }).form; //创建窗体
  2564. _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); } }
  2565. break;
  2566. case "studentEvaluate": //好友打开
  2567. _formdiv = new U.UF.UI.form(
  2568. "我的评价",
  2569. $$("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 }), {
  2570. "id": "studentEvaluate",
  2571. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2572. "onresize": function() {}
  2573. }, {
  2574. closecallback: function() {}
  2575. }, { "style": { "height": "36px" } }).form; //创建窗体
  2576. _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); } }
  2577. break;
  2578. case "my":
  2579. _formdiv = new U.UF.UI.form(
  2580. "我的资料",
  2581. $$("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 }), {
  2582. "id": "my",
  2583. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2584. "onresize": function() {}
  2585. }, {
  2586. closecallback: function() {}
  2587. }, { "style": { "height": "36px" } }).form; //创建窗体
  2588. _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); } }
  2589. break;
  2590. case "program":
  2591. _formdiv = new U.UF.UI.form(
  2592. "编程平台",
  2593. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2594. "id": "program",
  2595. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2596. "onresize": function() {}
  2597. }, {
  2598. closecallback: function() {}
  2599. }, { "style": { "height": "36px" } }).form; //创建窗体
  2600. _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); } }
  2601. break;
  2602. case "library":
  2603. _formdiv = new U.UF.UI.form(
  2604. "素材库",
  2605. $$("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 }), {
  2606. "id": "library",
  2607. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2608. "onresize": function() {}
  2609. }, {
  2610. closecallback: function() {}
  2611. }, { "style": { "height": "36px" } }).form; //创建窗体
  2612. _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); } }
  2613. break;
  2614. case "whiteboard":
  2615. _formdiv = new U.UF.UI.form(
  2616. "电子白板",
  2617. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2618. "id": "whiteboard",
  2619. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2620. "onresize": function() {}
  2621. }, {
  2622. closecallback: function() {}
  2623. }, { "style": { "height": "36px" } }).form; //创建窗体
  2624. _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); } }
  2625. break;
  2626. case "investigation":
  2627. _formdiv = new U.UF.UI.form(
  2628. "问卷调查",
  2629. $$("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 }), {
  2630. "id": "investigation",
  2631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2632. "onresize": function() {}
  2633. }, {
  2634. closecallback: function() {}
  2635. }, { "style": { "height": "36px" } }).form; //创建窗体
  2636. _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); } }
  2637. break;
  2638. case "note":
  2639. _formdiv = new U.UF.UI.form(
  2640. "便签分类",
  2641. $$("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 }), {
  2642. "id": "note",
  2643. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2644. "onresize": function() {}
  2645. }, {
  2646. closecallback: function() {}
  2647. }, { "style": { "height": "36px" } }).form; //创建窗体
  2648. _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); } }
  2649. break;
  2650. // case "score":
  2651. // _formdiv = new U.UF.UI.form(
  2652. // "量规评分",
  2653. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2654. // "id": "score",
  2655. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2656. // "onresize": function() {}
  2657. // }, {
  2658. // closecallback: function() {}
  2659. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2660. // _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); } }
  2661. // break;
  2662. case "mind":
  2663. _formdiv = new U.UF.UI.form(
  2664. "思维导图",
  2665. $$("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"
  2666. "id": "mind",
  2667. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2668. "onresize": function() {}
  2669. }, {
  2670. closecallback: function() {}
  2671. }, { "style": { "height": "36px" } }).form; //创建窗体
  2672. _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); } }
  2673. break;
  2674. case "doc":
  2675. // U.MD.D.I.isRoom();
  2676. _formdiv = new U.UF.UI.form(
  2677. "协同文档",
  2678. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2679. "id": "doc",
  2680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2681. "onresize": function() {}
  2682. }, {
  2683. closecallback: function() {}
  2684. }, { "style": { "height": "36px" } }).form; //创建窗体
  2685. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2686. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2687. // })
  2688. _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); } }
  2689. break;
  2690. case "studentStudy":
  2691. _formdiv = new U.UF.UI.form(
  2692. "课程中心",
  2693. $$("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
  2694. "id": "studentStudy",
  2695. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2696. "onresize": function() {}
  2697. }, {
  2698. closecallback: function() {}
  2699. }, { "style": { "height": "36px" } }).form; //创建窗体
  2700. _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); } }
  2701. break;
  2702. case "train": //好友打开
  2703. _formdiv = new U.UF.UI.form(
  2704. "训练平台",
  2705. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2706. "id": "train",
  2707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2708. "onresize": function() {}
  2709. }, {
  2710. closecallback: function() {}
  2711. }, { "style": { "height": "36px" } }).form; //创建窗体
  2712. _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); } }
  2713. break;
  2714. case "mindNetwork": //好友打开
  2715. _formdiv = new U.UF.UI.form(
  2716. "思维网格",
  2717. $$("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 }), {
  2718. "id": "mindNetwork",
  2719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2720. "onresize": function() {}
  2721. }, {
  2722. closecallback: function() {}
  2723. }, { "style": { "height": "36px" } }).form; //创建窗体
  2724. _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); } }
  2725. break;
  2726. case "studentClassRoom": //好友打开
  2727. _formdiv = new U.UF.UI.form(
  2728. "实时课堂",
  2729. $$("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 }), {
  2730. "id": "studentClassRoom",
  2731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2732. "onresize": function() {}
  2733. }, {
  2734. closecallback: function() {}
  2735. }, { "style": { "height": "36px" } }).form; //创建窗体
  2736. _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); } }
  2737. setTimeout(() => {
  2738. U.UF.F.windowZooming(_formdiv)
  2739. }, 0);
  2740. break;
  2741. }
  2742. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2743. switch (str) {
  2744. case "studnetProject": //好友打开
  2745. _formdiv = new U.UF.UI.form(
  2746. "我的项目",
  2747. $$("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 }), {
  2748. "id": "studnetProject",
  2749. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2750. "onresize": function() {}
  2751. }, {
  2752. closecallback: function() {}
  2753. }, { "style": { "height": "36px" } }).form; //创建窗体
  2754. _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); } }
  2755. break;
  2756. case "studentEvaluate": //好友打开
  2757. _formdiv = new U.UF.UI.form(
  2758. "我的评价",
  2759. $$("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 }), {
  2760. "id": "studentEvaluate",
  2761. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2762. "onresize": function() {}
  2763. }, {
  2764. closecallback: function() {}
  2765. }, { "style": { "height": "36px" } }).form; //创建窗体
  2766. _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); } }
  2767. break;
  2768. case "my":
  2769. _formdiv = new U.UF.UI.form(
  2770. "我的资料",
  2771. $$("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 }), {
  2772. "id": "my",
  2773. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2774. "onresize": function() {}
  2775. }, {
  2776. closecallback: function() {}
  2777. }, { "style": { "height": "36px" } }).form; //创建窗体
  2778. _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); } }
  2779. break;
  2780. case "program":
  2781. _formdiv = new U.UF.UI.form(
  2782. "编程平台",
  2783. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2784. "id": "program",
  2785. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2786. "onresize": function() {}
  2787. }, {
  2788. closecallback: function() {}
  2789. }, { "style": { "height": "36px" } }).form; //创建窗体
  2790. _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); } }
  2791. break;
  2792. case "library":
  2793. _formdiv = new U.UF.UI.form(
  2794. "素材库",
  2795. $$("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 }), {
  2796. "id": "library",
  2797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2798. "onresize": function() {}
  2799. }, {
  2800. closecallback: function() {}
  2801. }, { "style": { "height": "36px" } }).form; //创建窗体
  2802. _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); } }
  2803. break;
  2804. case "whiteboard":
  2805. _formdiv = new U.UF.UI.form(
  2806. "电子白板",
  2807. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2808. "id": "whiteboard",
  2809. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2810. "onresize": function() {}
  2811. }, {
  2812. closecallback: function() {}
  2813. }, { "style": { "height": "36px" } }).form; //创建窗体
  2814. _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); } }
  2815. break;
  2816. case "investigation":
  2817. _formdiv = new U.UF.UI.form(
  2818. "问卷调查",
  2819. $$("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 }), {
  2820. "id": "investigation",
  2821. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2822. "onresize": function() {}
  2823. }, {
  2824. closecallback: function() {}
  2825. }, { "style": { "height": "36px" } }).form; //创建窗体
  2826. _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); } }
  2827. break;
  2828. case "note":
  2829. _formdiv = new U.UF.UI.form(
  2830. "便签分类",
  2831. $$("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 }), {
  2832. "id": "note",
  2833. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2834. "onresize": function() {}
  2835. }, {
  2836. closecallback: function() {}
  2837. }, { "style": { "height": "36px" } }).form; //创建窗体
  2838. _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); } }
  2839. break;
  2840. // case "score":
  2841. // _formdiv = new U.UF.UI.form(
  2842. // "量规评分",
  2843. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2844. // "id": "score",
  2845. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2846. // "onresize": function() {}
  2847. // }, {
  2848. // closecallback: function() {}
  2849. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2850. // _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); } }
  2851. // break;
  2852. case "mind":
  2853. _formdiv = new U.UF.UI.form(
  2854. "思维导图",
  2855. $$("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"
  2856. "id": "mind",
  2857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2858. "onresize": function() {}
  2859. }, {
  2860. closecallback: function() {}
  2861. }, { "style": { "height": "36px" } }).form; //创建窗体
  2862. _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); } }
  2863. break;
  2864. case "doc":
  2865. // U.MD.D.I.isRoom();
  2866. _formdiv = new U.UF.UI.form(
  2867. "协同文档",
  2868. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2869. "id": "doc",
  2870. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2871. "onresize": function() {}
  2872. }, {
  2873. closecallback: function() {}
  2874. }, { "style": { "height": "36px" } }).form; //创建窗体
  2875. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2876. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2877. })
  2878. _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); } }
  2879. break;
  2880. case "train": //好友打开
  2881. _formdiv = new U.UF.UI.form(
  2882. "训练平台",
  2883. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2884. "id": "train",
  2885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2886. "onresize": function() {}
  2887. }, {
  2888. closecallback: function() {}
  2889. }, { "style": { "height": "36px" } }).form; //创建窗体
  2890. _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); } }
  2891. break;
  2892. case "studentStudy":
  2893. _formdiv = new U.UF.UI.form(
  2894. "课程中心",
  2895. $$("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
  2896. "id": "studentStudy",
  2897. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2898. "onresize": function() {}
  2899. }, {
  2900. closecallback: function() {}
  2901. }, { "style": { "height": "36px" } }).form; //创建窗体
  2902. _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); } }
  2903. break;
  2904. case "mindNetwork": //好友打开
  2905. _formdiv = new U.UF.UI.form(
  2906. "思维网格",
  2907. $$("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 }), {
  2908. "id": "mindNetwork",
  2909. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2910. "onresize": function() {}
  2911. }, {
  2912. closecallback: function() {}
  2913. }, { "style": { "height": "36px" } }).form; //创建窗体
  2914. _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); } }
  2915. break;
  2916. case "studentClassRoom": //好友打开
  2917. _formdiv = new U.UF.UI.form(
  2918. "实时课堂",
  2919. $$("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 }), {
  2920. "id": "studentClassRoom",
  2921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2922. "onresize": function() {}
  2923. }, {
  2924. closecallback: function() {}
  2925. }, { "style": { "height": "36px" } }).form; //创建窗体
  2926. _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); } }
  2927. setTimeout(() => {
  2928. U.UF.F.windowZooming(_formdiv)
  2929. }, 0);
  2930. break;
  2931. }
  2932. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2933. //选择应用处理
  2934. switch (str) {
  2935. case "project": //好友打开
  2936. _formdiv = new U.UF.UI.form(
  2937. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2938. $$("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 }), {
  2939. "id": "project",
  2940. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2941. "onresize": function() {}
  2942. }, {
  2943. closecallback: function() {}
  2944. }, { "style": { "height": "36px" } }).form; //创建窗体
  2945. _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); } }
  2946. break;
  2947. case "student":
  2948. _formdiv = new U.UF.UI.form(
  2949. "学生管理",
  2950. $$("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 }), {
  2951. "id": "student",
  2952. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2953. "onresize": function() {}
  2954. }, {
  2955. closecallback: function() {}
  2956. }, { "style": { "height": "36px" } }).form; //创建窗体
  2957. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2958. break;
  2959. case "evaluate":
  2960. _formdiv = new U.UF.UI.form(
  2961. "学生评价",
  2962. $$("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 }), {
  2963. "id": "evaluate",
  2964. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2965. "onresize": function() {}
  2966. }, {
  2967. closecallback: function() {}
  2968. }, { "style": { "height": "36px" } }).form; //创建窗体
  2969. _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); } }
  2970. break;
  2971. case "sys":
  2972. _formdiv = new U.UF.UI.form(
  2973. "目标管理",
  2974. $$("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 }), {
  2975. "id": "sys",
  2976. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2977. "onresize": function() {}
  2978. }, {
  2979. closecallback: function() {}
  2980. }, { "style": { "height": "36px" } }).form; //创建窗体
  2981. _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); } }
  2982. break;
  2983. case "courseDesign":
  2984. _formdiv = new U.UF.UI.form(
  2985. "项目设计",
  2986. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2987. "id": "courseDesign",
  2988. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2989. "onresize": function() {}
  2990. }, {
  2991. closecallback: function() {}
  2992. }, { "style": { "height": "36px" } }).form; //创建窗体
  2993. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2994. break;
  2995. case "program":
  2996. _formdiv = new U.UF.UI.form(
  2997. "编程平台",
  2998. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2999. "id": "program",
  3000. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3001. "onresize": function() {}
  3002. }, {
  3003. closecallback: function() {}
  3004. }, { "style": { "height": "36px" } }).form; //创建窗体
  3005. _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); } }
  3006. break;
  3007. case "class":
  3008. _formdiv = new U.UF.UI.form(
  3009. "班级管理",
  3010. $$("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 }), {
  3011. "id": "class",
  3012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3013. "onresize": function() {}
  3014. }, {
  3015. closecallback: function() {}
  3016. }, { "style": { "height": "36px" } }).form; //创建窗体
  3017. _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); } }
  3018. break;
  3019. case "Grade":
  3020. _formdiv = new U.UF.UI.form(
  3021. "年级管理",
  3022. $$("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 }), {
  3023. "id": "Grade",
  3024. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3025. "onresize": function() {}
  3026. }, {
  3027. closecallback: function() {}
  3028. }, { "style": { "height": "36px" } }).form; //创建窗体
  3029. _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); } }
  3030. break;
  3031. case "teacherOffice":
  3032. _formdiv = new U.UF.UI.form(
  3033. "教研室",
  3034. $$("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 }), {
  3035. "id": "teacherOffice",
  3036. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3037. "onresize": function() {}
  3038. }, {
  3039. closecallback: function() {}
  3040. }, { "style": { "height": "36px" } }).form; //创建窗体
  3041. _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); } }
  3042. break;
  3043. case "my":
  3044. _formdiv = new U.UF.UI.form(
  3045. "我的资料",
  3046. $$("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 }), {
  3047. "id": "my",
  3048. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3049. "onresize": function() {}
  3050. }, {
  3051. closecallback: function() {}
  3052. }, { "style": { "height": "36px" } }).form; //创建窗体
  3053. _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); } }
  3054. break;
  3055. case "notice":
  3056. _formdiv = new U.UF.UI.form(
  3057. "通知公告",
  3058. $$("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 }), {
  3059. "id": "notice",
  3060. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3061. "onresize": function() {}
  3062. }, {
  3063. closecallback: function() {}
  3064. }, { "style": { "height": "36px" } }).form; //创建窗体
  3065. _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); } }
  3066. break;
  3067. case "library":
  3068. _formdiv = new U.UF.UI.form(
  3069. "素材库",
  3070. $$("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 }), {
  3071. "id": "library",
  3072. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3073. "onresize": function() {}
  3074. }, {
  3075. closecallback: function() {}
  3076. }, { "style": { "height": "36px" } }).form; //创建窗体
  3077. _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); } }
  3078. break;
  3079. case "whiteboard":
  3080. _formdiv = new U.UF.UI.form(
  3081. "电子白板",
  3082. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3083. "id": "whiteboard",
  3084. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3085. "onresize": function() {}
  3086. }, {
  3087. closecallback: function() {}
  3088. }, { "style": { "height": "36px" } }).form; //创建窗体
  3089. _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); } }
  3090. break;
  3091. case "investigation":
  3092. _formdiv = new U.UF.UI.form(
  3093. "问卷调查",
  3094. $$("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 }), {
  3095. "id": "investigation",
  3096. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3097. "onresize": function() {}
  3098. }, {
  3099. closecallback: function() {}
  3100. }, { "style": { "height": "36px" } }).form; //创建窗体
  3101. _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); } }
  3102. break;
  3103. case "note":
  3104. _formdiv = new U.UF.UI.form(
  3105. "便签分类",
  3106. $$("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 }), {
  3107. "id": "note",
  3108. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3109. "onresize": function() {}
  3110. }, {
  3111. closecallback: function() {}
  3112. }, { "style": { "height": "36px" } }).form; //创建窗体
  3113. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3114. break;
  3115. // case "score":
  3116. // _formdiv = new U.UF.UI.form(
  3117. // "量规评分",
  3118. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3119. // "id": "score",
  3120. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3121. // "onresize": function() {}
  3122. // }, {
  3123. // closecallback: function() {}
  3124. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3125. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3126. // break;
  3127. case "mind":
  3128. _formdiv = new U.UF.UI.form(
  3129. "思维导图",
  3130. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3131. "id": "mind",
  3132. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3133. "onresize": function() {}
  3134. }, {
  3135. closecallback: function() {}
  3136. }, { "style": { "height": "36px" } }).form; //创建窗体
  3137. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3138. break;
  3139. case "doc":
  3140. // U.MD.D.I.isRoom();
  3141. _formdiv = new U.UF.UI.form(
  3142. "协同文档",
  3143. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3144. "id": "doc",
  3145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3146. "onresize": function() {}
  3147. }, {
  3148. closecallback: function() {}
  3149. }, { "style": { "height": "36px" } }).form; //创建窗体
  3150. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3151. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3152. })
  3153. _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); } }
  3154. break;
  3155. case "study":
  3156. _formdiv = new U.UF.UI.form(
  3157. "课程中心",
  3158. $$("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
  3159. "id": "study",
  3160. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3161. "onresize": function() {}
  3162. }, {
  3163. closecallback: function() {}
  3164. }, { "style": { "height": "36px" } }).form; //创建窗体
  3165. _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); } }
  3166. break;
  3167. case "mindNetwork": //好友打开
  3168. _formdiv = new U.UF.UI.form(
  3169. "思维网格",
  3170. $$("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 }), {
  3171. "id": "mindNetwork",
  3172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3173. "onresize": function() {}
  3174. }, {
  3175. closecallback: function() {}
  3176. }, { "style": { "height": "36px" } }).form; //创建窗体
  3177. _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); } }
  3178. break;
  3179. case "train": //好友打开
  3180. _formdiv = new U.UF.UI.form(
  3181. "训练平台",
  3182. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3183. "id": "mindNetwork",
  3184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3185. "onresize": function() {}
  3186. }, {
  3187. closecallback: function() {}
  3188. }, { "style": { "height": "36px" } }).form; //创建窗体
  3189. _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); } }
  3190. break;
  3191. case "teacherClassRoom": //好友打开
  3192. _formdiv = new U.UF.UI.form(
  3193. "实时课堂",
  3194. $$("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 }), {
  3195. "id": "teacherClassRoom",
  3196. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3197. "onresize": function() {}
  3198. }, {
  3199. closecallback: function() {}
  3200. }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. _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); } }
  3202. setTimeout(() => {
  3203. U.UF.F.windowZooming(_formdiv)
  3204. }, 0);
  3205. break;
  3206. }
  3207. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3208. switch (str) {
  3209. case "project": //好友打开
  3210. _formdiv = new U.UF.UI.form(
  3211. "课程管理",
  3212. $$("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 }), {
  3213. "id": "project",
  3214. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3215. "onresize": function() {}
  3216. }, {
  3217. closecallback: function() {}
  3218. }, { "style": { "height": "36px" } }).form; //创建窗体
  3219. _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); } }
  3220. break;
  3221. case "evaluate":
  3222. _formdiv = new U.UF.UI.form(
  3223. "学生评价",
  3224. $$("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 }), {
  3225. "id": "evaluate",
  3226. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3227. "onresize": function() {}
  3228. }, {
  3229. closecallback: function() {}
  3230. }, { "style": { "height": "36px" } }).form; //创建窗体
  3231. _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); } }
  3232. break;
  3233. case "notice":
  3234. _formdiv = new U.UF.UI.form(
  3235. "通知公告",
  3236. $$("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 }), {
  3237. "id": "notice",
  3238. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3239. "onresize": function() {}
  3240. }, {
  3241. closecallback: function() {}
  3242. }, { "style": { "height": "36px" } }).form; //创建窗体
  3243. _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); } }
  3244. break;
  3245. case "stuLibrary":
  3246. _formdiv = new U.UF.UI.form(
  3247. "学习资料",
  3248. $$("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 }), {
  3249. "id": "stuLibrary",
  3250. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3251. "onresize": function() {}
  3252. }, {
  3253. closecallback: function() {}
  3254. }, { "style": { "height": "36px" } }).form; //创建窗体
  3255. _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); } }
  3256. break;
  3257. case "program":
  3258. _formdiv = new U.UF.UI.form(
  3259. "编程平台",
  3260. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3261. "id": "program",
  3262. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3263. "onresize": function() {}
  3264. }, {
  3265. closecallback: function() {}
  3266. }, { "style": { "height": "36px" } }).form; //创建窗体
  3267. _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); } }
  3268. break;
  3269. case "whiteboard":
  3270. _formdiv = new U.UF.UI.form(
  3271. "电子白板",
  3272. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3273. "id": "whiteboard",
  3274. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3275. "onresize": function() {}
  3276. }, {
  3277. closecallback: function() {}
  3278. }, { "style": { "height": "36px" } }).form; //创建窗体
  3279. _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); } }
  3280. break;
  3281. case "investigation":
  3282. _formdiv = new U.UF.UI.form(
  3283. "问卷调查",
  3284. $$("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 }), {
  3285. "id": "investigation",
  3286. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3287. "onresize": function() {}
  3288. }, {
  3289. closecallback: function() {}
  3290. }, { "style": { "height": "36px" } }).form; //创建窗体
  3291. _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); } }
  3292. break;
  3293. case "mind":
  3294. _formdiv = new U.UF.UI.form(
  3295. "思维导图",
  3296. $$("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"
  3297. "id": "mind",
  3298. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3299. "onresize": function() {}
  3300. }, {
  3301. closecallback: function() {}
  3302. }, { "style": { "height": "36px" } }).form; //创建窗体
  3303. _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); } }
  3304. break;
  3305. case "doc":
  3306. // U.MD.D.I.isRoom();
  3307. _formdiv = new U.UF.UI.form(
  3308. "协同文档",
  3309. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3310. "id": "doc",
  3311. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3312. "onresize": function() {}
  3313. }, {
  3314. closecallback: function() {}
  3315. }, { "style": { "height": "36px" } }).form; //创建窗体
  3316. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3317. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3318. })
  3319. _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); } }
  3320. break;
  3321. case "study":
  3322. _formdiv = new U.UF.UI.form(
  3323. "课程中心",
  3324. $$("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
  3325. "id": "study",
  3326. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3327. "onresize": function() {}
  3328. }, {
  3329. closecallback: function() {}
  3330. }, { "style": { "height": "36px" } }).form; //创建窗体
  3331. _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); } }
  3332. break;
  3333. case "mindNetwork": //好友打开
  3334. _formdiv = new U.UF.UI.form(
  3335. "思维网格",
  3336. $$("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 }), {
  3337. "id": "mindNetwork",
  3338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3339. "onresize": function() {}
  3340. }, {
  3341. closecallback: function() {}
  3342. }, { "style": { "height": "36px" } }).form; //创建窗体
  3343. _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); } }
  3344. break;
  3345. case "train": //好友打开
  3346. _formdiv = new U.UF.UI.form(
  3347. "训练平台",
  3348. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3349. "id": "train",
  3350. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3351. "onresize": function() {}
  3352. }, {
  3353. closecallback: function() {}
  3354. }, { "style": { "height": "36px" } }).form; //创建窗体
  3355. _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); } }
  3356. break;
  3357. case "sys":
  3358. _formdiv = new U.UF.UI.form(
  3359. "目标管理",
  3360. $$("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 }), {
  3361. "id": "sys",
  3362. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3363. "onresize": function() {}
  3364. }, {
  3365. closecallback: function() {}
  3366. }, { "style": { "height": "36px" } }).form; //创建窗体
  3367. _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); } }
  3368. break;
  3369. case "courseDesign":
  3370. _formdiv = new U.UF.UI.form(
  3371. "项目设计",
  3372. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3373. "id": "courseDesign",
  3374. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3375. "onresize": function() {}
  3376. }, {
  3377. closecallback: function() {}
  3378. }, { "style": { "height": "36px" } }).form; //创建窗体
  3379. _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); } }
  3380. break;
  3381. }
  3382. } else if (!_type) {
  3383. switch (str) {
  3384. case "my":
  3385. _formdiv = new U.UF.UI.form(
  3386. "我的资料",
  3387. $$("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 }), {
  3388. "id": "my",
  3389. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3390. "onresize": function() {}
  3391. }, {
  3392. closecallback: function() {}
  3393. }, { "style": { "height": "36px" } }).form; //创建窗体
  3394. _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); } }
  3395. break;
  3396. }
  3397. }
  3398. switch (str) {
  3399. // AIprogram2 AI体验 aihub.cocorobo.cn
  3400. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3401. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3402. case "formulaEdi": //公式编辑
  3403. _formdiv = new U.UF.UI.form(
  3404. "公式编辑",
  3405. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3406. "id": "formulaEdi",
  3407. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function() {}
  3409. }, {
  3410. closecallback: function() {}
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _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); } }
  3413. break;
  3414. case "molStr": //分子结构
  3415. _formdiv = new U.UF.UI.form(
  3416. "分子结构",
  3417. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3418. "id": "molStr",
  3419. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function() {}
  3421. }, {
  3422. closecallback: function() {}
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _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); } }
  3425. break;
  3426. case "timeAxis": //时间轴
  3427. _formdiv = new U.UF.UI.form(
  3428. "时间轴",
  3429. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3430. "id": "timeAxis",
  3431. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function() {}
  3433. }, {
  3434. closecallback: function() {}
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _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); } }
  3437. break;
  3438. case "AIprogram2": //AI体验
  3439. _formdiv = new U.UF.UI.form(
  3440. "AI体验",
  3441. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3442. "id": "AIprogram2",
  3443. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function() {}
  3445. }, {
  3446. closecallback: function() {}
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _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); } }
  3449. break;
  3450. case "Pythonprogram": //python编程
  3451. _formdiv = new U.UF.UI.form(
  3452. "Python编程",
  3453. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3454. "id": "Pythonprogram",
  3455. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function() {}
  3457. }, {
  3458. closecallback: function() {}
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _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); } }
  3461. break;
  3462. case "AIprogram": //ai编程
  3463. _formdiv = new U.UF.UI.form(
  3464. "AI编程平台",
  3465. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3466. "id": "AIprogram",
  3467. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function() {}
  3469. }, {
  3470. closecallback: function() {}
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _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); } }
  3473. break;
  3474. case "CocoPi": //CocoPi
  3475. _formdiv = new U.UF.UI.form(
  3476. "CocoPi",
  3477. $$("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" }), {
  3478. "id": "CocoPi",
  3479. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function() {}
  3481. }, {
  3482. closecallback: function() {}
  3483. }, { "style": { "height": "36px" } }).form; //创建窗体
  3484. _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); } }
  3485. break;
  3486. case "Wood": //Wood
  3487. _formdiv = new U.UF.UI.form(
  3488. "海龟编程",
  3489. $$("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/" }), {
  3490. "id": "Wood",
  3491. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3492. "onresize": function() {}
  3493. }, {
  3494. closecallback: function() {}
  3495. }, { "style": { "height": "36px" } }).form; //创建窗体
  3496. _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); } }
  3497. break;
  3498. case "car": //模拟驾驶
  3499. _formdiv = new U.UF.UI.form(
  3500. "模拟驾驶",
  3501. $$("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/" }), {
  3502. "id": "car",
  3503. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3504. "onresize": function() {}
  3505. }, {
  3506. closecallback: function() {}
  3507. }, { "style": { "height": "36px" } }).form; //创建窗体
  3508. _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); } }
  3509. break;
  3510. case "lineSearch": //路径搜索
  3511. _formdiv = new U.UF.UI.form(
  3512. "路径搜索",
  3513. $$("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/" }), {
  3514. "id": "lineSearch",
  3515. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3516. "onresize": function() {}
  3517. }, {
  3518. closecallback: function() {}
  3519. }, { "style": { "height": "36px" } }).form; //创建窗体
  3520. _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); } }
  3521. break;
  3522. case "deepLearning": //深度学习
  3523. _formdiv = new U.UF.UI.form(
  3524. "深度学习",
  3525. $$("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/#" }), {
  3526. "id": "deepLearning",
  3527. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3528. "onresize": function() {}
  3529. }, {
  3530. closecallback: function() {}
  3531. }, { "style": { "height": "36px" } }).form; //创建窗体
  3532. _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); } }
  3533. break;
  3534. case "allHistory": //深度学习
  3535. _formdiv = new U.UF.UI.form(
  3536. "全历史",
  3537. $$("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/" }), {
  3538. "id": "allHistory",
  3539. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3540. "onresize": function() {}
  3541. }, {
  3542. closecallback: function() {}
  3543. }, { "style": { "height": "36px" } }).form; //创建窗体
  3544. _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); } }
  3545. break;
  3546. case "chatPDF": //ai编程
  3547. _formdiv = new U.UF.UI.form(
  3548. "chatPDF",
  3549. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3550. "id": "chatPDF",
  3551. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3552. "onresize": function() {}
  3553. }, {
  3554. closecallback: function() {}
  3555. }, { "style": { "height": "36px" } }).form; //创建窗体
  3556. _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); } }
  3557. break;
  3558. case "resources": //国家教育
  3559. _formdiv = new U.UF.UI.form(
  3560. "国家教育",
  3561. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3562. "id": "resources",
  3563. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3564. "onresize": function() {}
  3565. }, {
  3566. closecallback: function() {}
  3567. }, { "style": { "height": "36px" } }).form; //创建窗体
  3568. _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); } }
  3569. break;
  3570. case "codeEdit": //源码编辑
  3571. _formdiv = new U.UF.UI.form(
  3572. "源码编辑",
  3573. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3574. "id": "codeEdit",
  3575. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function() {}
  3577. }, {
  3578. closecallback: function() {}
  3579. }, { "style": { "height": "36px" } }).form; //创建窗体
  3580. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3581. break; //
  3582. case "MindMap": //MindMap
  3583. _formdiv = new U.UF.UI.form(
  3584. "MindMap",
  3585. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3586. "id": "MindMap",
  3587. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function() {}
  3589. }, {
  3590. closecallback: function() {}
  3591. }, { "style": { "height": "36px" } }).form; //创建窗体
  3592. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3593. break;
  3594. case "netWorkPanel": //netWorkPanel
  3595. _formdiv = new U.UF.UI.form(
  3596. "netWorkPanel",
  3597. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3598. "id": "netWorkPanel",
  3599. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function() {}
  3601. }, {
  3602. closecallback: function() {}
  3603. }, { "style": { "height": "36px" } }).form; //创建窗体
  3604. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3605. break;
  3606. case "GeoGebra": //GeoGebra
  3607. _formdiv = new U.UF.UI.form(
  3608. "GeoGebra",
  3609. $$("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" }), {
  3610. "id": "GeoGebra",
  3611. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function() {}
  3613. }, {
  3614. closecallback: function() {}
  3615. }, { "style": { "height": "36px" } }).form; //创建窗体
  3616. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3617. break;
  3618. case "translation": //翻译
  3619. _formdiv = new U.UF.UI.form(
  3620. "翻译",
  3621. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3622. "id": "translation",
  3623. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function() {}
  3625. }, {
  3626. closecallback: function() {}
  3627. }, { "style": { "height": "36px" } }).form; //创建窗体
  3628. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3629. break;
  3630. case "mohe": //魔盒
  3631. _formdiv = new U.UF.UI.form(
  3632. "魔盒识字",
  3633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3634. "id": "mohe",
  3635. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3636. "onresize": function() {}
  3637. }, {
  3638. closecallback: function() {}
  3639. }, { "style": { "height": "36px" } }).form; //创建窗体
  3640. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3641. break;
  3642. case "24game": //24点
  3643. _formdiv = new U.UF.UI.form(
  3644. "24点",
  3645. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3646. "id": "24game",
  3647. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3648. "onresize": function() {}
  3649. }, {
  3650. closecallback: function() {}
  3651. }, { "style": { "height": "36px" } }).form; //创建窗体
  3652. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3653. break;
  3654. case "case":
  3655. _formdiv = new U.UF.UI.form(
  3656. "课程进展",
  3657. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3658. "id": "case",
  3659. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function() {}
  3661. }, {
  3662. closecallback: function() {}
  3663. }, { "style": { "height": "36px" } }).form; //创建窗体
  3664. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3665. break;
  3666. case "snf":
  3667. _formdiv = new U.UF.UI.form(
  3668. "赛诺梵",
  3669. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  3670. "id": "snf",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function() {}
  3673. }, {
  3674. closecallback: function() {}
  3675. }, { "style": { "height": "36px" } }).form; //创建窗体
  3676. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3677. break;
  3678. case "hanFamily":
  3679. _formdiv = new U.UF.UI.form(
  3680. "汉字家族",
  3681. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3682. "id": "hanFamily",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function() {}
  3685. }, {
  3686. closecallback: function() {}
  3687. }, { "style": { "height": "36px" } }).form; //创建窗体
  3688. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3689. break;
  3690. case "hanClassics":
  3691. _formdiv = new U.UF.UI.form(
  3692. "国学经典",
  3693. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3694. "id": "hanClassics",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function() {}
  3697. }, {
  3698. closecallback: function() {}
  3699. }, { "style": { "height": "36px" } }).form; //创建窗体
  3700. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3701. break;
  3702. case "hanTraining":
  3703. _formdiv = new U.UF.UI.form(
  3704. "笔画训练",
  3705. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3706. "id": "hanTraining",
  3707. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function() {}
  3709. }, {
  3710. closecallback: function() {}
  3711. }, { "style": { "height": "36px" } }).form; //创建窗体
  3712. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3713. break;
  3714. case "hanClass":
  3715. _formdiv = new U.UF.UI.form(
  3716. "书法课堂",
  3717. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3718. "id": "hanClass",
  3719. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function() {}
  3721. }, {
  3722. closecallback: function() {}
  3723. }, { "style": { "height": "36px" } }).form; //创建窗体
  3724. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3725. break;
  3726. case "han":
  3727. _formdiv = new U.UF.UI.form(
  3728. "汉字宫",
  3729. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3730. "id": "han",
  3731. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function() {}
  3733. }, {
  3734. closecallback: function() {}
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3737. break;
  3738. case "projectGM": //课程管理
  3739. _formdiv = new U.UF.UI.form(
  3740. "课程管理",
  3741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3742. "id": "projectGM",
  3743. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function() {}
  3745. }, {
  3746. closecallback: function() {}
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3749. break;
  3750. case "studyGM": //课程中心
  3751. _formdiv = new U.UF.UI.form(
  3752. "课程中心",
  3753. $$("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
  3754. "id": "study",
  3755. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3756. "onresize": function() {}
  3757. }, {
  3758. closecallback: function() {}
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3761. break;
  3762. // studentGM
  3763. case "studentGM": //学生管理
  3764. _formdiv = new U.UF.UI.form(
  3765. "学生管理",
  3766. $$("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 }), {
  3767. "id": "studentGM",
  3768. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3769. "onresize": function() {}
  3770. }, {
  3771. closecallback: function() {}
  3772. }, { "style": { "height": "36px" } }).form; //创建窗体
  3773. _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); } }
  3774. break;
  3775. case "evaluateGM": //学生评价
  3776. _formdiv = new U.UF.UI.form(
  3777. "学生评价",
  3778. $$("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 }), {
  3779. "id": "evaluateGM",
  3780. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3781. "onresize": function() {}
  3782. }, {
  3783. closecallback: function() {}
  3784. }, { "style": { "height": "36px" } }).form; //创建窗体
  3785. _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); } }
  3786. break;
  3787. // classGM
  3788. case "classGM": //班级管理
  3789. _formdiv = new U.UF.UI.form(
  3790. "班级管理",
  3791. $$("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 }), {
  3792. "id": "classGM",
  3793. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3794. "onresize": function() {}
  3795. }, {
  3796. closecallback: function() {}
  3797. }, { "style": { "height": "36px" } }).form; //创建窗体
  3798. _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); } }
  3799. break;
  3800. // dataGM
  3801. case "dataGM":
  3802. _formdiv = new U.UF.UI.form(
  3803. "我的资料",
  3804. $$("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 }), {
  3805. "id": "dataGM",
  3806. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3807. "onresize": function() {}
  3808. }, {
  3809. closecallback: function() {}
  3810. }, { "style": { "height": "36px" } }).form; //创建窗体
  3811. _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); } }
  3812. break;
  3813. // caseGM
  3814. case "caseGM": //课程进展
  3815. _formdiv = new U.UF.UI.form(
  3816. "课程进展",
  3817. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3818. "id": "caseGM",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function() {}
  3821. }, {
  3822. closecallback: function() {}
  3823. }, { "style": { "height": "36px" } }).form; //创建窗体
  3824. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3825. break;
  3826. // meterialGM
  3827. case "meterialGM": //素材库
  3828. _formdiv = new U.UF.UI.form(
  3829. "素材库",
  3830. $$("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 }), {
  3831. "id": "meterialGM",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function() {}
  3834. }, {
  3835. closecallback: function() {}
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _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); } }
  3838. break;
  3839. // evaluateSGM
  3840. case "evaluateSGM": //我的评价
  3841. _formdiv = new U.UF.UI.form(
  3842. "我的评价",
  3843. $$("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 }), {
  3844. "id": "evaluateSGM",
  3845. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3846. "onresize": function() {}
  3847. }, {
  3848. closecallback: function() {}
  3849. }, { "style": { "height": "36px" } }).form; //创建窗体
  3850. _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); } }
  3851. break;
  3852. case "jupyter": //jupyter
  3853. _formdiv = new U.UF.UI.form(
  3854. "jupyter",
  3855. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3856. "id": "jupyter",
  3857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3858. "onresize": function() {}
  3859. }, {
  3860. closecallback: function() {}
  3861. }, { "style": { "height": "36px" } }).form; //创建窗体
  3862. _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); } }
  3863. break;
  3864. case "number": //数字实验室
  3865. _formdiv = new U.UF.UI.form(
  3866. "数字实验室",
  3867. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3868. "id": "number",
  3869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3870. "onresize": function() {}
  3871. }, {
  3872. closecallback: function() {}
  3873. }, { "style": { "height": "36px" } }).form; //创建窗体
  3874. _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); } }
  3875. break;
  3876. case "studentCourse": //项目管理 学生
  3877. _formdiv = new U.UF.UI.form(
  3878. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3879. $$("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 }), {
  3880. "id": "studentCourse",
  3881. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3882. "onresize": function() {}
  3883. }, {
  3884. closecallback: function() {}
  3885. }, { "style": { "height": "36px" } }).form; //创建窗体
  3886. _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); } }
  3887. break;
  3888. case "studentCourseS": //项目管理 老师
  3889. _formdiv = new U.UF.UI.form(
  3890. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3891. $$("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 }), {
  3892. "id": "studentCourseS",
  3893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3894. "onresize": function() {}
  3895. }, {
  3896. closecallback: function() {}
  3897. }, { "style": { "height": "36px" } }).form; //创建窗体
  3898. _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); } }
  3899. break;
  3900. case "studentIndex": //项目中心
  3901. _formdiv = new U.UF.UI.form(
  3902. "项目中心",
  3903. $$("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 }), {
  3904. "id": "studentIndex",
  3905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3906. "onresize": function() {}
  3907. }, {
  3908. closecallback: function() {}
  3909. }, { "style": { "height": "36px" } }).form; //创建窗体
  3910. _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); } }
  3911. break;
  3912. case "CaseDesignS":
  3913. _formdiv = new U.UF.UI.form(
  3914. "项目进展",
  3915. $$("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 }), {
  3916. "id": "case",
  3917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3918. "onresize": function() {}
  3919. }, {
  3920. closecallback: function() {}
  3921. }, { "style": { "height": "36px" } }).form; //创建窗体
  3922. _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); } }
  3923. break;
  3924. case "tcStudent": //腾讯学生管理
  3925. _formdiv = new U.UF.UI.form(
  3926. "学生管理",
  3927. $$("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 }), {
  3928. "id": "tcStudent",
  3929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3930. "onresize": function() {}
  3931. }, {
  3932. closecallback: function() {}
  3933. }, { "style": { "height": "36px" } }).form; //创建窗体
  3934. _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); } }
  3935. break;
  3936. case "tcSchool": //腾讯学校管理
  3937. _formdiv = new U.UF.UI.form(
  3938. "学校管理",
  3939. $$("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 }), {
  3940. "id": "tcSchool",
  3941. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3942. "onresize": function() {}
  3943. }, {
  3944. closecallback: function() {}
  3945. }, { "style": { "height": "36px" } }).form; //创建窗体
  3946. _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); } }
  3947. break;
  3948. case "tcTeacher": //腾讯学校管理
  3949. _formdiv = new U.UF.UI.form(
  3950. "教师管理",
  3951. $$("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 }), {
  3952. "id": "tcTeacher",
  3953. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function() {}
  3955. }, {
  3956. closecallback: function() {}
  3957. }, { "style": { "height": "36px" } }).form; //创建窗体
  3958. _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); } }
  3959. break;
  3960. case "tcData": //腾讯我的资料
  3961. _formdiv = new U.UF.UI.form(
  3962. "我的资料",
  3963. $$("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 }), {
  3964. "id": "tcData",
  3965. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function() {}
  3967. }, {
  3968. closecallback: function() {}
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _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); } }
  3971. break;
  3972. case "tcNotice": //腾讯消息通知
  3973. _formdiv = new U.UF.UI.form(
  3974. "消息通知",
  3975. $$("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 }), {
  3976. "id": "tcNotice",
  3977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function() {}
  3979. }, {
  3980. closecallback: function() {}
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _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); } }
  3983. break;
  3984. case "myReport": //好友打开
  3985. _formdiv = new U.UF.UI.form(
  3986. "我的评价",
  3987. $$("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 }), {
  3988. "id": "myReport",
  3989. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3990. "onresize": function() {}
  3991. }, {
  3992. closecallback: function() {}
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _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); } }
  3995. break;
  3996. case "learnAna": //好友打开
  3997. _formdiv = new U.UF.UI.form(
  3998. "学习分析",
  3999. $$("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 }), {
  4000. "id": "learnAna",
  4001. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4002. "onresize": function() {}
  4003. }, {
  4004. closecallback: function() {}
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _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); } }
  4007. break;
  4008. case "AIChat": //AI共创
  4009. _formdiv = new U.UF.UI.form(
  4010. "AI共创",
  4011. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4012. "id": "AIChat",
  4013. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4014. "onresize": function() {}
  4015. }, {
  4016. istop: true,
  4017. closecallback: function() { $("#aichat_icon").remove(); },
  4018. narrowcallback: function() {
  4019. if (!$("#aichat_icon")[0]) {
  4020. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4021. }
  4022. },
  4023. }, { "style": { "height": "36px" } }).form; //创建窗体
  4024. _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); } }
  4025. break;
  4026. case "ainew": //AI共创
  4027. _formdiv = new U.UF.UI.form(
  4028. "AI协同",
  4029. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4030. "id": "ainew",
  4031. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4032. "onresize": function() {}
  4033. }, {
  4034. closecallback: function() {}
  4035. }, { "style": { "height": "36px" } }).form; //创建窗体
  4036. _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); } }
  4037. break;
  4038. case "futureClass": //AI共创
  4039. _formdiv = new U.UF.UI.form(
  4040. "知识建构",
  4041. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4042. "id": "futureClass",
  4043. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4044. "onresize": function() {}
  4045. }, {
  4046. closecallback: function() {}
  4047. }, { "style": { "height": "36px" } }).form; //创建窗体
  4048. _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); } }
  4049. break;
  4050. case "dataBoard": //数据看板
  4051. _formdiv = new U.UF.UI.form(
  4052. "数据看板",
  4053. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4054. "id": "dataBoard",
  4055. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4056. "onresize": function() {}
  4057. }, {
  4058. closecallback: function() {}
  4059. }, { "style": { "height": "36px" } }).form; //创建窗体
  4060. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4061. break;
  4062. case "AIAnalyse": //AI共创
  4063. _formdiv = new U.UF.UI.form(
  4064. "AI分析",
  4065. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4066. "id": "AIAnalyse",
  4067. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4068. "onresize": function() {}
  4069. }, {
  4070. closecallback: function() {}
  4071. }, { "style": { "height": "36px" } }).form; //创建窗体
  4072. _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); } }
  4073. break;
  4074. case "studioCourse": //AI共创
  4075. _formdiv = new U.UF.UI.form(
  4076. "工作管理",
  4077. $$("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 }), {
  4078. "id": "studioCourse",
  4079. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4080. "onresize": function() {}
  4081. }, {
  4082. closecallback: function() {}
  4083. }, { "style": { "height": "36px" } }).form; //创建窗体
  4084. _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); } }
  4085. break;
  4086. case "studioIndex": //AI共创
  4087. _formdiv = new U.UF.UI.form(
  4088. "工作中心",
  4089. $$("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 }), {
  4090. "id": "studioIndex",
  4091. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4092. "onresize": function() {}
  4093. }, {
  4094. closecallback: function() {}
  4095. }, { "style": { "height": "36px" } }).form; //创建窗体
  4096. _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); } }
  4097. break;
  4098. case "source":
  4099. _formdiv = new U.UF.UI.form(
  4100. "教学资源",
  4101. $$("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 }), {
  4102. "id": "source",
  4103. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4104. "onresize": function() {}
  4105. }, {
  4106. closecallback: function() {}
  4107. }, { "style": { "height": "36px" } }).form; //创建窗体
  4108. _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); } }
  4109. break;
  4110. }
  4111. //U.MD.D.I.openClick(str);
  4112. //如果有任务栏信息
  4113. if (_taskbar) {
  4114. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4115. }
  4116. }
  4117. // U.MD.D.I.openClick = function(str){
  4118. // var click = '';
  4119. // switch(str){
  4120. // case 'friend':
  4121. // click = '我的好友';
  4122. // break;
  4123. // case 'domain':
  4124. // click = '域名管理';
  4125. // break;
  4126. // case 'disk':
  4127. // click = '我的云盘';
  4128. // break;
  4129. // case 'word':
  4130. // click = 'Word';
  4131. // break;
  4132. // case 'excel':
  4133. // click = 'Execl';
  4134. // break;
  4135. // case 'txt':
  4136. // click = '文本文件';
  4137. // break;
  4138. // case 'lookupFriend':
  4139. // click = '查找好友';
  4140. // break;
  4141. // case 'ftp':
  4142. // click = 'FTP';
  4143. // break;
  4144. // case 'group':
  4145. // click = '群组';
  4146. // break;
  4147. // case 'set':
  4148. // click = '我的设置';
  4149. // break;
  4150. // case 'systemSet':
  4151. // click = '系统设置';
  4152. // break;
  4153. // case 'boomYun':
  4154. // click = '互联办公';
  4155. // break;
  4156. // case 'xz':
  4157. // click = '云端下载';
  4158. // break;
  4159. // case 'client':
  4160. // click = '有思浏览器';
  4161. // break;
  4162. // case 'backEndProgramming':
  4163. // click = '在线后台编程';
  4164. // break;
  4165. // case 'frontEndProgramming':
  4166. // click = '在线前端编程';
  4167. // break;
  4168. // default: break;
  4169. // }
  4170. // if(U.MD.D.I.Ip && click){
  4171. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4172. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4173. // })
  4174. // }
  4175. // }
  4176. /**
  4177. *函数作用:ajax简易函数,使用post格式
  4178. *@param url {data} 后台地址
  4179. *@param data {data} 参数json
  4180. *@param fn {data} 回调函数
  4181. *
  4182. */
  4183. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4184. // var xhr = new XMLHttpRequest();
  4185. // xhr.open("GET",url,true);
  4186. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4187. // xhr.onreadystatechange = function(){
  4188. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4189. // fn.call(this,xhr.responseText);
  4190. // }
  4191. // };
  4192. // xhr.send();
  4193. // }
  4194. /*判断是否是内网IP*/
  4195. // U.MD.D.I.isInnerIPFn = function(str){
  4196. // var curPageUrl = str;
  4197. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4198. // curPageUrl =curPageUrl.replace(reg1,'');
  4199. // // console.log('curPageUrl-1 '+curPageUrl);
  4200. // var reg2 = /\:+/g;//替换冒号为一点
  4201. // curPageUrl =curPageUrl.replace(reg2,'.');
  4202. // // console.log('curPageUrl-2 '+curPageUrl);
  4203. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4204. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4205. // if(curPageUrl[2] != '16'){
  4206. // return ipAddress;
  4207. // }else{
  4208. // return false;
  4209. // }
  4210. // }
  4211. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4212. // //compatibility for firefox and chrome
  4213. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4214. // var pc = new myPeerConnection({
  4215. // iceServers: []
  4216. // }),
  4217. // noop = function() {},
  4218. // localIPs = {},
  4219. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4220. // key;
  4221. // function iterateIP(ip) {
  4222. // if (!localIPs[ip]) onNewIP(ip);
  4223. // localIPs[ip] = true;
  4224. // }
  4225. // //create a bogus data channel
  4226. // pc.createDataChannel("");
  4227. // // create offer and set local description
  4228. // pc.createOffer().then(function(sdp) {
  4229. // sdp.sdp.split('\n').forEach(function(line) {
  4230. // if (line.indexOf('candidate') < 0) return;
  4231. // line.match(ipRegex).forEach(iterateIP);
  4232. // });
  4233. // pc.setLocalDescription(sdp, noop, noop);
  4234. // }).catch(function(reason) {
  4235. // // An error occurred, so handle the failure to connect
  4236. // });
  4237. // //sten for candidate events
  4238. // pc.onicecandidate = function(ice) {
  4239. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4240. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4241. // };
  4242. // }
  4243. // U.MD.D.I.getUserIpBool = function(callback){
  4244. // U.MD.D.I.getUserIP(function(ip){
  4245. // alert("Got IP! :" + ip);
  4246. // });
  4247. //}
  4248. //#endregion
  4249. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4250. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4251. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4252. _userinfo = US.userInfo, //登录用户信息
  4253. _userid = US.userInfo.userid //登录用户id
  4254. let _iframe;
  4255. let _cid = cid,
  4256. _stage = stage,
  4257. _task = task,
  4258. _tool = tool;
  4259. var _jie = $$("div", {
  4260. "style": {
  4261. "position": "absolute",
  4262. "bottom": "50px",
  4263. "right": "50px",
  4264. "zIndex": "9999",
  4265. "backgroundColor": "#2268bc",
  4266. "color": "#fff",
  4267. "padding": "12px 20px",
  4268. "cursor": "pointer",
  4269. "borderRadius": "4px",
  4270. },
  4271. "innerHTML": "提交作业"
  4272. })
  4273. let aTool = ''
  4274. let _loading = document.createElement('div')
  4275. _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;"
  4276. // _loading.id = "";
  4277. let _lchild = document.createElement('div')
  4278. let _limg = document.createElement('img')
  4279. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4280. _limg.style = "width: 26px;margin-right: 10px;"
  4281. _lchild.appendChild(_limg)
  4282. let _lspan = document.createElement('span')
  4283. _lspan.innerHTML = "上传中..."
  4284. _lchild.appendChild(_lspan)
  4285. _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%);"
  4286. _loading.appendChild(_lchild)
  4287. var _box = $$('div', {
  4288. "style": {
  4289. "position": "relative",
  4290. "width": "100%",
  4291. "height": "100%",
  4292. },
  4293. })
  4294. _box.appendChild(_loading)
  4295. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4296. switch (str) {
  4297. case "whiteboard":
  4298. aTool = 1;
  4299. _iframe = $$("iframe", {
  4300. "frameborder": "no",
  4301. "border": "0",
  4302. "scrolling ": "no",
  4303. "style": {
  4304. "cssText": "border:0;width:100%;height:100%"
  4305. },
  4306. "src": "https://iwb.cocorobo.cn/"
  4307. })
  4308. _box.appendChild(_iframe);
  4309. _box.appendChild(_jie);
  4310. _formdiv = new U.UF.UI.form(
  4311. "电子白板",
  4312. _box, {
  4313. "id": "whiteboard" + cid + stage + task + tool,
  4314. "style": {
  4315. "width": "90%",
  4316. "height": "90%",
  4317. "overflow": 'hidden'
  4318. },
  4319. "onresize": function() {}
  4320. }, {
  4321. closecallback: function() {}
  4322. }, {
  4323. "style": {
  4324. "height": "36px"
  4325. }
  4326. }).form; //创建窗体
  4327. _taskbar = {
  4328. "id": str + _formdiv.id,
  4329. "style": {
  4330. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4331. },
  4332. "name": "电子白板",
  4333. "forms": _formdiv,
  4334. "click": function() {
  4335. U.MD.D.I.openApplication(str, obj, info);
  4336. }
  4337. }
  4338. break;
  4339. case "mind":
  4340. aTool = 3;
  4341. _iframe = $$("iframe", {
  4342. "frameborder": "no",
  4343. "border": "0",
  4344. "scrolling ": "no",
  4345. "style": {
  4346. "cssText": "border:0;width:100%;height:100%"
  4347. },
  4348. "src": "/kityminder-editor/dist/index.html"
  4349. })
  4350. _box.appendChild(_iframe);
  4351. _box.appendChild(_jie);
  4352. _formdiv = new U.UF.UI.form(
  4353. "思维导图",
  4354. _box, { //"/jsmind/example/demo.html"
  4355. "id": "mind" + cid + stage + task + tool,
  4356. "style": {
  4357. "width": "90%",
  4358. "height": "90%",
  4359. "overflow": 'hidden'
  4360. },
  4361. "onresize": function() {}
  4362. }, {
  4363. closecallback: function() {}
  4364. }, {
  4365. "style": {
  4366. "height": "36px"
  4367. }
  4368. }).form; //创建窗体
  4369. _taskbar = {
  4370. "id": str + _formdiv.id,
  4371. "style": {
  4372. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4373. },
  4374. "name": "思维导图",
  4375. "forms": _formdiv,
  4376. "click": function() {
  4377. U.MD.D.I.openApplication(str, obj, info);
  4378. }
  4379. }
  4380. break;
  4381. case "MindMap":
  4382. aTool = 3;
  4383. _iframe = $$("iframe", {
  4384. "frameborder": "no",
  4385. "border": "0",
  4386. "scrolling ": "no",
  4387. "style": {
  4388. "cssText": "border:0;width:100%;height:100%"
  4389. },
  4390. "src": "//cloud.cocorobo.cn/mind/"
  4391. })
  4392. _box.appendChild(_iframe);
  4393. _box.appendChild(_jie);
  4394. _formdiv = new U.UF.UI.form(
  4395. "思维导图",
  4396. _box, { //"/jsmind/example/demo.html"
  4397. "id": "mind" + cid + stage + task + tool,
  4398. "style": {
  4399. "width": "90%",
  4400. "height": "90%",
  4401. "overflow": 'hidden'
  4402. },
  4403. "onresize": function() {}
  4404. }, {
  4405. closecallback: function() {}
  4406. }, {
  4407. "style": {
  4408. "height": "36px"
  4409. }
  4410. }).form; //创建窗体
  4411. _taskbar = {
  4412. "id": str + _formdiv.id,
  4413. "style": {
  4414. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4415. },
  4416. "name": "思维导图",
  4417. "forms": _formdiv,
  4418. "click": function() {
  4419. U.MD.D.I.openApplication(str, obj, info);
  4420. }
  4421. }
  4422. break;
  4423. case "doc":
  4424. aTool = 6;
  4425. _iframe = $$("iframe", {
  4426. "frameborder": "no",
  4427. "border": "0",
  4428. "scrolling ": "no",
  4429. "style": {
  4430. "cssText": "border:0;width:100%;height:100%"
  4431. },
  4432. "src": "/Office/Word/WordEditArea.htm"
  4433. })
  4434. _box.appendChild(_iframe);
  4435. _box.appendChild(_jie);
  4436. _formdiv = new U.UF.UI.form(
  4437. "协同文档",
  4438. _box, {
  4439. "id": "doc" + cid + stage + task + tool,
  4440. "style": {
  4441. "width": "90%",
  4442. "height": "90%",
  4443. "overflow": 'hidden'
  4444. },
  4445. "onresize": function() {}
  4446. }, {
  4447. closecallback: function() {}
  4448. }, {
  4449. "style": {
  4450. "height": "36px"
  4451. }
  4452. }).form; //创建窗体
  4453. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4454. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4455. })
  4456. _taskbar = {
  4457. "id": str + _formdiv.id,
  4458. "style": {
  4459. "backgroundImage": "url(/img/icon/doc.png)"
  4460. },
  4461. "name": "协同文档",
  4462. "forms": _formdiv,
  4463. "click": function() {
  4464. U.MD.D.I.openApplication(str, obj, info);
  4465. }
  4466. }
  4467. break;
  4468. case "mindNetwork": //好友打开
  4469. aTool = 7;
  4470. _iframe = $$("iframe", {
  4471. "webkitallowfullscreen": "",
  4472. "mozallowfullscreen": "",
  4473. "allowfullscreen": "",
  4474. "frameborder": "no",
  4475. "border": "0",
  4476. "scrolling ": "no",
  4477. "style": {
  4478. "cssText": "border:0; width:100%; height:100%;"
  4479. },
  4480. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4481. })
  4482. _box.appendChild(_iframe);
  4483. _box.appendChild(_jie);
  4484. _formdiv = new U.UF.UI.form(
  4485. "思维网格",
  4486. _box, {
  4487. "id": "mindNetwork" + cid + stage + task + tool,
  4488. "style": {
  4489. "width": "90%",
  4490. "height": "90%",
  4491. "overflow": 'hidden'
  4492. },
  4493. "onresize": function() {}
  4494. }, {
  4495. closecallback: function() {}
  4496. }, {
  4497. "style": {
  4498. "height": "36px"
  4499. }
  4500. }).form; //创建窗体
  4501. _taskbar = {
  4502. "id": str + _formdiv.id,
  4503. "style": {
  4504. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4505. },
  4506. "name": "思维网格",
  4507. "forms": _formdiv,
  4508. "click": function() {
  4509. U.MD.D.I.openApplication(str, obj, info);
  4510. }
  4511. }
  4512. break;
  4513. case "courseDesign":
  4514. _iframe = $$("iframe", {
  4515. "webkitallowfullscreen": "",
  4516. "mozallowfullscreen": "",
  4517. "allowfullscreen": "",
  4518. "frameborder": "no",
  4519. "border": "0",
  4520. "scrolling ": "no",
  4521. "style": {
  4522. "cssText": "border:0; width:100%; height:100%;"
  4523. },
  4524. "src": "/course-design-vue"
  4525. })
  4526. _box.appendChild(_iframe);
  4527. _box.appendChild(_jie);
  4528. _formdiv = new U.UF.UI.form(
  4529. "项目设计",
  4530. _box, {
  4531. "id": "courseDesign" + cid + stage + task + tool,
  4532. "style": {
  4533. "width": "90%",
  4534. "height": "90%",
  4535. "overflow": 'hidden'
  4536. },
  4537. "onresize": function() {}
  4538. }, {
  4539. closecallback: function() {}
  4540. }, {
  4541. "style": {
  4542. "height": "36px"
  4543. }
  4544. }).form; //创建窗体
  4545. _taskbar = {
  4546. "id": str + _formdiv.id,
  4547. "style": {
  4548. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4549. },
  4550. "name": "项目设计",
  4551. "forms": _formdiv,
  4552. "click": function() {
  4553. U.MD.D.I.openApplication(str, obj, info);
  4554. }
  4555. }
  4556. break;
  4557. }
  4558. const script1 = document.createElement("script");
  4559. script1.type = "text/javascript";
  4560. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4561. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4562. const script2 = document.createElement("script");
  4563. script2.type = "text/javascript";
  4564. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4565. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4566. const script3 = document.createElement("script");
  4567. script3.type = "text/javascript";
  4568. script3.charset = "UTF-8";
  4569. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4570. const script4 = document.createElement("script");
  4571. script4.type = "text/javascript";
  4572. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4573. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4574. if (_iframe) {
  4575. if (str == 'doc') {
  4576. _iframe = _formdiv.querySelector('iframe')
  4577. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4578. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4579. _iframe.contentWindow.document.body.appendChild(script1);
  4580. _iframe.contentWindow.document.body.appendChild(script2);
  4581. // _iframe.contentWindow.document.body.appendChild(script3);
  4582. _iframe.contentWindow.document.body.appendChild(script4);
  4583. })
  4584. if (onloadListener) {
  4585. _iframe.contentDocument.location.reload()
  4586. } else {
  4587. _iframe.contentDocument.location.reload()
  4588. }
  4589. } else if (str == 'courseDesign') {
  4590. U.UF.DL.iframeLoad(_iframe, function() {
  4591. // _iframe.contentWindow.U.MD.O.W.load();
  4592. // _iframe.contentWindow.document.body.appendChild(script1);
  4593. _iframe.contentWindow.document.body.appendChild(script2);
  4594. _iframe.contentWindow.document.body.appendChild(script4);
  4595. })
  4596. } else if (str == 'mind') {
  4597. _iframe = _formdiv.querySelector('iframe')
  4598. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4599. //
  4600. _iframe.contentWindow.document.body.appendChild(script1);
  4601. _iframe.contentWindow.document.body.appendChild(script2);
  4602. _iframe.contentWindow.document.body.appendChild(script4);
  4603. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4604. })
  4605. if (onloadListener) {
  4606. _iframe.contentDocument.location.reload()
  4607. } else {
  4608. _iframe.contentDocument.location.reload()
  4609. }
  4610. } else if (str == 'whiteboard') {
  4611. _iframe = _formdiv.querySelector('iframe')
  4612. let onloadListener = _iframe.onload = () => {
  4613. _iframe.contentWindow.document.body.appendChild(script1);
  4614. _iframe.contentWindow.document.body.appendChild(script2);
  4615. _iframe.contentWindow.document.body.appendChild(script4);
  4616. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4617. };
  4618. if (onloadListener) {
  4619. _iframe.contentDocument.location.reload()
  4620. } else {
  4621. _iframe.contentDocument.location.reload()
  4622. }
  4623. } else {
  4624. _iframe.onload = () => {
  4625. _iframe.contentWindow.document.body.appendChild(script1);
  4626. _iframe.contentWindow.document.body.appendChild(script2);
  4627. // _iframe.contentWindow.document.body.appendChild(script3);
  4628. _iframe.contentWindow.document.body.appendChild(script4);
  4629. };
  4630. }
  4631. _jie.onclick = async() => {
  4632. let text = ''
  4633. if (aTool == 1) {
  4634. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4635. } else if (aTool == 6) {
  4636. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4637. } else if (aTool == 3) {
  4638. text = await U.MD.D.I.getEditorContent(_iframe);
  4639. }
  4640. _loading.style.display = 'flex'
  4641. console.log(_loading);
  4642. var _ajs = _iframe.contentWindow.document.createElement("script");
  4643. _ajs.type = "text/javascript";
  4644. _ajs.innerHTML =
  4645. // 'console.log(' + _loading + ');\n' +
  4646. 'var _js = document.createElement("script");\n' +
  4647. '_js.type="text/javascript";\n' +
  4648. '_js.charset="UTF-8";\n' +
  4649. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4650. "_js.onload = function(){\n" +
  4651. ' var a = document.getElementsByTagName("img")\n' +
  4652. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4653. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4654. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4655. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4656. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4657. "beforeUpload_shishi(file," +
  4658. "'" +
  4659. _userid +
  4660. "'" +
  4661. ", " +
  4662. "'" +
  4663. _cid +
  4664. "'" +
  4665. ", " +
  4666. "'" +
  4667. _stage +
  4668. "'" +
  4669. ", " +
  4670. "'" +
  4671. _task +
  4672. "'" +
  4673. ", " +
  4674. "'" +
  4675. _tool +
  4676. "'" +
  4677. ", " +
  4678. "'" +
  4679. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4680. "'" +
  4681. ", " +
  4682. "'" +
  4683. aTool +
  4684. "'" +
  4685. ", " +
  4686. "`" +
  4687. text +
  4688. "`" +
  4689. ")\n" +
  4690. " });\n" +
  4691. "}\n" +
  4692. "document.head.appendChild(_js);\n";
  4693. _iframe.contentWindow.document.head.appendChild(_ajs);
  4694. }
  4695. }
  4696. //U.MD.D.I.openClick(str);
  4697. //如果有任务栏信息
  4698. // if (_taskbar) {
  4699. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4700. // }
  4701. }
  4702. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4703. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4704. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4705. _userinfo = US.userInfo, //登录用户信息
  4706. _userid = US.userInfo.userid //登录用户id
  4707. let _iframe;
  4708. let _cid = cid,
  4709. _stage = stage,
  4710. _task = task,
  4711. _tool = tool;
  4712. var _jie = $$("div", {
  4713. "style": {
  4714. "position": "absolute",
  4715. "bottom": "50px",
  4716. "right": "50px",
  4717. "zIndex": "9999",
  4718. "backgroundColor": "#2268bc",
  4719. "color": "#fff",
  4720. "padding": "12px 20px",
  4721. "cursor": "pointer",
  4722. "borderRadius": "4px",
  4723. },
  4724. "innerHTML": "提交作业"
  4725. })
  4726. let aTool = ''
  4727. let _loading = document.createElement('div')
  4728. _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;"
  4729. // _loading.id = "";
  4730. let _lchild = document.createElement('div')
  4731. let _limg = document.createElement('img')
  4732. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4733. _limg.style = "width: 26px;margin-right: 10px;"
  4734. _lchild.appendChild(_limg)
  4735. let _lspan = document.createElement('span')
  4736. _lspan.innerHTML = "上传中..."
  4737. _lchild.appendChild(_lspan)
  4738. _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%);"
  4739. _loading.appendChild(_lchild)
  4740. var _box = $$('div', {
  4741. "style": {
  4742. "position": "relative",
  4743. "width": "100%",
  4744. "height": "100%",
  4745. },
  4746. })
  4747. _box.appendChild(_loading)
  4748. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4749. switch (str) {
  4750. case "whiteboard":
  4751. aTool = 1;
  4752. _iframe = $$("iframe", {
  4753. "frameborder": "no",
  4754. "border": "0",
  4755. "scrolling ": "no",
  4756. "style": {
  4757. "cssText": "border:0;width:100%;height:100%"
  4758. },
  4759. "src": "https://iwb.cocorobo.cn/"
  4760. })
  4761. _box.appendChild(_iframe);
  4762. _box.appendChild(_jie);
  4763. _formdiv = new U.UF.UI.form(
  4764. "电子白板",
  4765. _box, {
  4766. "id": "whiteboard" + cid + stage + task + tool,
  4767. "style": {
  4768. "width": "90%",
  4769. "height": "90%",
  4770. "overflow": 'hidden'
  4771. },
  4772. "onresize": function() {}
  4773. }, {
  4774. closecallback: function() {}
  4775. }, {
  4776. "style": {
  4777. "height": "36px"
  4778. }
  4779. }).form; //创建窗体
  4780. _taskbar = {
  4781. "id": str + _formdiv.id,
  4782. "style": {
  4783. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4784. },
  4785. "name": "电子白板",
  4786. "forms": _formdiv,
  4787. "click": function() {
  4788. U.MD.D.I.openApplication(str, obj, info);
  4789. }
  4790. }
  4791. break;
  4792. case "mind":
  4793. aTool = 3;
  4794. _iframe = $$("iframe", {
  4795. "frameborder": "no",
  4796. "border": "0",
  4797. "scrolling ": "no",
  4798. "style": {
  4799. "cssText": "border:0;width:100%;height:100%"
  4800. },
  4801. "src": "/kityminder-editor/dist/index.html"
  4802. })
  4803. _box.appendChild(_iframe);
  4804. _box.appendChild(_jie);
  4805. _formdiv = new U.UF.UI.form(
  4806. "思维导图",
  4807. _box, { //"/jsmind/example/demo.html"
  4808. "id": "mind" + cid + stage + task + tool,
  4809. "style": {
  4810. "width": "90%",
  4811. "height": "90%",
  4812. "overflow": 'hidden'
  4813. },
  4814. "onresize": function() {}
  4815. }, {
  4816. closecallback: function() {}
  4817. }, {
  4818. "style": {
  4819. "height": "36px"
  4820. }
  4821. }).form; //创建窗体
  4822. _taskbar = {
  4823. "id": str + _formdiv.id,
  4824. "style": {
  4825. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4826. },
  4827. "name": "思维导图",
  4828. "forms": _formdiv,
  4829. "click": function() {
  4830. U.MD.D.I.openApplication(str, obj, info);
  4831. }
  4832. }
  4833. break;
  4834. case "MindMap":
  4835. aTool = 3;
  4836. _iframe = $$("iframe", {
  4837. "frameborder": "no",
  4838. "border": "0",
  4839. "scrolling ": "no",
  4840. "style": {
  4841. "cssText": "border:0;width:100%;height:100%"
  4842. },
  4843. "src": "//cloud.cocorobo.cn/mind/"
  4844. })
  4845. _box.appendChild(_iframe);
  4846. _box.appendChild(_jie);
  4847. _formdiv = new U.UF.UI.form(
  4848. "思维导图",
  4849. _box, { //"/jsmind/example/demo.html"
  4850. "id": "mind" + cid + stage + task + tool,
  4851. "style": {
  4852. "width": "90%",
  4853. "height": "90%",
  4854. "overflow": 'hidden'
  4855. },
  4856. "onresize": function() {}
  4857. }, {
  4858. closecallback: function() {}
  4859. }, {
  4860. "style": {
  4861. "height": "36px"
  4862. }
  4863. }).form; //创建窗体
  4864. _taskbar = {
  4865. "id": str + _formdiv.id,
  4866. "style": {
  4867. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4868. },
  4869. "name": "思维导图",
  4870. "forms": _formdiv,
  4871. "click": function() {
  4872. U.MD.D.I.openApplication(str, obj, info);
  4873. }
  4874. }
  4875. break;
  4876. case "doc":
  4877. aTool = 6;
  4878. _iframe = $$("iframe", {
  4879. "frameborder": "no",
  4880. "border": "0",
  4881. "scrolling ": "no",
  4882. "style": {
  4883. "cssText": "border:0;width:100%;height:100%"
  4884. },
  4885. "src": "/Office/Word/WordEditArea.htm"
  4886. })
  4887. _box.appendChild(_iframe);
  4888. _box.appendChild(_jie);
  4889. _formdiv = new U.UF.UI.form(
  4890. "协同文档",
  4891. _box, {
  4892. "id": "doc" + cid + stage + task + tool,
  4893. "style": {
  4894. "width": "90%",
  4895. "height": "90%",
  4896. "overflow": 'hidden'
  4897. },
  4898. "onresize": function() {}
  4899. }, {
  4900. closecallback: function() {}
  4901. }, {
  4902. "style": {
  4903. "height": "36px"
  4904. }
  4905. }).form; //创建窗体
  4906. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4907. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4908. })
  4909. _taskbar = {
  4910. "id": str + _formdiv.id,
  4911. "style": {
  4912. "backgroundImage": "url(/img/icon/doc.png)"
  4913. },
  4914. "name": "协同文档",
  4915. "forms": _formdiv,
  4916. "click": function() {
  4917. U.MD.D.I.openApplication(str, obj, info);
  4918. }
  4919. }
  4920. break;
  4921. case "mindNetwork": //好友打开
  4922. aTool = 7;
  4923. _iframe = $$("iframe", {
  4924. "webkitallowfullscreen": "",
  4925. "mozallowfullscreen": "",
  4926. "allowfullscreen": "",
  4927. "frameborder": "no",
  4928. "border": "0",
  4929. "scrolling ": "no",
  4930. "style": {
  4931. "cssText": "border:0; width:100%; height:100%;"
  4932. },
  4933. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4934. })
  4935. _box.appendChild(_iframe);
  4936. _box.appendChild(_jie);
  4937. _formdiv = new U.UF.UI.form(
  4938. "思维网格",
  4939. _box, {
  4940. "id": "mindNetwork" + cid + stage + task + tool,
  4941. "style": {
  4942. "width": "90%",
  4943. "height": "90%",
  4944. "overflow": 'hidden'
  4945. },
  4946. "onresize": function() {}
  4947. }, {
  4948. closecallback: function() {}
  4949. }, {
  4950. "style": {
  4951. "height": "36px"
  4952. }
  4953. }).form; //创建窗体
  4954. _taskbar = {
  4955. "id": str + _formdiv.id,
  4956. "style": {
  4957. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4958. },
  4959. "name": "思维网格",
  4960. "forms": _formdiv,
  4961. "click": function() {
  4962. U.MD.D.I.openApplication(str, obj, info);
  4963. }
  4964. }
  4965. break;
  4966. case "courseDesign":
  4967. _iframe = $$("iframe", {
  4968. "webkitallowfullscreen": "",
  4969. "mozallowfullscreen": "",
  4970. "allowfullscreen": "",
  4971. "frameborder": "no",
  4972. "border": "0",
  4973. "scrolling ": "no",
  4974. "style": {
  4975. "cssText": "border:0; width:100%; height:100%;"
  4976. },
  4977. "src": "/course-design-vue"
  4978. })
  4979. _box.appendChild(_iframe);
  4980. _box.appendChild(_jie);
  4981. _formdiv = new U.UF.UI.form(
  4982. "项目设计",
  4983. _box, {
  4984. "id": "courseDesign" + cid + stage + task + tool,
  4985. "style": {
  4986. "width": "90%",
  4987. "height": "90%",
  4988. "overflow": 'hidden'
  4989. },
  4990. "onresize": function() {}
  4991. }, {
  4992. closecallback: function() {}
  4993. }, {
  4994. "style": {
  4995. "height": "36px"
  4996. }
  4997. }).form; //创建窗体
  4998. _taskbar = {
  4999. "id": str + _formdiv.id,
  5000. "style": {
  5001. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5002. },
  5003. "name": "项目设计",
  5004. "forms": _formdiv,
  5005. "click": function() {
  5006. U.MD.D.I.openApplication(str, obj, info);
  5007. }
  5008. }
  5009. break;
  5010. }
  5011. const script1 = document.createElement("script");
  5012. script1.type = "text/javascript";
  5013. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5014. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5015. const script2 = document.createElement("script");
  5016. script2.type = "text/javascript";
  5017. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5018. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5019. const script3 = document.createElement("script");
  5020. script3.type = "text/javascript";
  5021. script3.charset = "UTF-8";
  5022. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5023. const script4 = document.createElement("script");
  5024. script4.type = "text/javascript";
  5025. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5026. script4.src = window.origin + "/js/Common/jietu2E.js";
  5027. if (_iframe) {
  5028. if (str == 'doc') {
  5029. _iframe = _formdiv.querySelector('iframe')
  5030. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5031. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5032. _iframe.contentWindow.document.body.appendChild(script1);
  5033. _iframe.contentWindow.document.body.appendChild(script2);
  5034. // _iframe.contentWindow.document.body.appendChild(script3);
  5035. _iframe.contentWindow.document.body.appendChild(script4);
  5036. })
  5037. if (onloadListener) {
  5038. _iframe.contentDocument.location.reload()
  5039. } else {
  5040. _iframe.contentDocument.location.reload()
  5041. }
  5042. } else if (str == 'courseDesign') {
  5043. U.UF.DL.iframeLoad(_iframe, function() {
  5044. // _iframe.contentWindow.U.MD.O.W.load();
  5045. // _iframe.contentWindow.document.body.appendChild(script1);
  5046. _iframe.contentWindow.document.body.appendChild(script2);
  5047. _iframe.contentWindow.document.body.appendChild(script4);
  5048. })
  5049. } else if (str == 'mind') {
  5050. _iframe = _formdiv.querySelector('iframe')
  5051. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5052. //
  5053. _iframe.contentWindow.document.body.appendChild(script1);
  5054. _iframe.contentWindow.document.body.appendChild(script2);
  5055. _iframe.contentWindow.document.body.appendChild(script4);
  5056. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5057. })
  5058. if (onloadListener) {
  5059. _iframe.contentDocument.location.reload()
  5060. } else {
  5061. _iframe.contentDocument.location.reload()
  5062. }
  5063. } else if (str == 'whiteboard') {
  5064. _iframe = _formdiv.querySelector('iframe')
  5065. let onloadListener = _iframe.onload = () => {
  5066. _iframe.contentWindow.document.body.appendChild(script1);
  5067. _iframe.contentWindow.document.body.appendChild(script2);
  5068. _iframe.contentWindow.document.body.appendChild(script4);
  5069. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5070. };
  5071. if (onloadListener) {
  5072. _iframe.contentDocument.location.reload()
  5073. } else {
  5074. _iframe.contentDocument.location.reload()
  5075. }
  5076. } else {
  5077. _iframe.onload = () => {
  5078. _iframe.contentWindow.document.body.appendChild(script1);
  5079. _iframe.contentWindow.document.body.appendChild(script2);
  5080. // _iframe.contentWindow.document.body.appendChild(script3);
  5081. _iframe.contentWindow.document.body.appendChild(script4);
  5082. };
  5083. }
  5084. _jie.onclick = async() => {
  5085. let text = ''
  5086. if (aTool == 1) {
  5087. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5088. } else if (aTool == 6) {
  5089. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5090. } else if (aTool == 3) {
  5091. text = await U.MD.D.I.getEditorContent(_iframe);
  5092. }
  5093. _loading.style.display = 'flex'
  5094. console.log(_loading);
  5095. var _ajs = _iframe.contentWindow.document.createElement("script");
  5096. _ajs.type = "text/javascript";
  5097. _ajs.innerHTML =
  5098. // 'console.log(' + _loading + ');\n' +
  5099. 'var _js = document.createElement("script");\n' +
  5100. '_js.type="text/javascript";\n' +
  5101. '_js.charset="UTF-8";\n' +
  5102. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5103. "_js.onload = function(){\n" +
  5104. ' var a = document.getElementsByTagName("img")\n' +
  5105. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5106. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5107. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5108. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5109. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5110. "beforeUpload_shishi(file," +
  5111. "'" +
  5112. _userid +
  5113. "'" +
  5114. ", " +
  5115. "'" +
  5116. _cid +
  5117. "'" +
  5118. ", " +
  5119. "'" +
  5120. _stage +
  5121. "'" +
  5122. ", " +
  5123. "'" +
  5124. _task +
  5125. "'" +
  5126. ", " +
  5127. "'" +
  5128. _tool +
  5129. "'" +
  5130. ", " +
  5131. "'" +
  5132. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5133. "'" +
  5134. ", " +
  5135. "'" +
  5136. aTool +
  5137. "'" +
  5138. ", " +
  5139. "`" +
  5140. text +
  5141. "`" +
  5142. ")\n" +
  5143. " });\n" +
  5144. "}\n" +
  5145. "document.head.appendChild(_js);\n";
  5146. _iframe.contentWindow.document.head.appendChild(_ajs);
  5147. }
  5148. }
  5149. //U.MD.D.I.openClick(str);
  5150. //如果有任务栏信息
  5151. // if (_taskbar) {
  5152. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5153. // }
  5154. }
  5155. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5156. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5157. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5158. _userid = student.userid, //登录用户id
  5159. _username = student.student //用户名字
  5160. let _iframe;
  5161. let _cid = cid,
  5162. _stage = stage,
  5163. _task = task,
  5164. _tool = tool;
  5165. var _jie = $$("div", {
  5166. "style": {
  5167. "position": "absolute",
  5168. "bottom": "50px",
  5169. "right": "50px",
  5170. "zIndex": "9999",
  5171. "backgroundColor": "#2268bc",
  5172. "color": "#fff",
  5173. "padding": "12px 20px",
  5174. "cursor": "pointer",
  5175. "borderRadius": "4px",
  5176. },
  5177. "innerHTML": "提交作业"
  5178. })
  5179. let aTool = ''
  5180. let _loading = document.createElement('div')
  5181. _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;"
  5182. // _loading.id = "";
  5183. let _lchild = document.createElement('div')
  5184. let _limg = document.createElement('img')
  5185. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5186. _limg.style = "width: 26px;margin-right: 10px;"
  5187. _lchild.appendChild(_limg)
  5188. let _lspan = document.createElement('span')
  5189. _lspan.innerHTML = "上传中..."
  5190. _lchild.appendChild(_lspan)
  5191. _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%);"
  5192. _loading.appendChild(_lchild)
  5193. var _box = $$('div', {
  5194. "style": {
  5195. "position": "relative",
  5196. "width": "100%",
  5197. "height": "100%",
  5198. },
  5199. })
  5200. _box.appendChild(_loading)
  5201. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5202. switch (str) {
  5203. case "whiteboard":
  5204. aTool = 1;
  5205. _iframe = $$("iframe", {
  5206. "frameborder": "no",
  5207. "border": "0",
  5208. "scrolling ": "no",
  5209. "style": {
  5210. "cssText": "border:0;width:100%;height:100%"
  5211. },
  5212. "src": "https://iwb.cocorobo.cn/"
  5213. })
  5214. _box.appendChild(_iframe);
  5215. _box.appendChild(_jie);
  5216. _formdiv = new U.UF.UI.form(
  5217. "电子白板-" + _username,
  5218. _box, {
  5219. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5220. "style": {
  5221. "width": "90%",
  5222. "height": "90%",
  5223. "overflow": 'hidden'
  5224. },
  5225. "onresize": function() {}
  5226. }, {
  5227. closecallback: function() {}
  5228. }, {
  5229. "style": {
  5230. "height": "36px"
  5231. }
  5232. }).form; //创建窗体
  5233. _taskbar = {
  5234. "id": str + _formdiv.id,
  5235. "style": {
  5236. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5237. },
  5238. "name": "电子白板",
  5239. "forms": _formdiv,
  5240. "click": function() {
  5241. U.MD.D.I.openApplication(str, obj, info);
  5242. }
  5243. }
  5244. break;
  5245. case "mind":
  5246. aTool = 3;
  5247. _iframe = $$("iframe", {
  5248. "frameborder": "no",
  5249. "border": "0",
  5250. "scrolling ": "no",
  5251. "style": {
  5252. "cssText": "border:0;width:100%;height:100%"
  5253. },
  5254. "src": "/kityminder-editor/dist/index.html"
  5255. })
  5256. _box.appendChild(_iframe);
  5257. _box.appendChild(_jie);
  5258. _formdiv = new U.UF.UI.form(
  5259. "思维导图-" + _username,
  5260. _box, { //"/jsmind/example/demo.html"
  5261. "id": "mind" + cid + stage + task + tool + _userid,
  5262. "style": {
  5263. "width": "90%",
  5264. "height": "90%",
  5265. "overflow": 'hidden'
  5266. },
  5267. "onresize": function() {}
  5268. }, {
  5269. closecallback: function() {}
  5270. }, {
  5271. "style": {
  5272. "height": "36px"
  5273. }
  5274. }).form; //创建窗体
  5275. _taskbar = {
  5276. "id": str + _formdiv.id,
  5277. "style": {
  5278. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5279. },
  5280. "name": "思维导图",
  5281. "forms": _formdiv,
  5282. "click": function() {
  5283. U.MD.D.I.openApplication(str, obj, info);
  5284. }
  5285. }
  5286. break;
  5287. case "MindMap":
  5288. aTool = 3;
  5289. _iframe = $$("iframe", {
  5290. "frameborder": "no",
  5291. "border": "0",
  5292. "scrolling ": "no",
  5293. "style": {
  5294. "cssText": "border:0;width:100%;height:100%"
  5295. },
  5296. "src": "//cloud.cocorobo.cn/mind/"
  5297. })
  5298. _box.appendChild(_iframe);
  5299. _box.appendChild(_jie);
  5300. _formdiv = new U.UF.UI.form(
  5301. "思维导图-" + _username,
  5302. _box, { //"/jsmind/example/demo.html"
  5303. "id": "mind" + cid + stage + task + tool + _userid,
  5304. "style": {
  5305. "width": "90%",
  5306. "height": "90%",
  5307. "overflow": 'hidden'
  5308. },
  5309. "onresize": function() {}
  5310. }, {
  5311. closecallback: function() {}
  5312. }, {
  5313. "style": {
  5314. "height": "36px"
  5315. }
  5316. }).form; //创建窗体
  5317. _taskbar = {
  5318. "id": str + _formdiv.id,
  5319. "style": {
  5320. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5321. },
  5322. "name": "思维导图",
  5323. "forms": _formdiv,
  5324. "click": function() {
  5325. U.MD.D.I.openApplication(str, obj, info);
  5326. }
  5327. }
  5328. break;
  5329. case "doc":
  5330. aTool = 6;
  5331. _iframe = $$("iframe", {
  5332. "frameborder": "no",
  5333. "border": "0",
  5334. "scrolling ": "no",
  5335. "style": {
  5336. "cssText": "border:0;width:100%;height:100%"
  5337. },
  5338. "src": "/Office/Word/WordEditArea.htm"
  5339. })
  5340. _box.appendChild(_iframe);
  5341. _box.appendChild(_jie);
  5342. _formdiv = new U.UF.UI.form(
  5343. "协同文档-" + _username,
  5344. _box, {
  5345. "id": "doc" + cid + stage + task + tool + _userid,
  5346. "style": {
  5347. "width": "90%",
  5348. "height": "90%",
  5349. "overflow": 'hidden'
  5350. },
  5351. "onresize": function() {}
  5352. }, {
  5353. closecallback: function() {}
  5354. }, {
  5355. "style": {
  5356. "height": "36px"
  5357. }
  5358. }).form; //创建窗体
  5359. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5360. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5361. })
  5362. _taskbar = {
  5363. "id": str + _formdiv.id,
  5364. "style": {
  5365. "backgroundImage": "url(/img/icon/doc.png)"
  5366. },
  5367. "name": "协同文档",
  5368. "forms": _formdiv,
  5369. "click": function() {
  5370. U.MD.D.I.openApplication(str, obj, info);
  5371. }
  5372. }
  5373. break;
  5374. case "mindNetwork": //好友打开
  5375. aTool = 7;
  5376. _iframe = $$("iframe", {
  5377. "webkitallowfullscreen": "",
  5378. "mozallowfullscreen": "",
  5379. "allowfullscreen": "",
  5380. "frameborder": "no",
  5381. "border": "0",
  5382. "scrolling ": "no",
  5383. "style": {
  5384. "cssText": "border:0; width:100%; height:100%;"
  5385. },
  5386. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5387. })
  5388. _box.appendChild(_iframe);
  5389. _box.appendChild(_jie);
  5390. _formdiv = new U.UF.UI.form(
  5391. "思维网格-" + _username,
  5392. _box, {
  5393. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5394. "style": {
  5395. "width": "90%",
  5396. "height": "90%",
  5397. "overflow": 'hidden'
  5398. },
  5399. "onresize": function() {}
  5400. }, {
  5401. closecallback: function() {}
  5402. }, {
  5403. "style": {
  5404. "height": "36px"
  5405. }
  5406. }).form; //创建窗体
  5407. _taskbar = {
  5408. "id": str + _formdiv.id,
  5409. "style": {
  5410. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5411. },
  5412. "name": "思维网格",
  5413. "forms": _formdiv,
  5414. "click": function() {
  5415. U.MD.D.I.openApplication(str, obj, info);
  5416. }
  5417. }
  5418. break;
  5419. case "courseDesign":
  5420. _iframe = $$("iframe", {
  5421. "webkitallowfullscreen": "",
  5422. "mozallowfullscreen": "",
  5423. "allowfullscreen": "",
  5424. "frameborder": "no",
  5425. "border": "0",
  5426. "scrolling ": "no",
  5427. "style": {
  5428. "cssText": "border:0; width:100%; height:100%;"
  5429. },
  5430. "src": "/course-design-vue"
  5431. })
  5432. _box.appendChild(_iframe);
  5433. _box.appendChild(_jie);
  5434. _formdiv = new U.UF.UI.form(
  5435. "项目设计-" + _username,
  5436. _box, {
  5437. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5438. "style": {
  5439. "width": "90%",
  5440. "height": "90%",
  5441. "overflow": 'hidden'
  5442. },
  5443. "onresize": function() {}
  5444. }, {
  5445. closecallback: function() {}
  5446. }, {
  5447. "style": {
  5448. "height": "36px"
  5449. }
  5450. }).form; //创建窗体
  5451. _taskbar = {
  5452. "id": str + _formdiv.id,
  5453. "style": {
  5454. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5455. },
  5456. "name": "项目设计",
  5457. "forms": _formdiv,
  5458. "click": function() {
  5459. U.MD.D.I.openApplication(str, obj, info);
  5460. }
  5461. }
  5462. break;
  5463. }
  5464. const script1 = document.createElement("script");
  5465. script1.type = "text/javascript";
  5466. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5467. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5468. const script2 = document.createElement("script");
  5469. script2.type = "text/javascript";
  5470. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5471. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5472. const script3 = document.createElement("script");
  5473. script3.type = "text/javascript";
  5474. script3.charset = "UTF-8";
  5475. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5476. const script4 = document.createElement("script");
  5477. script4.type = "text/javascript";
  5478. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5479. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5480. if (_iframe) {
  5481. if (str == 'doc') {
  5482. _iframe = _formdiv.querySelector('iframe')
  5483. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5484. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5485. _iframe.contentWindow.document.body.appendChild(script1);
  5486. _iframe.contentWindow.document.body.appendChild(script2);
  5487. // _iframe.contentWindow.document.body.appendChild(script3);
  5488. _iframe.contentWindow.document.body.appendChild(script4);
  5489. })
  5490. if (onloadListener) {
  5491. _iframe.contentDocument.location.reload()
  5492. } else {
  5493. _iframe.contentDocument.location.reload()
  5494. }
  5495. } else if (str == 'courseDesign') {
  5496. U.UF.DL.iframeLoad(_iframe, function() {
  5497. // _iframe.contentWindow.U.MD.O.W.load();
  5498. // _iframe.contentWindow.document.body.appendChild(script1);
  5499. _iframe.contentWindow.document.body.appendChild(script2);
  5500. _iframe.contentWindow.document.body.appendChild(script4);
  5501. })
  5502. } else if (str == 'mind') {
  5503. _iframe = _formdiv.querySelector('iframe')
  5504. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5505. //
  5506. _iframe.contentWindow.document.body.appendChild(script1);
  5507. _iframe.contentWindow.document.body.appendChild(script2);
  5508. _iframe.contentWindow.document.body.appendChild(script4);
  5509. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5510. })
  5511. if (onloadListener) {
  5512. _iframe.contentDocument.location.reload()
  5513. } else {
  5514. _iframe.contentDocument.location.reload()
  5515. }
  5516. } else if (str == 'whiteboard') {
  5517. _iframe = _formdiv.querySelector('iframe')
  5518. let onloadListener = _iframe.onload = () => {
  5519. _iframe.contentWindow.document.body.appendChild(script1);
  5520. _iframe.contentWindow.document.body.appendChild(script2);
  5521. _iframe.contentWindow.document.body.appendChild(script4);
  5522. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5523. };
  5524. if (onloadListener) {
  5525. _iframe.contentDocument.location.reload()
  5526. } else {
  5527. _iframe.contentDocument.location.reload()
  5528. }
  5529. } else {
  5530. _iframe.onload = () => {
  5531. _iframe.contentWindow.document.body.appendChild(script1);
  5532. _iframe.contentWindow.document.body.appendChild(script2);
  5533. // _iframe.contentWindow.document.body.appendChild(script3);
  5534. _iframe.contentWindow.document.body.appendChild(script4);
  5535. };
  5536. }
  5537. _jie.onclick = async() => {
  5538. let text = ''
  5539. if (aTool == 1) {
  5540. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5541. } else if (aTool == 6) {
  5542. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5543. } else if (aTool == 3) {
  5544. text = await U.MD.D.I.getEditorContent(_iframe);
  5545. }
  5546. _loading.style.display = 'flex'
  5547. console.log(_loading);
  5548. var _ajs = _iframe.contentWindow.document.createElement("script");
  5549. _ajs.type = "text/javascript";
  5550. _ajs.innerHTML =
  5551. // 'console.log(' + _loading + ');\n' +
  5552. 'var _js = document.createElement("script");\n' +
  5553. '_js.type="text/javascript";\n' +
  5554. '_js.charset="UTF-8";\n' +
  5555. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5556. "_js.onload = function(){\n" +
  5557. ' var a = document.getElementsByTagName("img")\n' +
  5558. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5559. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5560. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5561. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5562. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5563. "beforeUpload_shishi(file," +
  5564. "'" +
  5565. _userid +
  5566. "'" +
  5567. ", " +
  5568. "'" +
  5569. _cid +
  5570. "'" +
  5571. ", " +
  5572. "'" +
  5573. _stage +
  5574. "'" +
  5575. ", " +
  5576. "'" +
  5577. _task +
  5578. "'" +
  5579. ", " +
  5580. "'" +
  5581. _tool +
  5582. "'" +
  5583. ", " +
  5584. "'" +
  5585. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5586. "'" +
  5587. ", " +
  5588. "'" +
  5589. aTool +
  5590. "'" +
  5591. ", " +
  5592. "`" +
  5593. text +
  5594. "`" +
  5595. ")\n" +
  5596. " });\n" +
  5597. "}\n" +
  5598. "document.head.appendChild(_js);\n";
  5599. _iframe.contentWindow.document.head.appendChild(_ajs);
  5600. }
  5601. }
  5602. }
  5603. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5604. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5605. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5606. _userid = student.userid, //登录用户id
  5607. _username = student.student //用户名字
  5608. let _iframe;
  5609. let _cid = cid,
  5610. _stage = stage,
  5611. _task = task,
  5612. _tool = tool;
  5613. var _jie = $$("div", {
  5614. "style": {
  5615. "position": "absolute",
  5616. "bottom": "50px",
  5617. "right": "50px",
  5618. "zIndex": "9999",
  5619. "backgroundColor": "#2268bc",
  5620. "color": "#fff",
  5621. "padding": "12px 20px",
  5622. "cursor": "pointer",
  5623. "borderRadius": "4px",
  5624. },
  5625. "innerHTML": "提交作业"
  5626. })
  5627. let aTool = ''
  5628. let _loading = document.createElement('div')
  5629. _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;"
  5630. // _loading.id = "";
  5631. let _lchild = document.createElement('div')
  5632. let _limg = document.createElement('img')
  5633. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5634. _limg.style = "width: 26px;margin-right: 10px;"
  5635. _lchild.appendChild(_limg)
  5636. let _lspan = document.createElement('span')
  5637. _lspan.innerHTML = "上传中..."
  5638. _lchild.appendChild(_lspan)
  5639. _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%);"
  5640. _loading.appendChild(_lchild)
  5641. var _box = $$('div', {
  5642. "style": {
  5643. "position": "relative",
  5644. "width": "100%",
  5645. "height": "100%",
  5646. },
  5647. })
  5648. _box.appendChild(_loading)
  5649. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5650. switch (str) {
  5651. case "whiteboard":
  5652. aTool = 1;
  5653. _iframe = $$("iframe", {
  5654. "frameborder": "no",
  5655. "border": "0",
  5656. "scrolling ": "no",
  5657. "style": {
  5658. "cssText": "border:0;width:100%;height:100%"
  5659. },
  5660. "src": "https://iwb.cocorobo.cn/"
  5661. })
  5662. _box.appendChild(_iframe);
  5663. _box.appendChild(_jie);
  5664. _formdiv = new U.UF.UI.form(
  5665. "电子白板-" + _username,
  5666. _box, {
  5667. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5668. "style": {
  5669. "width": "90%",
  5670. "height": "90%",
  5671. "overflow": 'hidden'
  5672. },
  5673. "onresize": function() {}
  5674. }, {
  5675. closecallback: function() {}
  5676. }, {
  5677. "style": {
  5678. "height": "36px"
  5679. }
  5680. }).form; //创建窗体
  5681. _taskbar = {
  5682. "id": str + _formdiv.id,
  5683. "style": {
  5684. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5685. },
  5686. "name": "电子白板",
  5687. "forms": _formdiv,
  5688. "click": function() {
  5689. U.MD.D.I.openApplication(str, obj, info);
  5690. }
  5691. }
  5692. break;
  5693. case "mind":
  5694. aTool = 3;
  5695. _iframe = $$("iframe", {
  5696. "frameborder": "no",
  5697. "border": "0",
  5698. "scrolling ": "no",
  5699. "style": {
  5700. "cssText": "border:0;width:100%;height:100%"
  5701. },
  5702. "src": "/kityminder-editor/dist/index.html"
  5703. })
  5704. _box.appendChild(_iframe);
  5705. _box.appendChild(_jie);
  5706. _formdiv = new U.UF.UI.form(
  5707. "思维导图-" + _username,
  5708. _box, { //"/jsmind/example/demo.html"
  5709. "id": "mind" + cid + stage + task + tool + _userid,
  5710. "style": {
  5711. "width": "90%",
  5712. "height": "90%",
  5713. "overflow": 'hidden'
  5714. },
  5715. "onresize": function() {}
  5716. }, {
  5717. closecallback: function() {}
  5718. }, {
  5719. "style": {
  5720. "height": "36px"
  5721. }
  5722. }).form; //创建窗体
  5723. _taskbar = {
  5724. "id": str + _formdiv.id,
  5725. "style": {
  5726. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5727. },
  5728. "name": "思维导图",
  5729. "forms": _formdiv,
  5730. "click": function() {
  5731. U.MD.D.I.openApplication(str, obj, info);
  5732. }
  5733. }
  5734. break;
  5735. case "MindMap":
  5736. aTool = 3;
  5737. _iframe = $$("iframe", {
  5738. "frameborder": "no",
  5739. "border": "0",
  5740. "scrolling ": "no",
  5741. "style": {
  5742. "cssText": "border:0;width:100%;height:100%"
  5743. },
  5744. "src": "//cloud.cocorobo.cn/mind/"
  5745. })
  5746. _box.appendChild(_iframe);
  5747. _box.appendChild(_jie);
  5748. _formdiv = new U.UF.UI.form(
  5749. "思维导图-" + _username,
  5750. _box, { //"/jsmind/example/demo.html"
  5751. "id": "mind" + cid + stage + task + tool + _userid,
  5752. "style": {
  5753. "width": "90%",
  5754. "height": "90%",
  5755. "overflow": 'hidden'
  5756. },
  5757. "onresize": function() {}
  5758. }, {
  5759. closecallback: function() {}
  5760. }, {
  5761. "style": {
  5762. "height": "36px"
  5763. }
  5764. }).form; //创建窗体
  5765. _taskbar = {
  5766. "id": str + _formdiv.id,
  5767. "style": {
  5768. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5769. },
  5770. "name": "思维导图",
  5771. "forms": _formdiv,
  5772. "click": function() {
  5773. U.MD.D.I.openApplication(str, obj, info);
  5774. }
  5775. }
  5776. break;
  5777. case "doc":
  5778. aTool = 6;
  5779. _iframe = $$("iframe", {
  5780. "frameborder": "no",
  5781. "border": "0",
  5782. "scrolling ": "no",
  5783. "style": {
  5784. "cssText": "border:0;width:100%;height:100%"
  5785. },
  5786. "src": "/Office/Word/WordEditArea.htm"
  5787. })
  5788. _box.appendChild(_iframe);
  5789. _box.appendChild(_jie);
  5790. _formdiv = new U.UF.UI.form(
  5791. "协同文档-" + _username,
  5792. _box, {
  5793. "id": "doc" + cid + stage + task + tool + _userid,
  5794. "style": {
  5795. "width": "90%",
  5796. "height": "90%",
  5797. "overflow": 'hidden'
  5798. },
  5799. "onresize": function() {}
  5800. }, {
  5801. closecallback: function() {}
  5802. }, {
  5803. "style": {
  5804. "height": "36px"
  5805. }
  5806. }).form; //创建窗体
  5807. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5808. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5809. })
  5810. _taskbar = {
  5811. "id": str + _formdiv.id,
  5812. "style": {
  5813. "backgroundImage": "url(/img/icon/doc.png)"
  5814. },
  5815. "name": "协同文档",
  5816. "forms": _formdiv,
  5817. "click": function() {
  5818. U.MD.D.I.openApplication(str, obj, info);
  5819. }
  5820. }
  5821. break;
  5822. case "mindNetwork": //好友打开
  5823. aTool = 7;
  5824. _iframe = $$("iframe", {
  5825. "webkitallowfullscreen": "",
  5826. "mozallowfullscreen": "",
  5827. "allowfullscreen": "",
  5828. "frameborder": "no",
  5829. "border": "0",
  5830. "scrolling ": "no",
  5831. "style": {
  5832. "cssText": "border:0; width:100%; height:100%;"
  5833. },
  5834. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5835. })
  5836. _box.appendChild(_iframe);
  5837. _box.appendChild(_jie);
  5838. _formdiv = new U.UF.UI.form(
  5839. "思维网格-" + _username,
  5840. _box, {
  5841. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5842. "style": {
  5843. "width": "90%",
  5844. "height": "90%",
  5845. "overflow": 'hidden'
  5846. },
  5847. "onresize": function() {}
  5848. }, {
  5849. closecallback: function() {}
  5850. }, {
  5851. "style": {
  5852. "height": "36px"
  5853. }
  5854. }).form; //创建窗体
  5855. _taskbar = {
  5856. "id": str + _formdiv.id,
  5857. "style": {
  5858. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5859. },
  5860. "name": "思维网格",
  5861. "forms": _formdiv,
  5862. "click": function() {
  5863. U.MD.D.I.openApplication(str, obj, info);
  5864. }
  5865. }
  5866. break;
  5867. case "courseDesign":
  5868. _iframe = $$("iframe", {
  5869. "webkitallowfullscreen": "",
  5870. "mozallowfullscreen": "",
  5871. "allowfullscreen": "",
  5872. "frameborder": "no",
  5873. "border": "0",
  5874. "scrolling ": "no",
  5875. "style": {
  5876. "cssText": "border:0; width:100%; height:100%;"
  5877. },
  5878. "src": "/course-design-vue"
  5879. })
  5880. _box.appendChild(_iframe);
  5881. _box.appendChild(_jie);
  5882. _formdiv = new U.UF.UI.form(
  5883. "项目设计-" + _username,
  5884. _box, {
  5885. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5886. "style": {
  5887. "width": "90%",
  5888. "height": "90%",
  5889. "overflow": 'hidden'
  5890. },
  5891. "onresize": function() {}
  5892. }, {
  5893. closecallback: function() {}
  5894. }, {
  5895. "style": {
  5896. "height": "36px"
  5897. }
  5898. }).form; //创建窗体
  5899. _taskbar = {
  5900. "id": str + _formdiv.id,
  5901. "style": {
  5902. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5903. },
  5904. "name": "项目设计",
  5905. "forms": _formdiv,
  5906. "click": function() {
  5907. U.MD.D.I.openApplication(str, obj, info);
  5908. }
  5909. }
  5910. break;
  5911. }
  5912. const script1 = document.createElement("script");
  5913. script1.type = "text/javascript";
  5914. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5915. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5916. const script2 = document.createElement("script");
  5917. script2.type = "text/javascript";
  5918. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5919. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5920. const script3 = document.createElement("script");
  5921. script3.type = "text/javascript";
  5922. script3.charset = "UTF-8";
  5923. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5924. const script4 = document.createElement("script");
  5925. script4.type = "text/javascript";
  5926. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5927. script4.src = window.origin + "/js/Common/jietu2E.js";
  5928. if (_iframe) {
  5929. if (str == 'doc') {
  5930. _iframe = _formdiv.querySelector('iframe')
  5931. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5932. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5933. _iframe.contentWindow.document.body.appendChild(script1);
  5934. _iframe.contentWindow.document.body.appendChild(script2);
  5935. // _iframe.contentWindow.document.body.appendChild(script3);
  5936. _iframe.contentWindow.document.body.appendChild(script4);
  5937. })
  5938. if (onloadListener) {
  5939. _iframe.contentDocument.location.reload()
  5940. } else {
  5941. _iframe.contentDocument.location.reload()
  5942. }
  5943. } else if (str == 'courseDesign') {
  5944. U.UF.DL.iframeLoad(_iframe, function() {
  5945. // _iframe.contentWindow.U.MD.O.W.load();
  5946. // _iframe.contentWindow.document.body.appendChild(script1);
  5947. _iframe.contentWindow.document.body.appendChild(script2);
  5948. _iframe.contentWindow.document.body.appendChild(script4);
  5949. })
  5950. } else if (str == 'mind') {
  5951. _iframe = _formdiv.querySelector('iframe')
  5952. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5953. //
  5954. _iframe.contentWindow.document.body.appendChild(script1);
  5955. _iframe.contentWindow.document.body.appendChild(script2);
  5956. _iframe.contentWindow.document.body.appendChild(script4);
  5957. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5958. })
  5959. if (onloadListener) {
  5960. _iframe.contentDocument.location.reload()
  5961. } else {
  5962. _iframe.contentDocument.location.reload()
  5963. }
  5964. } else if (str == 'whiteboard') {
  5965. _iframe = _formdiv.querySelector('iframe')
  5966. let onloadListener = _iframe.onload = () => {
  5967. _iframe.contentWindow.document.body.appendChild(script1);
  5968. _iframe.contentWindow.document.body.appendChild(script2);
  5969. _iframe.contentWindow.document.body.appendChild(script4);
  5970. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5971. };
  5972. if (onloadListener) {
  5973. _iframe.contentDocument.location.reload()
  5974. } else {
  5975. _iframe.contentDocument.location.reload()
  5976. }
  5977. } else {
  5978. _iframe.onload = () => {
  5979. _iframe.contentWindow.document.body.appendChild(script1);
  5980. _iframe.contentWindow.document.body.appendChild(script2);
  5981. // _iframe.contentWindow.document.body.appendChild(script3);
  5982. _iframe.contentWindow.document.body.appendChild(script4);
  5983. };
  5984. }
  5985. _jie.onclick = async() => {
  5986. let text = ''
  5987. if (aTool == 1) {
  5988. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5989. } else if (aTool == 6) {
  5990. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5991. } else if (aTool == 3) {
  5992. text = await U.MD.D.I.getEditorContent(_iframe);
  5993. }
  5994. _loading.style.display = 'flex'
  5995. console.log(_loading);
  5996. var _ajs = _iframe.contentWindow.document.createElement("script");
  5997. _ajs.type = "text/javascript";
  5998. _ajs.innerHTML =
  5999. // 'console.log(' + _loading + ');\n' +
  6000. 'var _js = document.createElement("script");\n' +
  6001. '_js.type="text/javascript";\n' +
  6002. '_js.charset="UTF-8";\n' +
  6003. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6004. "_js.onload = function(){\n" +
  6005. ' var a = document.getElementsByTagName("img")\n' +
  6006. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6007. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6008. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6009. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6010. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6011. "beforeUpload_shishi(file," +
  6012. "'" +
  6013. _userid +
  6014. "'" +
  6015. ", " +
  6016. "'" +
  6017. _cid +
  6018. "'" +
  6019. ", " +
  6020. "'" +
  6021. _stage +
  6022. "'" +
  6023. ", " +
  6024. "'" +
  6025. _task +
  6026. "'" +
  6027. ", " +
  6028. "'" +
  6029. _tool +
  6030. "'" +
  6031. ", " +
  6032. "'" +
  6033. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6034. "'" +
  6035. ", " +
  6036. "'" +
  6037. aTool +
  6038. "'" +
  6039. ", " +
  6040. "`" +
  6041. text +
  6042. "`" +
  6043. ")\n" +
  6044. " });\n" +
  6045. "}\n" +
  6046. "document.head.appendChild(_js);\n";
  6047. _iframe.contentWindow.document.head.appendChild(_ajs);
  6048. }
  6049. }
  6050. }
  6051. U.MD.D.I.getEditorContent = function(iframe) {
  6052. return new Promise((resolve, reject) => {
  6053. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6054. console.log(content);
  6055. resolve(content)
  6056. });
  6057. });
  6058. }
  6059. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6060. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6061. // if (res.value[0].length > 0) {
  6062. // // resolve(res.value[0][0].text);
  6063. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6064. // $(fileInput).val('');
  6065. // });
  6066. // }
  6067. // }, [], { "type": "GET", "withCredentials": true });
  6068. var xmlhttp;
  6069. var Mac, Sn, DeviceId
  6070. if (window.XMLHttpRequest) {
  6071. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6072. xmlhttp = new XMLHttpRequest();
  6073. } else {
  6074. // IE6, IE5 浏览器执行代码
  6075. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6076. }
  6077. xmlhttp.onreadystatechange = function() {
  6078. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6079. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6080. // resolve(res.value[0][0].text);
  6081. if (type == '2') {
  6082. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6083. } else if (type == '3') {
  6084. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6085. }
  6086. } else {
  6087. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6088. }
  6089. }
  6090. }
  6091. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6092. xmlhttp.send();
  6093. }
  6094. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6095. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6096. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6097. _userinfo = US.userInfo, //登录用户信息
  6098. _userid = US.userInfo.userid //登录用户id
  6099. let _iframe;
  6100. let _cid = cid,
  6101. _stage = stage,
  6102. _task = task,
  6103. _tool = tool;
  6104. var _jie = $$("div", {
  6105. "style": {
  6106. "position": "absolute",
  6107. "bottom": "50px",
  6108. "right": "50px",
  6109. "zIndex": "9999",
  6110. "backgroundColor": "#2268bc",
  6111. "color": "#fff",
  6112. "padding": "12px 20px",
  6113. "cursor": "pointer",
  6114. "borderRadius": "4px",
  6115. },
  6116. "innerHTML": "确认并提交"
  6117. })
  6118. let aTool = ''
  6119. let _loading = document.createElement('div')
  6120. _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;"
  6121. // _loading.id = "";
  6122. let _lchild = document.createElement('div')
  6123. let _limg = document.createElement('img')
  6124. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6125. _limg.style = "width: 26px;margin-right: 10px;"
  6126. _lchild.appendChild(_limg)
  6127. let _lspan = document.createElement('span')
  6128. _lspan.innerHTML = "上传中..."
  6129. _lchild.appendChild(_lspan)
  6130. _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%);"
  6131. _loading.appendChild(_lchild)
  6132. var _box = $$('div', {
  6133. "style": {
  6134. "position": "relative",
  6135. "width": "100%",
  6136. "height": "100%",
  6137. },
  6138. })
  6139. _box.appendChild(_loading)
  6140. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6141. switch (str) {
  6142. case "whiteboard":
  6143. aTool = 1;
  6144. _iframe = $$("iframe", {
  6145. "frameborder": "no",
  6146. "border": "0",
  6147. "scrolling ": "no",
  6148. "style": {
  6149. "cssText": "border:0;width:100%;height:100%"
  6150. },
  6151. "src": "https://iwb.cocorobo.cn/"
  6152. })
  6153. _box.appendChild(_iframe);
  6154. _box.appendChild(_jie);
  6155. _formdiv = new U.UF.UI.form(
  6156. "电子白板",
  6157. _box, {
  6158. "id": "whiteboards" + cid + stage + task + tool,
  6159. "style": {
  6160. "width": "90%",
  6161. "height": "90%",
  6162. "overflow": 'hidden'
  6163. },
  6164. "onresize": function() {}
  6165. }, {
  6166. closecallback: function() {}
  6167. }, {
  6168. "style": {
  6169. "height": "36px"
  6170. }
  6171. }).form; //创建窗体
  6172. _taskbar = {
  6173. "id": str + _formdiv.id,
  6174. "style": {
  6175. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6176. },
  6177. "name": "电子白板",
  6178. "forms": _formdiv,
  6179. "click": function() {
  6180. U.MD.D.I.openApplication(str, obj, info);
  6181. }
  6182. }
  6183. break;
  6184. case "mind":
  6185. aTool = 3;
  6186. _iframe = $$("iframe", {
  6187. "frameborder": "no",
  6188. "border": "0",
  6189. "scrolling ": "no",
  6190. "style": {
  6191. "cssText": "border:0;width:100%;height:100%"
  6192. },
  6193. "src": "/kityminder-editor/dist/index.html"
  6194. });
  6195. _box.appendChild(_iframe);
  6196. _box.appendChild(_jie);
  6197. _formdiv = new U.UF.UI.form(
  6198. "思维导图",
  6199. _box, { //"/jsmind/example/demo.html"
  6200. "id": "minds" + cid + stage + task + tool,
  6201. "style": {
  6202. "width": "90%",
  6203. "height": "90%",
  6204. "overflow": 'hidden'
  6205. },
  6206. "onresize": function() {}
  6207. }, {
  6208. closecallback: function() {}
  6209. }, {
  6210. "style": {
  6211. "height": "36px"
  6212. }
  6213. }).form; //创建窗体
  6214. _taskbar = {
  6215. "id": str + _formdiv.id,
  6216. "style": {
  6217. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6218. },
  6219. "name": "思维导图",
  6220. "forms": _formdiv,
  6221. "click": function() {
  6222. U.MD.D.I.openApplication(str, obj, info);
  6223. }
  6224. }
  6225. break;
  6226. case "doc":
  6227. aTool = 6;
  6228. _iframe = $$("iframe", {
  6229. "frameborder": "no",
  6230. "border": "0",
  6231. "scrolling ": "no",
  6232. "style": {
  6233. "cssText": "border:0;width:100%;height:100%"
  6234. },
  6235. "src": "/Office/Word/WordEditArea.htm"
  6236. })
  6237. _box.appendChild(_iframe);
  6238. _box.appendChild(_jie);
  6239. _formdiv = new U.UF.UI.form(
  6240. "协同文档",
  6241. _box, {
  6242. "id": "docs" + cid + stage + task + tool,
  6243. "style": {
  6244. "width": "90%",
  6245. "height": "90%",
  6246. "overflow": 'hidden'
  6247. },
  6248. "onresize": function() {}
  6249. }, {
  6250. closecallback: function() {}
  6251. }, {
  6252. "style": {
  6253. "height": "36px"
  6254. }
  6255. }).form; //创建窗体
  6256. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6257. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6258. })
  6259. _taskbar = {
  6260. "id": str + _formdiv.id,
  6261. "style": {
  6262. "backgroundImage": "url(/img/icon/doc.png)"
  6263. },
  6264. "name": "协同文档",
  6265. "forms": _formdiv,
  6266. "click": function() {
  6267. U.MD.D.I.openApplication(str, obj, info);
  6268. }
  6269. }
  6270. break;
  6271. }
  6272. const script1 = document.createElement("script");
  6273. script1.type = "text/javascript";
  6274. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6275. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6276. const script2 = document.createElement("script");
  6277. script2.type = "text/javascript";
  6278. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6279. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6280. const script3 = document.createElement("script");
  6281. script3.type = "text/javascript";
  6282. script3.charset = "UTF-8";
  6283. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6284. const script4 = document.createElement("script");
  6285. script4.type = "text/javascript";
  6286. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6287. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6288. if (_iframe) {
  6289. if (str == 'doc') {
  6290. _iframe = _formdiv.querySelector('iframe')
  6291. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6292. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6293. _iframe.contentWindow.document.body.appendChild(script1);
  6294. _iframe.contentWindow.document.body.appendChild(script2);
  6295. // _iframe.contentWindow.document.body.appendChild(script3);
  6296. _iframe.contentWindow.document.body.appendChild(script4);
  6297. })
  6298. if (onloadListener) {
  6299. _iframe.contentDocument.location.reload()
  6300. } else {
  6301. _iframe.contentDocument.location.reload()
  6302. }
  6303. } else if (str == 'mind') {
  6304. _iframe = _formdiv.querySelector('iframe')
  6305. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6306. _iframe.contentWindow.document.body.appendChild(script1);
  6307. _iframe.contentWindow.document.body.appendChild(script2);
  6308. _iframe.contentWindow.document.body.appendChild(script4);
  6309. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6310. })
  6311. if (onloadListener) {
  6312. _iframe.contentDocument.location.reload()
  6313. } else {
  6314. _iframe.contentDocument.location.reload()
  6315. }
  6316. } else {
  6317. _iframe.onload = () => {
  6318. _iframe.contentWindow.document.body.appendChild(script1);
  6319. _iframe.contentWindow.document.body.appendChild(script2);
  6320. // _iframe.contentWindow.document.body.appendChild(script3);
  6321. _iframe.contentWindow.document.body.appendChild(script4);
  6322. };
  6323. }
  6324. _jie.onclick = async() => {
  6325. let text = ''
  6326. if (aTool == 6) {
  6327. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6328. } else if (aTool == 3) {
  6329. text = await U.MD.D.I.getEditorContent(_iframe);
  6330. }
  6331. _loading.style.display = 'flex'
  6332. console.log(_loading);
  6333. var _ajs = _iframe.contentWindow.document.createElement("script");
  6334. _ajs.type = "text/javascript";
  6335. _ajs.innerHTML =
  6336. // 'console.log(' + _loading + ');\n' +
  6337. 'var _js = document.createElement("script");\n' +
  6338. '_js.type="text/javascript";\n' +
  6339. '_js.charset="UTF-8";\n' +
  6340. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6341. "_js.onload = function(){\n" +
  6342. ' var a = document.getElementsByTagName("img")\n' +
  6343. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6344. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6345. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6346. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6347. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6348. "beforeUpload_shishi(file," +
  6349. "'" +
  6350. _userid +
  6351. "'" +
  6352. ", " +
  6353. "'" +
  6354. _cid +
  6355. "'" +
  6356. ", " +
  6357. "'" +
  6358. _stage +
  6359. "'" +
  6360. ", " +
  6361. "'" +
  6362. _task +
  6363. "'" +
  6364. ", " +
  6365. "'" +
  6366. _tool +
  6367. "'" +
  6368. ", " +
  6369. "'" +
  6370. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6371. "'" +
  6372. ", " +
  6373. "'" +
  6374. aTool +
  6375. "'" +
  6376. ", " +
  6377. "`" +
  6378. text +
  6379. "`" +
  6380. ")\n" +
  6381. " });\n" +
  6382. "}\n" +
  6383. "document.head.appendChild(_js);\n";
  6384. _iframe.contentWindow.document.head.appendChild(_ajs);
  6385. }
  6386. }
  6387. //U.MD.D.I.openClick(str);
  6388. //如果有任务栏信息
  6389. // if (_taskbar) {
  6390. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6391. // }
  6392. }
  6393. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6394. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6395. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6396. _userinfo = US.userInfo, //登录用户信息
  6397. _userid = US.userInfo.userid //登录用户id
  6398. let _iframe;
  6399. let _cid = cid,
  6400. _stage = stage,
  6401. _task = task,
  6402. _tool = tool;
  6403. var _jie = $$("div", {
  6404. "style": {
  6405. "position": "absolute",
  6406. "bottom": "50px",
  6407. "right": "50px",
  6408. "zIndex": "9999",
  6409. "backgroundColor": "#2268bc",
  6410. "color": "#fff",
  6411. "padding": "12px 20px",
  6412. "cursor": "pointer",
  6413. "borderRadius": "4px",
  6414. },
  6415. "innerHTML": "确认并提交"
  6416. })
  6417. let aTool = ''
  6418. let _loading = document.createElement('div')
  6419. _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;"
  6420. // _loading.id = "";
  6421. let _lchild = document.createElement('div')
  6422. let _limg = document.createElement('img')
  6423. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6424. _limg.style = "width: 26px;margin-right: 10px;"
  6425. _lchild.appendChild(_limg)
  6426. let _lspan = document.createElement('span')
  6427. _lspan.innerHTML = "上传中..."
  6428. _lchild.appendChild(_lspan)
  6429. _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%);"
  6430. _loading.appendChild(_lchild)
  6431. var _box = $$('div', {
  6432. "style": {
  6433. "position": "relative",
  6434. "width": "100%",
  6435. "height": "100%",
  6436. },
  6437. })
  6438. _box.appendChild(_loading)
  6439. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6440. switch (str) {
  6441. case "whiteboard":
  6442. aTool = 1;
  6443. _iframe = $$("iframe", {
  6444. "frameborder": "no",
  6445. "border": "0",
  6446. "scrolling ": "no",
  6447. "style": {
  6448. "cssText": "border:0;width:100%;height:100%"
  6449. },
  6450. "src": "https://iwb.cocorobo.cn/"
  6451. })
  6452. _box.appendChild(_iframe);
  6453. _box.appendChild(_jie);
  6454. _formdiv = new U.UF.UI.form(
  6455. "电子白板",
  6456. _box, {
  6457. "id": "whiteboards" + cid + stage + task + tool,
  6458. "style": {
  6459. "width": "90%",
  6460. "height": "90%",
  6461. "overflow": 'hidden'
  6462. },
  6463. "onresize": function() {}
  6464. }, {
  6465. closecallback: function() {}
  6466. }, {
  6467. "style": {
  6468. "height": "36px"
  6469. }
  6470. }).form; //创建窗体
  6471. _taskbar = {
  6472. "id": str + _formdiv.id,
  6473. "style": {
  6474. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6475. },
  6476. "name": "电子白板",
  6477. "forms": _formdiv,
  6478. "click": function() {
  6479. U.MD.D.I.openApplication(str, obj, info);
  6480. }
  6481. }
  6482. break;
  6483. case "mind":
  6484. aTool = 3;
  6485. _iframe = $$("iframe", {
  6486. "frameborder": "no",
  6487. "border": "0",
  6488. "scrolling ": "no",
  6489. "style": {
  6490. "cssText": "border:0;width:100%;height:100%"
  6491. },
  6492. "src": "/kityminder-editor/dist/index.html"
  6493. });
  6494. _box.appendChild(_iframe);
  6495. _box.appendChild(_jie);
  6496. _formdiv = new U.UF.UI.form(
  6497. "思维导图",
  6498. _box, { //"/jsmind/example/demo.html"
  6499. "id": "minds" + cid + stage + task + tool,
  6500. "style": {
  6501. "width": "90%",
  6502. "height": "90%",
  6503. "overflow": 'hidden'
  6504. },
  6505. "onresize": function() {}
  6506. }, {
  6507. closecallback: function() {}
  6508. }, {
  6509. "style": {
  6510. "height": "36px"
  6511. }
  6512. }).form; //创建窗体
  6513. _taskbar = {
  6514. "id": str + _formdiv.id,
  6515. "style": {
  6516. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6517. },
  6518. "name": "思维导图",
  6519. "forms": _formdiv,
  6520. "click": function() {
  6521. U.MD.D.I.openApplication(str, obj, info);
  6522. }
  6523. }
  6524. break;
  6525. case "doc":
  6526. aTool = 6;
  6527. _iframe = $$("iframe", {
  6528. "frameborder": "no",
  6529. "border": "0",
  6530. "scrolling ": "no",
  6531. "style": {
  6532. "cssText": "border:0;width:100%;height:100%"
  6533. },
  6534. "src": "/Office/Word/WordEditArea.htm"
  6535. })
  6536. _box.appendChild(_iframe);
  6537. _box.appendChild(_jie);
  6538. _formdiv = new U.UF.UI.form(
  6539. "协同文档",
  6540. _box, {
  6541. "id": "docs" + cid + stage + task + tool,
  6542. "style": {
  6543. "width": "90%",
  6544. "height": "90%",
  6545. "overflow": 'hidden'
  6546. },
  6547. "onresize": function() {}
  6548. }, {
  6549. closecallback: function() {}
  6550. }, {
  6551. "style": {
  6552. "height": "36px"
  6553. }
  6554. }).form; //创建窗体
  6555. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6556. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6557. })
  6558. _taskbar = {
  6559. "id": str + _formdiv.id,
  6560. "style": {
  6561. "backgroundImage": "url(/img/icon/doc.png)"
  6562. },
  6563. "name": "协同文档",
  6564. "forms": _formdiv,
  6565. "click": function() {
  6566. U.MD.D.I.openApplication(str, obj, info);
  6567. }
  6568. }
  6569. break;
  6570. }
  6571. const script1 = document.createElement("script");
  6572. script1.type = "text/javascript";
  6573. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6574. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6575. const script2 = document.createElement("script");
  6576. script2.type = "text/javascript";
  6577. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6578. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6579. const script3 = document.createElement("script");
  6580. script3.type = "text/javascript";
  6581. script3.charset = "UTF-8";
  6582. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6583. const script4 = document.createElement("script");
  6584. script4.type = "text/javascript";
  6585. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6586. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6587. if (_iframe) {
  6588. if (str == 'doc') {
  6589. _iframe = _formdiv.querySelector('iframe')
  6590. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6591. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6592. _iframe.contentWindow.document.body.appendChild(script1);
  6593. _iframe.contentWindow.document.body.appendChild(script2);
  6594. // _iframe.contentWindow.document.body.appendChild(script3);
  6595. _iframe.contentWindow.document.body.appendChild(script4);
  6596. })
  6597. if (onloadListener) {
  6598. _iframe.contentDocument.location.reload()
  6599. } else {
  6600. _iframe.contentDocument.location.reload()
  6601. }
  6602. } else if (str == 'mind') {
  6603. _iframe = _formdiv.querySelector('iframe')
  6604. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6605. _iframe.contentWindow.document.body.appendChild(script1);
  6606. _iframe.contentWindow.document.body.appendChild(script2);
  6607. _iframe.contentWindow.document.body.appendChild(script4);
  6608. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6609. })
  6610. if (onloadListener) {
  6611. _iframe.contentDocument.location.reload()
  6612. } else {
  6613. _iframe.contentDocument.location.reload()
  6614. }
  6615. } else {
  6616. _iframe.onload = () => {
  6617. _iframe.contentWindow.document.body.appendChild(script1);
  6618. _iframe.contentWindow.document.body.appendChild(script2);
  6619. // _iframe.contentWindow.document.body.appendChild(script3);
  6620. _iframe.contentWindow.document.body.appendChild(script4);
  6621. };
  6622. }
  6623. _jie.onclick = async() => {
  6624. let text = ''
  6625. if (aTool == 6) {
  6626. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6627. } else if (aTool == 3) {
  6628. text = await U.MD.D.I.getEditorContent(_iframe);
  6629. }
  6630. _loading.style.display = 'flex'
  6631. console.log(_loading);
  6632. var _ajs = _iframe.contentWindow.document.createElement("script");
  6633. _ajs.type = "text/javascript";
  6634. _ajs.innerHTML =
  6635. // 'console.log(' + _loading + ');\n' +
  6636. 'var _js = document.createElement("script");\n' +
  6637. '_js.type="text/javascript";\n' +
  6638. '_js.charset="UTF-8";\n' +
  6639. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6640. "_js.onload = function(){\n" +
  6641. ' var a = document.getElementsByTagName("img")\n' +
  6642. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6643. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6644. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6645. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6646. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6647. "beforeUpload_shishi(file," +
  6648. "'" +
  6649. _userid +
  6650. "'" +
  6651. ", " +
  6652. "'" +
  6653. _cid +
  6654. "'" +
  6655. ", " +
  6656. "'" +
  6657. _stage +
  6658. "'" +
  6659. ", " +
  6660. "'" +
  6661. _task +
  6662. "'" +
  6663. ", " +
  6664. "'" +
  6665. _tool +
  6666. "'" +
  6667. ", " +
  6668. "'" +
  6669. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6670. "'" +
  6671. ", " +
  6672. "'" +
  6673. aTool +
  6674. "'" +
  6675. ", " +
  6676. "`" +
  6677. text +
  6678. "`" +
  6679. ")\n" +
  6680. " });\n" +
  6681. "}\n" +
  6682. "document.head.appendChild(_js);\n";
  6683. _iframe.contentWindow.document.head.appendChild(_ajs);
  6684. }
  6685. }
  6686. //U.MD.D.I.openClick(str);
  6687. //如果有任务栏信息
  6688. // if (_taskbar) {
  6689. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6690. // }
  6691. }
  6692. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6693. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6694. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6695. _userinfo = US.userInfo, //登录用户信息
  6696. _userid = US.userInfo.userid //登录用户id
  6697. let _iframe;
  6698. let _cid = cid,
  6699. _stage = stage,
  6700. _task = task,
  6701. _tool = tool;
  6702. var _jie = $$("div", {
  6703. "style": {
  6704. "position": "absolute",
  6705. "bottom": "50px",
  6706. "right": "50px",
  6707. "zIndex": "9999",
  6708. "backgroundColor": "#2268bc",
  6709. "color": "#fff",
  6710. "padding": "12px 20px",
  6711. "cursor": "pointer",
  6712. "borderRadius": "4px",
  6713. },
  6714. "innerHTML": "上传模板"
  6715. })
  6716. let aTool = ''
  6717. let _loading = document.createElement('div')
  6718. _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;"
  6719. // _loading.id = "";
  6720. let _lchild = document.createElement('div')
  6721. let _limg = document.createElement('img')
  6722. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6723. _limg.style = "width: 26px;margin-right: 10px;"
  6724. _lchild.appendChild(_limg)
  6725. let _lspan = document.createElement('span')
  6726. _lspan.innerHTML = "上传中..."
  6727. _lchild.appendChild(_lspan)
  6728. _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%);"
  6729. _loading.appendChild(_lchild)
  6730. var _box = $$('div', {
  6731. "style": {
  6732. "position": "relative",
  6733. "width": "100%",
  6734. "height": "100%",
  6735. },
  6736. })
  6737. _box.appendChild(_loading)
  6738. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6739. switch (str) {
  6740. case "whiteboard":
  6741. aTool = 1;
  6742. _iframe = $$("iframe", {
  6743. "frameborder": "no",
  6744. "border": "0",
  6745. "scrolling ": "no",
  6746. "style": {
  6747. "cssText": "border:0;width:100%;height:100%"
  6748. },
  6749. "src": "https://iwb.cocorobo.cn/"
  6750. })
  6751. _box.appendChild(_iframe);
  6752. _box.appendChild(_jie);
  6753. _formdiv = new U.UF.UI.form(
  6754. "电子白板",
  6755. _box, {
  6756. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6757. "style": {
  6758. "width": "90%",
  6759. "height": "90%",
  6760. "overflow": 'hidden'
  6761. },
  6762. "onresize": function() {}
  6763. }, {
  6764. closecallback: function() {}
  6765. }, {
  6766. "style": {
  6767. "height": "36px"
  6768. }
  6769. }).form; //创建窗体
  6770. _taskbar = {
  6771. "id": str + _formdiv.id,
  6772. "style": {
  6773. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6774. },
  6775. "name": "电子白板",
  6776. "forms": _formdiv,
  6777. "click": function() {
  6778. U.MD.D.I.openApplication(str, obj, info);
  6779. }
  6780. }
  6781. break;
  6782. case "mind":
  6783. aTool = 3;
  6784. _iframe = $$("iframe", {
  6785. "frameborder": "no",
  6786. "border": "0",
  6787. "scrolling ": "no",
  6788. "style": {
  6789. "cssText": "border:0;width:100%;height:100%"
  6790. },
  6791. "src": "/kityminder-editor/dist/index.html"
  6792. });
  6793. _box.appendChild(_iframe);
  6794. _box.appendChild(_jie);
  6795. _formdiv = new U.UF.UI.form(
  6796. "思维导图",
  6797. _box, { //"/jsmind/example/demo.html"
  6798. "id": "minds_Yu" + cid + stage + task + tool,
  6799. "style": {
  6800. "width": "90%",
  6801. "height": "90%",
  6802. "overflow": 'hidden'
  6803. },
  6804. "onresize": function() {}
  6805. }, {
  6806. closecallback: function() {}
  6807. }, {
  6808. "style": {
  6809. "height": "36px"
  6810. }
  6811. }).form; //创建窗体
  6812. _taskbar = {
  6813. "id": str + _formdiv.id,
  6814. "style": {
  6815. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6816. },
  6817. "name": "思维导图",
  6818. "forms": _formdiv,
  6819. "click": function() {
  6820. U.MD.D.I.openApplication(str, obj, info);
  6821. }
  6822. }
  6823. break;
  6824. case "doc":
  6825. aTool = 6;
  6826. _iframe = $$("iframe", {
  6827. "frameborder": "no",
  6828. "border": "0",
  6829. "scrolling ": "no",
  6830. "style": {
  6831. "cssText": "border:0;width:100%;height:100%"
  6832. },
  6833. "src": "/Office/Word/WordEditArea.htm"
  6834. })
  6835. _box.appendChild(_iframe);
  6836. _box.appendChild(_jie);
  6837. _formdiv = new U.UF.UI.form(
  6838. "协同文档",
  6839. _box, {
  6840. "id": "docs_Yu" + cid + stage + task + tool,
  6841. "style": {
  6842. "width": "90%",
  6843. "height": "90%",
  6844. "overflow": 'hidden'
  6845. },
  6846. "onresize": function() {}
  6847. }, {
  6848. closecallback: function() {}
  6849. }, {
  6850. "style": {
  6851. "height": "36px"
  6852. }
  6853. }).form; //创建窗体
  6854. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6855. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6856. })
  6857. _taskbar = {
  6858. "id": str + _formdiv.id,
  6859. "style": {
  6860. "backgroundImage": "url(/img/icon/doc.png)"
  6861. },
  6862. "name": "协同文档",
  6863. "forms": _formdiv,
  6864. "click": function() {
  6865. U.MD.D.I.openApplication(str, obj, info);
  6866. }
  6867. }
  6868. break;
  6869. case "CocoPi":
  6870. aTool = 57;
  6871. _iframe = $$("iframe", {
  6872. "allowpaymentrequest": "allowpaymentrequest",
  6873. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6874. "webkitallowfullscreen": "",
  6875. "mozallowfullscreen": "",
  6876. "frameborder": "no",
  6877. "border": "0",
  6878. "scrolling ": "no",
  6879. "style": {
  6880. "cssText": "border:0;width:100%;height:100%"
  6881. },
  6882. "src": "https://pi.cocorobo.cn/"
  6883. })
  6884. _box.appendChild(_iframe);
  6885. _box.appendChild(_jie);
  6886. _formdiv = new U.UF.UI.form(
  6887. "CocoPi",
  6888. _box, {
  6889. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6890. "style": {
  6891. "width": "90%",
  6892. "height": "90%",
  6893. "overflow": 'hidden'
  6894. },
  6895. "onresize": function() {}
  6896. }, {
  6897. closecallback: function() {}
  6898. }, {
  6899. "style": {
  6900. "height": "36px"
  6901. }
  6902. }).form; //创建窗体
  6903. _taskbar = {
  6904. "id": str + _formdiv.id,
  6905. "style": {
  6906. "backgroundImage": "url(/img/icon/cocopi.png)"
  6907. },
  6908. "name": "CocoPi",
  6909. "forms": _formdiv,
  6910. "click": function() {
  6911. U.MD.D.I.openApplication(str, obj, info);
  6912. }
  6913. }
  6914. break;
  6915. }
  6916. if (_iframe) {
  6917. if (str == 'doc') {
  6918. _iframe = _formdiv.querySelector('iframe')
  6919. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6920. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6921. })
  6922. if (onloadListener) {
  6923. _iframe.contentDocument.location.reload()
  6924. } else {
  6925. _iframe.contentDocument.location.reload()
  6926. }
  6927. } else if (str == 'mind') {
  6928. _iframe = _formdiv.querySelector('iframe')
  6929. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6930. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6931. })
  6932. if (onloadListener) {
  6933. _iframe.contentDocument.location.reload()
  6934. } else {
  6935. _iframe.contentDocument.location.reload()
  6936. }
  6937. } else if (str == 'whiteboard') {
  6938. _iframe = _formdiv.querySelector('iframe')
  6939. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6940. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6941. })
  6942. if (onloadListener) {
  6943. _iframe.contentDocument.location.reload()
  6944. } else {
  6945. _iframe.contentDocument.location.reload()
  6946. }
  6947. } else if (str == 'CocoPi') {
  6948. _iframe = _formdiv.querySelector('iframe')
  6949. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6950. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6951. })
  6952. if (onloadListener) {
  6953. _iframe.contentDocument.location.reload()
  6954. } else {
  6955. _iframe.contentDocument.location.reload()
  6956. }
  6957. } else {
  6958. _iframe.onload = () => {};
  6959. }
  6960. _jie.onclick = async() => {
  6961. let text = ''
  6962. let type = '2'
  6963. if (aTool == 1) {
  6964. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6965. type = '3'
  6966. } else if (aTool == 6) {
  6967. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6968. type = '1'
  6969. } else if (aTool == 3) {
  6970. text = await U.MD.D.I.getEditorContent(_iframe);
  6971. type = '2'
  6972. } else if (aTool == 57) {
  6973. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6974. type = '4'
  6975. }
  6976. _loading.style.display = 'flex'
  6977. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6978. }
  6979. }
  6980. //U.MD.D.I.openClick(str);
  6981. //如果有任务栏信息
  6982. // if (_taskbar) {
  6983. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6984. // }
  6985. }
  6986. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6987. var xmlhttp;
  6988. var Mac, Sn, DeviceId
  6989. if (window.XMLHttpRequest) {
  6990. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6991. xmlhttp = new XMLHttpRequest();
  6992. } else {
  6993. // IE6, IE5 浏览器执行代码
  6994. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6995. }
  6996. xmlhttp.onreadystatechange = function() {
  6997. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6998. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6999. // resolve(res.value[0][0].text);
  7000. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7001. }
  7002. }
  7003. }
  7004. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7005. xmlhttp.send();
  7006. }
  7007. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  7008. var xmlhttp;
  7009. var Mac, Sn, DeviceId
  7010. if (window.XMLHttpRequest) {
  7011. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7012. xmlhttp = new XMLHttpRequest();
  7013. } else {
  7014. // IE6, IE5 浏览器执行代码
  7015. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7016. }
  7017. xmlhttp.onreadystatechange = function() {
  7018. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7019. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7020. // resolve(res.value[0][0].text);
  7021. if (type == '2') {
  7022. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7023. } else if (type == '3') {
  7024. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7025. } else if (type == '4') {
  7026. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7027. }
  7028. } else {
  7029. if (type == '2') {
  7030. iframe.contentWindow.editor.minder.importData('json', '')
  7031. } else if (type == '3') {
  7032. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7033. } else if (type == '4') {
  7034. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7035. }
  7036. }
  7037. }
  7038. }
  7039. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7040. xmlhttp.send();
  7041. }
  7042. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7043. var xmlhttp;
  7044. var Mac, Sn, DeviceId
  7045. if (window.XMLHttpRequest) {
  7046. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7047. xmlhttp = new XMLHttpRequest();
  7048. } else {
  7049. // IE6, IE5 浏览器执行代码
  7050. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7051. }
  7052. xmlhttp.onreadystatechange = function() {
  7053. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7054. if (xmlhttp.response) {
  7055. // resolve(res.value[0][0].text);
  7056. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7057. // $(fileInput).val('');
  7058. // });
  7059. span.innerHTML = '上传成功'
  7060. setTimeout(() => {
  7061. loading.style.display = 'none'
  7062. }, 1000);
  7063. }
  7064. }
  7065. }
  7066. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7067. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7068. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7069. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7070. // 设置请求头,表示请求体的编码格式
  7071. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7072. // 设置请求体,使用url-encoded格式的数据
  7073. }
  7074. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7075. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7076. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7077. _userinfo = US.userInfo, //登录用户信息
  7078. _userid = US.userInfo.userid //登录用户id
  7079. let _iframe;
  7080. let _cid = cid,
  7081. _stage = stage,
  7082. _task = task,
  7083. _tool = tool;
  7084. var _jie = $$("div", {
  7085. "style": {
  7086. "position": "absolute",
  7087. "bottom": "50px",
  7088. "right": "50px",
  7089. "zIndex": "9999",
  7090. "backgroundColor": "#2268bc",
  7091. "color": "#fff",
  7092. "padding": "12px 20px",
  7093. "cursor": "pointer",
  7094. "borderRadius": "4px",
  7095. },
  7096. "innerHTML": "提交作业"
  7097. })
  7098. let aTool = ''
  7099. let _loading = document.createElement('div')
  7100. _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;"
  7101. // _loading.id = "";
  7102. let _lchild = document.createElement('div')
  7103. let _limg = document.createElement('img')
  7104. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7105. _limg.style = "width: 26px;margin-right: 10px;"
  7106. _lchild.appendChild(_limg)
  7107. let _lspan = document.createElement('span')
  7108. _lspan.innerHTML = "上传中..."
  7109. _lchild.appendChild(_lspan)
  7110. _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%);"
  7111. _loading.appendChild(_lchild)
  7112. var _box = $$('div', {
  7113. "style": {
  7114. "position": "relative",
  7115. "width": "100%",
  7116. "height": "100%",
  7117. },
  7118. })
  7119. _box.appendChild(_loading)
  7120. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7121. switch (str) {
  7122. case "CocoPi":
  7123. aTool = 57;
  7124. _iframe = $$("iframe", {
  7125. "allowpaymentrequest": "allowpaymentrequest",
  7126. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7127. "webkitallowfullscreen": "",
  7128. "mozallowfullscreen": "",
  7129. "frameborder": "no",
  7130. "border": "0",
  7131. "scrolling ": "no",
  7132. "style": {
  7133. "cssText": "border:0;width:100%;height:100%"
  7134. },
  7135. "src": "https://pi.cocorobo.cn/"
  7136. })
  7137. _box.appendChild(_iframe);
  7138. _box.appendChild(_jie);
  7139. _formdiv = new U.UF.UI.form(
  7140. "CocoPi",
  7141. _box, {
  7142. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7143. "style": {
  7144. "width": "90%",
  7145. "height": "90%",
  7146. "overflow": 'hidden'
  7147. },
  7148. "onresize": function() {}
  7149. }, {
  7150. closecallback: function() {}
  7151. }, {
  7152. "style": {
  7153. "height": "36px"
  7154. }
  7155. }).form; //创建窗体
  7156. _taskbar = {
  7157. "id": str + _formdiv.id,
  7158. "style": {
  7159. "backgroundImage": "url(/img/icon/cocopi.png)"
  7160. },
  7161. "name": "CocoPi",
  7162. "forms": _formdiv,
  7163. "click": function() {
  7164. U.MD.D.I.openApplication(str, obj, info);
  7165. }
  7166. }
  7167. break;
  7168. }
  7169. if (_iframe) {
  7170. if (str == 'CocoPi') {
  7171. _iframe = _formdiv.querySelector('iframe')
  7172. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7173. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7174. })
  7175. if (onloadListener) {
  7176. _iframe.contentDocument.location.reload()
  7177. } else {
  7178. _iframe.contentDocument.location.reload()
  7179. }
  7180. }
  7181. _jie.onclick = async() => {
  7182. let text = ''
  7183. if (aTool == 57) {
  7184. text = _iframe.contentWindow.getLoadXmlStr()
  7185. }
  7186. _loading.style.display = 'flex'
  7187. console.log(_loading);
  7188. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7189. _loading.style.display = 'none'
  7190. let _div = document.createElement('div')
  7191. _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;"
  7192. let _inner = document.createElement('div')
  7193. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7194. _inner.innerHTML = "上传成功"
  7195. _div.appendChild(_inner)
  7196. _iframe.contentWindow.window.document.body.appendChild(_div)
  7197. _div.onclick = () => {
  7198. _iframe.contentWindow.window.document.body.removeChild(_div)
  7199. }
  7200. setTimeout(() => {
  7201. _iframe.contentWindow.window.document.body.removeChild(_div)
  7202. }, 1000);
  7203. }, [], { "type": "POST", "withCredentials": true });
  7204. }
  7205. }
  7206. }
  7207. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7208. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7209. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7210. _userid = student.userid, //登录用户id
  7211. _username = student.student //用户名字
  7212. let _iframe;
  7213. let _cid = cid,
  7214. _stage = stage,
  7215. _task = task,
  7216. _tool = tool;
  7217. var _jie = $$("div", {
  7218. "style": {
  7219. "position": "absolute",
  7220. "bottom": "50px",
  7221. "right": "50px",
  7222. "zIndex": "9999",
  7223. "backgroundColor": "#2268bc",
  7224. "color": "#fff",
  7225. "padding": "12px 20px",
  7226. "cursor": "pointer",
  7227. "borderRadius": "4px",
  7228. },
  7229. "innerHTML": "提交作业"
  7230. })
  7231. let aTool = ''
  7232. let _loading = document.createElement('div')
  7233. _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;"
  7234. // _loading.id = "";
  7235. let _lchild = document.createElement('div')
  7236. let _limg = document.createElement('img')
  7237. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7238. _limg.style = "width: 26px;margin-right: 10px;"
  7239. _lchild.appendChild(_limg)
  7240. let _lspan = document.createElement('span')
  7241. _lspan.innerHTML = "上传中..."
  7242. _lchild.appendChild(_lspan)
  7243. _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%);"
  7244. _loading.appendChild(_lchild)
  7245. var _box = $$('div', {
  7246. "style": {
  7247. "position": "relative",
  7248. "width": "100%",
  7249. "height": "100%",
  7250. },
  7251. })
  7252. _box.appendChild(_loading)
  7253. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7254. switch (str) {
  7255. case "CocoPi":
  7256. aTool = 57;
  7257. _iframe = $$("iframe", {
  7258. "allowpaymentrequest": "allowpaymentrequest",
  7259. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7260. "webkitallowfullscreen": "",
  7261. "mozallowfullscreen": "",
  7262. "frameborder": "no",
  7263. "border": "0",
  7264. "scrolling ": "no",
  7265. "style": {
  7266. "cssText": "border:0;width:100%;height:100%"
  7267. },
  7268. "src": "https://pi.cocorobo.cn/"
  7269. })
  7270. _box.appendChild(_iframe);
  7271. _box.appendChild(_jie);
  7272. _formdiv = new U.UF.UI.form(
  7273. "CocoPi-" + _username,
  7274. _box, {
  7275. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7276. "style": {
  7277. "width": "90%",
  7278. "height": "90%",
  7279. "overflow": 'hidden'
  7280. },
  7281. "onresize": function() {}
  7282. }, {
  7283. closecallback: function() {}
  7284. }, {
  7285. "style": {
  7286. "height": "36px"
  7287. }
  7288. }).form; //创建窗体
  7289. _taskbar = {
  7290. "id": str + _formdiv.id,
  7291. "style": {
  7292. "backgroundImage": "url(/img/icon/cocopi.png)"
  7293. },
  7294. "name": "CocoPi",
  7295. "forms": _formdiv,
  7296. "click": function() {
  7297. U.MD.D.I.openApplication(str, obj, info);
  7298. }
  7299. }
  7300. break;
  7301. }
  7302. if (_iframe) {
  7303. if (str == 'CocoPi') {
  7304. _iframe = _formdiv.querySelector('iframe')
  7305. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7306. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7307. })
  7308. if (onloadListener) {
  7309. _iframe.contentDocument.location.reload()
  7310. } else {
  7311. _iframe.contentDocument.location.reload()
  7312. }
  7313. }
  7314. _jie.onclick = async() => {
  7315. let text = ''
  7316. if (aTool == 57) {
  7317. text = _iframe.contentWindow.getLoadXmlStr()
  7318. }
  7319. _loading.style.display = 'flex'
  7320. console.log(_loading);
  7321. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7322. _loading.style.display = 'none'
  7323. let _div = document.createElement('div')
  7324. _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;"
  7325. let _inner = document.createElement('div')
  7326. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7327. _inner.innerHTML = "上传成功"
  7328. _div.appendChild(_inner)
  7329. _iframe.contentWindow.window.document.body.appendChild(_div)
  7330. _div.onclick = () => {
  7331. _iframe.contentWindow.window.document.body.removeChild(_div)
  7332. }
  7333. setTimeout(() => {
  7334. _iframe.contentWindow.window.document.body.removeChild(_div)
  7335. }, 1000);
  7336. }, [], { "type": "POST", "withCredentials": true });
  7337. }
  7338. }
  7339. }
  7340. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7341. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7342. if (res.value[0].length > 0) {
  7343. if (atool == 57) {
  7344. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7345. }
  7346. } else {
  7347. if (atool == 57) {
  7348. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7349. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7350. }
  7351. }
  7352. }, [], { "type": "POST", "withCredentials": true });
  7353. }