DeskTop.js 416 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324
  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": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. ];
  176. U.MD.D.I.orgStemDeskIcon = [
  177. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  178. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  179. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  180. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  181. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  182. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  183. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  184. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  185. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  186. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  187. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  188. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  189. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  190. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  191. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  192. ];
  193. U.MD.D.I.szulsDeskIcon = [
  194. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  195. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  196. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  197. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  198. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  199. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  200. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  201. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  202. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  203. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  204. ];
  205. U.MD.D.I.hanDeskIcon = [
  206. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  207. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  208. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  209. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  210. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  211. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  212. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  213. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  214. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  215. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  216. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  217. ];
  218. U.MD.D.I.GMteacherDeskIcon = [
  219. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  220. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  221. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  222. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  223. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  224. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  225. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  226. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  227. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  228. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  229. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  230. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  231. ];
  232. U.MD.D.I.GMstudentDeskIcon = [
  233. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  234. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  235. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  236. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. ];
  239. //北师大
  240. U.MD.D.I.BSDNSteacherDeskIcon = [
  241. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  242. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  243. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  244. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  245. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  246. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  247. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  248. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  249. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  250. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  251. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  252. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  253. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  254. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  255. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  256. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  257. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  258. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  259. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  260. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  261. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  262. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  263. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  264. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  265. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  266. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  267. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  268. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  269. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  270. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  271. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  272. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  273. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  274. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  275. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  276. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  277. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  278. ];
  279. //松山湖
  280. U.MD.D.I.SONGteacherDeskIcon = [
  281. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  282. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  283. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  284. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  285. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  286. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  287. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  288. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  289. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  290. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  291. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  292. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  293. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  294. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  295. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  296. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  297. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  298. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  299. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  300. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  301. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  302. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  303. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  304. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  305. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  306. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  307. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  308. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  309. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  310. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  311. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  312. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  313. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  314. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  315. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  316. ];
  317. U.MD.D.I.tcStudentDeskIcon = [
  318. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  319. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  320. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  321. ];
  322. U.MD.D.I.tcTeacherDeskIcon = [
  323. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  324. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  325. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  326. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  327. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  328. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  329. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  330. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  331. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  332. ];
  333. U.MD.D.I.tcOrganizerDeskIcon = [
  334. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  335. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  336. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  337. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  338. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  339. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  340. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  341. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  342. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  343. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  344. ];
  345. U.MD.D.I.szscStudentDeskIcon = [
  346. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  347. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. ];
  351. U.MD.D.I.szscTeacherDeskIcon = [
  352. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  353. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  357. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  358. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  359. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  360. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. ];
  363. U.MD.D.I.szscOrganizerDeskIcon = [
  364. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  365. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  366. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  367. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  368. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  369. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  370. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  371. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  372. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  373. ];
  374. U.MD.D.I.wankeTeacherDeskIcon = [//1c3b9def-8fbe-11ed-b13d-005056b86db5
  375. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  378. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  379. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  380. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  381. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  382. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  383. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  384. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  387. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  388. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  389. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  390. ];
  391. U.MD.D.I.wankeAdminDeskIcon = [
  392. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  393. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  394. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  395. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  396. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  397. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  398. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  399. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  400. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  401. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  402. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  403. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  404. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  405. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  406. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  407. ];
  408. U.MD.D.I.lhsTeacherDeskIcon = [//未来小学
  409. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  410. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  411. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  412. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  413. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  414. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  415. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  416. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  417. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  418. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  419. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  420. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  421. ];
  422. U.MD.D.I.lhsAdminDeskIcon = [//未来小学admin
  423. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  424. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  425. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  426. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  427. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  428. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  429. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  430. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  431. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  432. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  433. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  434. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  435. ];
  436. //明德教师桌面图标的全局变量
  437. U.MD.D.I.MingdeTeacherDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  450. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  451. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  452. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  453. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  454. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  455. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  456. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  457. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  458. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  459. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  460. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  461. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  462. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  463. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  464. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  465. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  468. ];
  469. //97c4ee8b-d010-4042-986d-e9d3c217264f
  470. //教师桌面图标的全局变量
  471. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  472. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  479. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  482. ];
  483. //福田
  484. U.MD.D.I.futianTeacherDeskIcon = [
  485. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  486. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  487. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  488. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  489. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  490. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  491. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  492. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  494. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  495. ];
  496. //福田
  497. U.MD.D.I.futianAdminDeskIcon = [
  498. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  499. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  500. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  501. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  502. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  503. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  504. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  505. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  506. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  507. ];
  508. //lotech
  509. U.MD.D.I.lotechTeacherDeskIcon = [
  510. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  511. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  512. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  513. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  514. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  515. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  516. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  517. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  518. ];
  519. //龙华中心小学教师桌面图标的全局变量
  520. U.MD.D.I.longhuateacherDeskIcon = [
  521. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  522. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  523. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  524. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  525. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  526. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  527. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  528. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  529. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  531. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  532. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  533. ];
  534. //教科院实小教师桌面图标的全局变量
  535. U.MD.D.I.siesteacherDeskIcon = [
  536. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  537. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  538. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  539. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  540. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  541. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  542. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  543. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  544. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  545. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  546. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. ];
  551. //教科院实小教师桌面图标的全局变量
  552. U.MD.D.I.siesStudentDeskIcon = [
  553. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  554. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  555. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.gdjgTeacherDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. ];
  570. //gdjg
  571. U.MD.D.I.gdjgAdminDeskIcon = [
  572. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  573. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  574. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  575. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  576. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  577. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  578. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  579. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  580. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. ];
  582. //hk
  583. U.MD.D.I.hkteacherDeskIcon = [
  584. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  585. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  586. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  587. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  593. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  594. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  595. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  596. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  599. ];
  600. //hk
  601. U.MD.D.I.hkStudentDeskIcon = [
  602. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  604. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  605. ];
  606. //香海正覺蓮社佛教正覺中學
  607. U.MD.D.I.hkZJLSteacherDeskIcon = [
  608. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  609. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  611. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  612. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  615. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  616. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  617. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  618. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  619. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  620. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. ];
  623. //香海正覺蓮社佛教正覺中學
  624. U.MD.D.I.hkZJLSStudentDeskIcon = [
  625. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  626. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  627. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  628. ];
  629. //云海
  630. U.MD.D.I.yunhaiTeacherDeskIcon = [
  631. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  632. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  633. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  634. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  635. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  636. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  637. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  638. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  639. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  640. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  641. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  642. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  643. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  644. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  645. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  646. ];
  647. //福田
  648. U.MD.D.I.heyuanTeacherDeskIcon = [
  649. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  650. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  651. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  652. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  653. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  654. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  655. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  656. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  657. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  658. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  659. ];
  660. //福田
  661. U.MD.D.I.heyuanAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. ];
  672. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  673. U.MD.D.I.szherTeacherDeskIcon = [
  674. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  675. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  676. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  677. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  678. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  679. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  680. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  681. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  682. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  683. ];
  684. //dsei
  685. U.MD.D.I.dseiTeacherDeskIcon = [
  686. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  687. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  688. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  690. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  693. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  694. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  695. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  696. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  697. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  698. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  699. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  700. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  701. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  702. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  703. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  704. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  705. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  706. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  707. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  708. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  709. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  710. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  711. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  712. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  713. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  714. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  715. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  716. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  717. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  718. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  719. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  720. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  721. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  722. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  723. ];
  724. //dsei
  725. U.MD.D.I.dseiAdminDeskIcon = [
  726. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  727. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  729. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  730. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  731. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  732. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  733. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  734. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  735. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  736. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  737. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  738. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  739. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  740. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  741. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  742. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  743. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  744. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  745. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  746. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  747. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  748. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  749. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  750. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  751. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  752. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  753. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  754. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  755. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  756. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  757. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  758. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  759. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  760. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  761. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  762. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  763. ];
  764. //dsei
  765. U.MD.D.I.dseiStudentDeskIcon = [
  766. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  767. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  768. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  769. ];
  770. //#region 桌面初始化a
  771. /**
  772. * 初始化桌面的起始函数
  773. *
  774. */
  775. U.MD.D.I.init = function () {
  776. if ($("#U_MD_D_K")[0]) {
  777. //初始化桌面图标
  778. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  779. // var clickUrl = ':12588/requestIp.php';
  780. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  781. // U.MD.D.I.Ip = data;
  782. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  783. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  784. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  785. // })
  786. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  787. // })
  788. }
  789. }
  790. /**
  791. * 模式切换
  792. *
  793. */
  794. U.MD.D.I.ModeCheck = function (type) {
  795. if (US.Config.type == type) {
  796. return
  797. }
  798. US.Config.type = type
  799. $('.U_PBL_Check .active')[0].className = ''
  800. if (type == 1) {
  801. $('.U_PBL_Check div')[0].className = 'active'
  802. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  803. } else {
  804. $('.U_PBL_Check div')[1].className = 'active'
  805. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  806. }
  807. //初始化桌面图标
  808. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  809. if(type == 2){
  810. U.MD.D.I.openApplication("project")
  811. }
  812. }
  813. /**
  814. * 隐藏任务栏
  815. *
  816. * @param {element} 桌面元素
  817. */
  818. U.MD.D.I.hiddenTaskbar = function (el) {
  819. //任务栏位置变小
  820. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  821. //桌面的位置变大
  822. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  823. }
  824. /**
  825. * 隐藏任务栏
  826. *
  827. * @param {element} 桌面元素
  828. */
  829. U.MD.D.I.hiddenTaskbarout = function (el) {
  830. //任务栏位置变小
  831. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  832. //任务栏位置变化
  833. U.selectEl(el).css({ "bottom": "-60px" });
  834. //桌面的位置变大
  835. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  836. }
  837. }
  838. /**
  839. * 初始化打印桌面图标
  840. *
  841. * @param {element} 桌面元素
  842. */
  843. U.MD.D.I.initDesktopIcons = function (el, type) {
  844. var i, //用于循环
  845. _content, //桌面图标元素
  846. _iconcontent, //桌面图标元素
  847. _frag = $$("frag"), //定义一个碎片元素
  848. _type = US.userInfo.type,
  849. _org = US.userInfo.org,
  850. _oid = US.userInfo.organizeid,
  851. _role = US.userInfo.role,
  852. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  853. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  854. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  855. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  856. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  857. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  858. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  859. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  860. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  861. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  862. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  863. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon,//获取北师大
  864. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon,//获取周佳名工作室
  865. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon,//获取松山湖
  866. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon,//获取万科双语
  867. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon,//获取万科双语
  868. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon,//获取万科双语
  869. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon,//获取未来小学
  870. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon,//获取未来小学
  871. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  872. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  873. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon,//腾讯学生
  874. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon,//腾讯学生
  875. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon,//福田
  876. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon,//福田
  877. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon,//dsei
  878. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon,//dsei
  879. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon,//dsei
  880. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon,//福田
  881. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon,//福田
  882. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon,//szher
  883. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon,//
  884. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon,//
  885. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon,//lotech
  886. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon,//龙华中心
  887. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon,//sies
  888. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon,//sies
  889. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon,//腾讯学生
  890. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon,//hk
  891. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon,//hk
  892. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon,//hk
  893. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon,//hk
  894. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon,//云海
  895. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon,//网络夏令营
  896. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon,//网络夏令营
  897. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon;//网络夏令营
  898. 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'];
  899. 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'];
  900. //清楚桌面图标
  901. el.innerHTML = "";
  902. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  903. _teacherDesktopIconInfo.push(
  904. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  905. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  906. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  907. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  908. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  909. )
  910. _easyDesktopIconInfo.push(
  911. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } }
  912. )
  913. }
  914. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  915. _teacherDesktopIconInfo.push(
  916. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  917. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  918. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  919. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  921. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  922. )
  923. }
  924. if(_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5'){
  925. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  926. if(el.Name == '项目管理'){
  927. el.Name = 'PBL项目'
  928. }
  929. return el
  930. })
  931. }
  932. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  933. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  934. return el.Name != '魔盒识字' && el.Name != '24点'
  935. })
  936. }
  937. 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) {
  938. _studentDesktopIconInfo.push(
  939. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  940. )
  941. }
  942. //循环创建桌面图标
  943. if (type == 1) {
  944. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  945. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  946. _content = $$("div", {
  947. className: "U_MD_D_KO",
  948. "onmousedown": U.UF.C.closure(function (obj) {
  949. //防止拖动图标即打开了桌面应用
  950. U.MD.D.click(this, obj);
  951. }, [_studentDesktopIconInfo[i]]),
  952. "onclick": U.UF.C.closure(function (obj) {
  953. //防止拖动图标即打开了桌面应用
  954. U.MD.D.click(this, obj);
  955. }, [_studentDesktopIconInfo[i]])
  956. }, _frag); //
  957. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  958. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  959. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  960. }
  961. }else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  962. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  963. _content = $$("div", {
  964. className: "U_MD_D_KO",
  965. "onmousedown": U.UF.C.closure(function (obj) {
  966. //防止拖动图标即打开了桌面应用
  967. U.MD.D.click(this, obj);
  968. }, [_hkZJLSStudentDeskIconInfo[i]]),
  969. "onclick": U.UF.C.closure(function (obj) {
  970. //防止拖动图标即打开了桌面应用
  971. U.MD.D.click(this, obj);
  972. }, [_hkZJLSStudentDeskIconInfo[i]])
  973. }, _frag); //
  974. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  975. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  976. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  977. }//
  978. }else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  979. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  980. _content = $$("div", {
  981. className: "U_MD_D_KO",
  982. "onmousedown": U.UF.C.closure(function (obj) {
  983. //防止拖动图标即打开了桌面应用
  984. U.MD.D.click(this, obj);
  985. }, [_dseiStudentDeskIconInfo[i]]),
  986. "onclick": U.UF.C.closure(function (obj) {
  987. //防止拖动图标即打开了桌面应用
  988. U.MD.D.click(this, obj);
  989. }, [_dseiStudentDeskIconInfo[i]])
  990. }, _frag); //
  991. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  992. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  993. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  994. }
  995. }else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  996. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  997. _content = $$("div", {
  998. className: "U_MD_D_KO",
  999. "onmousedown": U.UF.C.closure(function (obj) {
  1000. //防止拖动图标即打开了桌面应用
  1001. U.MD.D.click(this, obj);
  1002. }, [_siesStudentDeskIconInfo[i]]),
  1003. "onclick": U.UF.C.closure(function (obj) {
  1004. //防止拖动图标即打开了桌面应用
  1005. U.MD.D.click(this, obj);
  1006. }, [_siesStudentDeskIconInfo[i]])
  1007. }, _frag); //
  1008. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1009. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1010. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1011. }
  1012. }else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1013. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1014. _content = $$("div", {
  1015. className: "U_MD_D_KO",
  1016. "onmousedown": U.UF.C.closure(function (obj) {
  1017. //防止拖动图标即打开了桌面应用
  1018. U.MD.D.click(this, obj);
  1019. }, [_hkStudentDeskIconInfo[i]]),
  1020. "onclick": U.UF.C.closure(function (obj) {
  1021. //防止拖动图标即打开了桌面应用
  1022. U.MD.D.click(this, obj);
  1023. }, [_hkStudentDeskIconInfo[i]])
  1024. }, _frag); //
  1025. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1026. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1027. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1028. }
  1029. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1030. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1031. _content = $$("div", {
  1032. className: "U_MD_D_KO",
  1033. "onmousedown": U.UF.C.closure(function (obj) {
  1034. //防止拖动图标即打开了桌面应用
  1035. U.MD.D.click(this, obj);
  1036. }, [_studentDesktopIconInfo[i]]),
  1037. "onclick": U.UF.C.closure(function (obj) {
  1038. //防止拖动图标即打开了桌面应用
  1039. U.MD.D.click(this, obj);
  1040. }, [_studentDesktopIconInfo[i]])
  1041. }, _frag); //
  1042. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1043. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1044. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1045. }
  1046. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1047. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1048. _content = $$("div", {
  1049. className: "U_MD_D_KO",
  1050. "onmousedown": U.UF.C.closure(function (obj) {
  1051. //防止拖动图标即打开了桌面应用
  1052. U.MD.D.click(this, obj);
  1053. }, [_tcStudentDeskIconInfo[i]]),
  1054. "onclick": U.UF.C.closure(function (obj) {
  1055. //防止拖动图标即打开了桌面应用
  1056. U.MD.D.click(this, obj);
  1057. }, [_tcStudentDeskIconInfo[i]])
  1058. }, _frag); //
  1059. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1060. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1061. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1062. }
  1063. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1064. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1065. _content = $$("div", {
  1066. className: "U_MD_D_KO",
  1067. "onmousedown": U.UF.C.closure(function (obj) {
  1068. //防止拖动图标即打开了桌面应用
  1069. U.MD.D.click(this, obj);
  1070. }, [_szscStudentDeskIconInfo[i]]),
  1071. "onclick": U.UF.C.closure(function (obj) {
  1072. //防止拖动图标即打开了桌面应用
  1073. U.MD.D.click(this, obj);
  1074. }, [_szscStudentDeskIconInfo[i]])
  1075. }, _frag); //
  1076. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1077. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1078. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1079. }
  1080. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1081. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1082. _content = $$("div", {
  1083. className: "U_MD_D_KO",
  1084. "onmousedown": U.UF.C.closure(function (obj) {
  1085. //防止拖动图标即打开了桌面应用
  1086. U.MD.D.click(this, obj);
  1087. }, [_studentDesktopIconInfo3[i]]),
  1088. "onclick": U.UF.C.closure(function (obj) {
  1089. //防止拖动图标即打开了桌面应用
  1090. U.MD.D.click(this, obj);
  1091. }, [_studentDesktopIconInfo3[i]])
  1092. }, _frag); //
  1093. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1094. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1095. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1096. }
  1097. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1098. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1099. _content = $$("div", {
  1100. className: "U_MD_D_KO",
  1101. "onmousedown": U.UF.C.closure(function (obj) {
  1102. //防止拖动图标即打开了桌面应用
  1103. U.MD.D.click(this, obj);
  1104. }, [_studentDesktopIconInfo2[i]]),
  1105. "onclick": U.UF.C.closure(function (obj) {
  1106. //防止拖动图标即打开了桌面应用
  1107. U.MD.D.click(this, obj);
  1108. }, [_studentDesktopIconInfo2[i]])
  1109. }, _frag); //
  1110. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1111. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1112. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1113. }
  1114. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1115. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1116. _content = $$("div", {
  1117. className: "U_MD_D_KO",
  1118. "onmousedown": U.UF.C.closure(function (obj) {
  1119. //防止拖动图标即打开了桌面应用
  1120. U.MD.D.click(this, obj);
  1121. }, [_wanketeacherDesktopIconInfo[i]]),
  1122. "onclick": U.UF.C.closure(function (obj) {
  1123. //防止拖动图标即打开了桌面应用
  1124. U.MD.D.click(this, obj);
  1125. }, [_wanketeacherDesktopIconInfo[i]])
  1126. }, _frag); //
  1127. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1128. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1129. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1130. }
  1131. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1132. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1133. _content = $$("div", {
  1134. className: "U_MD_D_KO",
  1135. "onmousedown": U.UF.C.closure(function (obj) {
  1136. //防止拖动图标即打开了桌面应用
  1137. U.MD.D.click(this, obj);
  1138. }, [_wankeAdminDesktopIconInfo[i]]),
  1139. "onclick": U.UF.C.closure(function (obj) {
  1140. //防止拖动图标即打开了桌面应用
  1141. U.MD.D.click(this, obj);
  1142. }, [_wankeAdminDesktopIconInfo[i]])
  1143. }, _frag); //
  1144. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1145. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1146. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1147. }
  1148. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1149. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1150. _content = $$("div", {
  1151. className: "U_MD_D_KO",
  1152. "onmousedown": U.UF.C.closure(function (obj) {
  1153. //防止拖动图标即打开了桌面应用
  1154. U.MD.D.click(this, obj);
  1155. }, [_teacherDesktopIconInfo2[i]]),
  1156. "onclick": U.UF.C.closure(function (obj) {
  1157. //防止拖动图标即打开了桌面应用
  1158. U.MD.D.click(this, obj);
  1159. }, [_teacherDesktopIconInfo2[i]])
  1160. }, _frag); //
  1161. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1162. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1163. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1164. }
  1165. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1166. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1167. _content = $$("div", {
  1168. className: "U_MD_D_KO",
  1169. "onmousedown": U.UF.C.closure(function (obj) {
  1170. //防止拖动图标即打开了桌面应用
  1171. U.MD.D.click(this, obj);
  1172. }, [_lotechTeacherDeskIconInfo[i]]),
  1173. "onclick": U.UF.C.closure(function (obj) {
  1174. //防止拖动图标即打开了桌面应用
  1175. U.MD.D.click(this, obj);
  1176. }, [_lotechTeacherDeskIconInfo[i]])
  1177. }, _frag); //
  1178. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1179. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1180. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1181. }
  1182. }else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1183. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1184. _content = $$("div", {
  1185. className: "U_MD_D_KO",
  1186. "onmousedown": U.UF.C.closure(function (obj) {
  1187. //防止拖动图标即打开了桌面应用
  1188. U.MD.D.click(this, obj);
  1189. }, [_siesTeacherDeskIconInfo[i]]),
  1190. "onclick": U.UF.C.closure(function (obj) {
  1191. //防止拖动图标即打开了桌面应用
  1192. U.MD.D.click(this, obj);
  1193. }, [_siesTeacherDeskIconInfo[i]])
  1194. }, _frag); //
  1195. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1196. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1197. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1198. }
  1199. }else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1200. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1201. _content = $$("div", {
  1202. className: "U_MD_D_KO",
  1203. "onmousedown": U.UF.C.closure(function (obj) {
  1204. //防止拖动图标即打开了桌面应用
  1205. U.MD.D.click(this, obj);
  1206. }, [_longhuaTeacherDeskIconInfo[i]]),
  1207. "onclick": U.UF.C.closure(function (obj) {
  1208. //防止拖动图标即打开了桌面应用
  1209. U.MD.D.click(this, obj);
  1210. }, [_longhuaTeacherDeskIconInfo[i]])
  1211. }, _frag); //
  1212. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1213. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1214. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1215. }
  1216. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1217. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1218. _content = $$("div", {
  1219. className: "U_MD_D_KO",
  1220. "onmousedown": U.UF.C.closure(function (obj) {
  1221. //防止拖动图标即打开了桌面应用
  1222. U.MD.D.click(this, obj);
  1223. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1224. "onclick": U.UF.C.closure(function (obj) {
  1225. //防止拖动图标即打开了桌面应用
  1226. U.MD.D.click(this, obj);
  1227. }, [_yunhaiTeacherDeskIconInfo[i]])
  1228. }, _frag); //
  1229. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1230. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1231. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1232. }//_hkStudentDeskIconInfo
  1233. }else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1234. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1235. _content = $$("div", {
  1236. className: "U_MD_D_KO",
  1237. "onmousedown": U.UF.C.closure(function (obj) {
  1238. //防止拖动图标即打开了桌面应用
  1239. U.MD.D.click(this, obj);
  1240. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1241. "onclick": U.UF.C.closure(function (obj) {
  1242. //防止拖动图标即打开了桌面应用
  1243. U.MD.D.click(this, obj);
  1244. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1245. }, _frag); //
  1246. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1247. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1248. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1249. }
  1250. }else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1251. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1252. _content = $$("div", {
  1253. className: "U_MD_D_KO",
  1254. "onmousedown": U.UF.C.closure(function (obj) {
  1255. //防止拖动图标即打开了桌面应用
  1256. U.MD.D.click(this, obj);
  1257. }, [_hkTeacherDeskIconInfo[i]]),
  1258. "onclick": U.UF.C.closure(function (obj) {
  1259. //防止拖动图标即打开了桌面应用
  1260. U.MD.D.click(this, obj);
  1261. }, [_hkTeacherDeskIconInfo[i]])
  1262. }, _frag); //
  1263. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1264. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1265. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1266. }
  1267. }else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1268. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1269. _content = $$("div", {
  1270. className: "U_MD_D_KO",
  1271. "onmousedown": U.UF.C.closure(function (obj) {
  1272. //防止拖动图标即打开了桌面应用
  1273. U.MD.D.click(this, obj);
  1274. }, [_gdjgAdminDeskIconInfo[i]]),
  1275. "onclick": U.UF.C.closure(function (obj) {
  1276. //防止拖动图标即打开了桌面应用
  1277. U.MD.D.click(this, obj);
  1278. }, [_gdjgAdminDeskIconInfo[i]])
  1279. }, _frag); //
  1280. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1281. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1282. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1283. }
  1284. }else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1285. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1286. _content = $$("div", {
  1287. className: "U_MD_D_KO",
  1288. "onmousedown": U.UF.C.closure(function (obj) {
  1289. //防止拖动图标即打开了桌面应用
  1290. U.MD.D.click(this, obj);
  1291. }, [_gdjgTeacherDeskIconInfo[i]]),
  1292. "onclick": U.UF.C.closure(function (obj) {
  1293. //防止拖动图标即打开了桌面应用
  1294. U.MD.D.click(this, obj);
  1295. }, [_gdjgTeacherDeskIconInfo[i]])
  1296. }, _frag); //
  1297. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1298. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1299. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1300. }
  1301. }else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1302. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1303. _content = $$("div", {
  1304. className: "U_MD_D_KO",
  1305. "onmousedown": U.UF.C.closure(function (obj) {
  1306. //防止拖动图标即打开了桌面应用
  1307. U.MD.D.click(this, obj);
  1308. }, [_szherTeacherDeskIconInfo[i]]),
  1309. "onclick": U.UF.C.closure(function (obj) {
  1310. //防止拖动图标即打开了桌面应用
  1311. U.MD.D.click(this, obj);
  1312. }, [_szherTeacherDeskIconInfo[i]])
  1313. }, _frag); //
  1314. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1315. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1316. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1317. }
  1318. }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1319. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1320. _content = $$("div", {
  1321. className: "U_MD_D_KO",
  1322. "onmousedown": U.UF.C.closure(function (obj) {
  1323. //防止拖动图标即打开了桌面应用
  1324. U.MD.D.click(this, obj);
  1325. }, [_heyuannAdminDeskIconInfo[i]]),
  1326. "onclick": U.UF.C.closure(function (obj) {
  1327. //防止拖动图标即打开了桌面应用
  1328. U.MD.D.click(this, obj);
  1329. }, [_heyuannAdminDeskIconInfo[i]])
  1330. }, _frag); //
  1331. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1332. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1333. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1334. }
  1335. }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1336. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1337. _content = $$("div", {
  1338. className: "U_MD_D_KO",
  1339. "onmousedown": U.UF.C.closure(function (obj) {
  1340. //防止拖动图标即打开了桌面应用
  1341. U.MD.D.click(this, obj);
  1342. }, [_heyuanTeacherDeskIconInfo[i]]),
  1343. "onclick": U.UF.C.closure(function (obj) {
  1344. //防止拖动图标即打开了桌面应用
  1345. U.MD.D.click(this, obj);
  1346. }, [_heyuanTeacherDeskIconInfo[i]])
  1347. }, _frag); //
  1348. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1349. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1350. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1351. }//
  1352. }else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1353. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1354. _content = $$("div", {
  1355. className: "U_MD_D_KO",
  1356. "onmousedown": U.UF.C.closure(function (obj) {
  1357. //防止拖动图标即打开了桌面应用
  1358. U.MD.D.click(this, obj);
  1359. }, [_dseiAdminDeskIconInfo[i]]),
  1360. "onclick": U.UF.C.closure(function (obj) {
  1361. //防止拖动图标即打开了桌面应用
  1362. U.MD.D.click(this, obj);
  1363. }, [_dseiAdminDeskIconInfo[i]])
  1364. }, _frag); //
  1365. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1366. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1367. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1368. }
  1369. }else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1370. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1371. _content = $$("div", {
  1372. className: "U_MD_D_KO",
  1373. "onmousedown": U.UF.C.closure(function (obj) {
  1374. //防止拖动图标即打开了桌面应用
  1375. U.MD.D.click(this, obj);
  1376. }, [_dseiTeacherDeskIconInfo[i]]),
  1377. "onclick": U.UF.C.closure(function (obj) {
  1378. //防止拖动图标即打开了桌面应用
  1379. U.MD.D.click(this, obj);
  1380. }, [_dseiTeacherDeskIconInfo[i]])
  1381. }, _frag); //
  1382. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1383. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1384. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1385. }
  1386. }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1387. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1388. _content = $$("div", {
  1389. className: "U_MD_D_KO",
  1390. "onmousedown": U.UF.C.closure(function (obj) {
  1391. //防止拖动图标即打开了桌面应用
  1392. U.MD.D.click(this, obj);
  1393. }, [_futianAdminDeskIconInfo[i]]),
  1394. "onclick": U.UF.C.closure(function (obj) {
  1395. //防止拖动图标即打开了桌面应用
  1396. U.MD.D.click(this, obj);
  1397. }, [_futianAdminDeskIconInfo[i]])
  1398. }, _frag); //
  1399. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1400. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1401. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1402. }
  1403. }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1404. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1405. _content = $$("div", {
  1406. className: "U_MD_D_KO",
  1407. "onmousedown": U.UF.C.closure(function (obj) {
  1408. //防止拖动图标即打开了桌面应用
  1409. U.MD.D.click(this, obj);
  1410. }, [_futianTeacherDeskIconInfo[i]]),
  1411. "onclick": U.UF.C.closure(function (obj) {
  1412. //防止拖动图标即打开了桌面应用
  1413. U.MD.D.click(this, obj);
  1414. }, [_futianTeacherDeskIconInfo[i]])
  1415. }, _frag); //
  1416. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1417. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1418. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1419. }
  1420. }else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1421. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1422. _content = $$("div", {
  1423. className: "U_MD_D_KO",
  1424. "onmousedown": U.UF.C.closure(function (obj) {
  1425. //防止拖动图标即打开了桌面应用
  1426. U.MD.D.click(this, obj);
  1427. }, [_MingdeTeacherDeskIcon[i]]),
  1428. "onclick": U.UF.C.closure(function (obj) {
  1429. //防止拖动图标即打开了桌面应用
  1430. U.MD.D.click(this, obj);
  1431. }, [_MingdeTeacherDeskIcon[i]])
  1432. }, _frag); //
  1433. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1434. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1435. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1436. }
  1437. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1438. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1439. _content = $$("div", {
  1440. className: "U_MD_D_KO",
  1441. "onmousedown": U.UF.C.closure(function (obj) {
  1442. //防止拖动图标即打开了桌面应用
  1443. U.MD.D.click(this, obj);
  1444. }, [_lhsAdminDesktopIconInfo[i]]),
  1445. "onclick": U.UF.C.closure(function (obj) {
  1446. //防止拖动图标即打开了桌面应用
  1447. U.MD.D.click(this, obj);
  1448. }, [_lhsAdminDesktopIconInfo[i]])
  1449. }, _frag); //
  1450. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1451. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1452. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1453. }
  1454. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1455. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1456. _content = $$("div", {
  1457. className: "U_MD_D_KO",
  1458. "onmousedown": U.UF.C.closure(function (obj) {
  1459. //防止拖动图标即打开了桌面应用
  1460. U.MD.D.click(this, obj);
  1461. }, [_lhsteacherDesktopIconInfo[i]]),
  1462. "onclick": U.UF.C.closure(function (obj) {
  1463. //防止拖动图标即打开了桌面应用
  1464. U.MD.D.click(this, obj);
  1465. }, [_lhsteacherDesktopIconInfo[i]])
  1466. }, _frag); //
  1467. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1468. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1469. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1470. }
  1471. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1472. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1473. _content = $$("div", {
  1474. className: "U_MD_D_KO",
  1475. "onmousedown": U.UF.C.closure(function (obj) {
  1476. //防止拖动图标即打开了桌面应用
  1477. U.MD.D.click(this, obj);
  1478. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1479. "onclick": U.UF.C.closure(function (obj) {
  1480. //防止拖动图标即打开了桌面应用
  1481. U.MD.D.click(this, obj);
  1482. }, [_zhoujiateacherDesktopIconInfo[i]])
  1483. }, _frag); //
  1484. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1485. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1486. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1487. }
  1488. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1489. for (i = 0; i < _hanDeskIcon.length; i++) {
  1490. _content = $$("div", {
  1491. className: "U_MD_D_KO",
  1492. "onmousedown": U.UF.C.closure(function (obj) {
  1493. //防止拖动图标即打开了桌面应用
  1494. U.MD.D.click(this, obj);
  1495. }, [_hanDeskIcon[i]]),
  1496. "onclick": U.UF.C.closure(function (obj) {
  1497. //防止拖动图标即打开了桌面应用
  1498. U.MD.D.click(this, obj);
  1499. }, [_hanDeskIcon[i]])
  1500. }, _frag); //
  1501. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1502. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1503. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1504. }
  1505. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1506. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1507. _content = $$("div", {
  1508. className: "U_MD_D_KO",
  1509. "onmousedown": U.UF.C.closure(function (obj) {
  1510. //防止拖动图标即打开了桌面应用
  1511. U.MD.D.click(this, obj);
  1512. }, [_orgStemDeskIcon[i]]),
  1513. "onclick": U.UF.C.closure(function (obj) {
  1514. //防止拖动图标即打开了桌面应用
  1515. U.MD.D.click(this, obj);
  1516. }, [_orgStemDeskIcon[i]])
  1517. }, _frag); //
  1518. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1519. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1520. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1521. }
  1522. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1523. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1524. _content = $$("div", {
  1525. className: "U_MD_D_KO",
  1526. "onmousedown": U.UF.C.closure(function (obj) {
  1527. //防止拖动图标即打开了桌面应用
  1528. U.MD.D.click(this, obj);
  1529. }, [_szulsDeskIcon[i]]),
  1530. "onclick": U.UF.C.closure(function (obj) {
  1531. //防止拖动图标即打开了桌面应用
  1532. U.MD.D.click(this, obj);
  1533. }, [_szulsDeskIcon[i]])
  1534. }, _frag); //
  1535. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1536. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1537. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1538. }
  1539. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1540. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1541. _content = $$("div", {
  1542. className: "U_MD_D_KO",
  1543. "onmousedown": U.UF.C.closure(function (obj) {
  1544. //防止拖动图标即打开了桌面应用
  1545. U.MD.D.click(this, obj);
  1546. }, [_orgDesktopIconInfo[i]]),
  1547. "onclick": U.UF.C.closure(function (obj) {
  1548. //防止拖动图标即打开了桌面应用
  1549. U.MD.D.click(this, obj);
  1550. }, [_orgDesktopIconInfo[i]])
  1551. }, _frag); //
  1552. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1553. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1554. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1555. }
  1556. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1557. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1558. _content = $$("div", {
  1559. className: "U_MD_D_KO",
  1560. "onmousedown": U.UF.C.closure(function (obj) {
  1561. //防止拖动图标即打开了桌面应用
  1562. U.MD.D.click(this, obj);
  1563. }, [_schoolDesktopIconInfo[i]]),
  1564. "onclick": U.UF.C.closure(function (obj) {
  1565. //防止拖动图标即打开了桌面应用
  1566. U.MD.D.click(this, obj);
  1567. }, [_schoolDesktopIconInfo[i]])
  1568. }, _frag); //
  1569. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1570. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1571. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1572. }
  1573. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1574. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1575. _content = $$("div", {
  1576. className: "U_MD_D_KO",
  1577. "onmousedown": U.UF.C.closure(function (obj) {
  1578. //防止拖动图标即打开了桌面应用
  1579. U.MD.D.click(this, obj);
  1580. }, [_GMteacherDesktopIconInfo[i]]),
  1581. "onclick": U.UF.C.closure(function (obj) {
  1582. //防止拖动图标即打开了桌面应用
  1583. U.MD.D.click(this, obj);
  1584. }, [_GMteacherDesktopIconInfo[i]])
  1585. }, _frag); //
  1586. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1587. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1588. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1589. }
  1590. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1591. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1592. _content = $$("div", {
  1593. className: "U_MD_D_KO",
  1594. "onmousedown": U.UF.C.closure(function (obj) {
  1595. //防止拖动图标即打开了桌面应用
  1596. U.MD.D.click(this, obj);
  1597. }, [_SONGteacherDesktopIconInfo[i]]),
  1598. "onclick": U.UF.C.closure(function (obj) {
  1599. //防止拖动图标即打开了桌面应用
  1600. U.MD.D.click(this, obj);
  1601. }, [_SONGteacherDesktopIconInfo[i]])
  1602. }, _frag); //
  1603. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1604. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1605. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1606. }
  1607. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1608. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1609. _content = $$("div", {
  1610. className: "U_MD_D_KO",
  1611. "onmousedown": U.UF.C.closure(function (obj) {
  1612. //防止拖动图标即打开了桌面应用
  1613. U.MD.D.click(this, obj);
  1614. }, [_GMstudentDesktopIconInfo[i]]),
  1615. "onclick": U.UF.C.closure(function (obj) {
  1616. //防止拖动图标即打开了桌面应用
  1617. U.MD.D.click(this, obj);
  1618. }, [_GMstudentDesktopIconInfo[i]])
  1619. }, _frag); //
  1620. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1621. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1622. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1623. }
  1624. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1625. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1626. _content = $$("div", {
  1627. className: "U_MD_D_KO",
  1628. "onmousedown": U.UF.C.closure(function (obj) {
  1629. //防止拖动图标即打开了桌面应用
  1630. U.MD.D.click(this, obj);
  1631. }, [_tcTeacherDeskIconInfo[i]]),
  1632. "onclick": U.UF.C.closure(function (obj) {
  1633. //防止拖动图标即打开了桌面应用
  1634. U.MD.D.click(this, obj);
  1635. }, [_tcTeacherDeskIconInfo[i]])
  1636. }, _frag); //
  1637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1640. }
  1641. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1642. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1643. _content = $$("div", {
  1644. className: "U_MD_D_KO",
  1645. "onmousedown": U.UF.C.closure(function (obj) {
  1646. //防止拖动图标即打开了桌面应用
  1647. U.MD.D.click(this, obj);
  1648. }, [_tcOrganizerDeskIconInfo[i]]),
  1649. "onclick": U.UF.C.closure(function (obj) {
  1650. //防止拖动图标即打开了桌面应用
  1651. U.MD.D.click(this, obj);
  1652. }, [_tcOrganizerDeskIconInfo[i]])
  1653. }, _frag); //
  1654. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1655. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1656. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1657. }
  1658. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1659. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1660. _content = $$("div", {
  1661. className: "U_MD_D_KO",
  1662. "onmousedown": U.UF.C.closure(function (obj) {
  1663. //防止拖动图标即打开了桌面应用
  1664. U.MD.D.click(this, obj);
  1665. }, [_szscTeacherDeskIconInfo[i]]),
  1666. "onclick": U.UF.C.closure(function (obj) {
  1667. //防止拖动图标即打开了桌面应用
  1668. U.MD.D.click(this, obj);
  1669. }, [_szscTeacherDeskIconInfo[i]])
  1670. }, _frag); //
  1671. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1672. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1673. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1674. }
  1675. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1676. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1677. _content = $$("div", {
  1678. className: "U_MD_D_KO",
  1679. "onmousedown": U.UF.C.closure(function (obj) {
  1680. //防止拖动图标即打开了桌面应用
  1681. U.MD.D.click(this, obj);
  1682. }, [_szscOrganizerDeskIconInfo[i]]),
  1683. "onclick": U.UF.C.closure(function (obj) {
  1684. //防止拖动图标即打开了桌面应用
  1685. U.MD.D.click(this, obj);
  1686. }, [_szscOrganizerDeskIconInfo[i]])
  1687. }, _frag); //
  1688. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1689. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1690. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1691. }
  1692. } else {
  1693. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1694. _content = $$("div", {
  1695. className: "U_MD_D_KO",
  1696. "onmousedown": U.UF.C.closure(function (obj) {
  1697. //防止拖动图标即打开了桌面应用
  1698. U.MD.D.click(this, obj);
  1699. }, [_teacherDesktopIconInfo[i]]),
  1700. "onclick": U.UF.C.closure(function (obj) {
  1701. //防止拖动图标即打开了桌面应用
  1702. U.MD.D.click(this, obj);
  1703. }, [_teacherDesktopIconInfo[i]])
  1704. }, _frag); //
  1705. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1706. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1707. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1708. }
  1709. }
  1710. } else {
  1711. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1712. _content = $$("div", {
  1713. className: "U_MD_D_KO",
  1714. style: { 'width': '124px', 'height': '145px' },
  1715. "onmousedown": U.UF.C.closure(function (obj) {
  1716. //防止拖动图标即打开了桌面应用
  1717. U.MD.D.click(this, obj);
  1718. }, [_easyDesktopIconInfo[i]]),
  1719. "onclick": U.UF.C.closure(function (obj) {
  1720. //防止拖动图标即打开了桌面应用
  1721. U.MD.D.click(this, obj);
  1722. }, [_easyDesktopIconInfo[i]])
  1723. }, _frag); //
  1724. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1725. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1726. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1727. }
  1728. }
  1729. if (type == 1) {
  1730. //加载好后给图标定位
  1731. U.MD.D.iconPostion($(_frag).Child());
  1732. } else {
  1733. //加载好后给图标定位
  1734. U.MD.D.iconPostion2($(_frag).Child());
  1735. }
  1736. //把图标加载到页面
  1737. el.appendChild(_frag);
  1738. }
  1739. /**
  1740. * 显示任务栏
  1741. *
  1742. * @param {element} 桌面元素
  1743. */
  1744. U.MD.D.I.displayTaskbar = function (el) {
  1745. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1746. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1747. //任务栏位置变化
  1748. U.selectEl(el).css({ "bottom": "0px" });
  1749. //桌面位置变话
  1750. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1751. }
  1752. }
  1753. //#region 桌面图标拖动逻辑
  1754. /**
  1755. * 桌面排列图标
  1756. *
  1757. * @param {element} 桌面元素
  1758. * @param {object} 上下相距的距离
  1759. * @param {object} 左右相距的距离
  1760. * @return {object} 命名空间
  1761. */
  1762. U.MD.D.iconPostion = function (childs, top, left) {
  1763. var i; //用于循环处理
  1764. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1765. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1766. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1767. for (i = 0; i < childs.length; i++) {
  1768. //如果竖排top超过了范围处理
  1769. if (top + 95 > US.height - 10) {
  1770. //left超过了页面范围处理,则向上重叠打印处理
  1771. if ((left + 180) > US.width) {
  1772. top -= 110;
  1773. left -= 90;
  1774. }
  1775. //没有超过范围,那么left+90添加到下一个竖排打印
  1776. else {
  1777. left += 90;
  1778. top = 15;
  1779. };
  1780. }
  1781. //给图标的位置赋值
  1782. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1783. if (i < childs.length - 1) {
  1784. //页面图标每次向下加95
  1785. top += 95;
  1786. }
  1787. }
  1788. //返回最后调用的图标的位置
  1789. return [top, left];
  1790. }
  1791. /**
  1792. * 桌面排列图标
  1793. *
  1794. * @param {element} 桌面元素
  1795. * @param {object} 上下相距的距离
  1796. * @param {object} 左右相距的距离
  1797. * @return {object} 命名空间
  1798. */
  1799. U.MD.D.iconPostion2 = function (childs, top, left) {
  1800. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1801. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1802. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1803. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1804. for (i = 0; i < childs.length; i++) {
  1805. //如果竖排top超过了范围处理
  1806. if (left + 150 > US.width - 10) {
  1807. //left超过了页面范围处理,则向上重叠打印处理
  1808. if ((top + 180) > US.Height) {
  1809. top -= 150;
  1810. left -= 150;
  1811. }
  1812. //没有超过范围,那么left+90添加到下一个竖排打印
  1813. else {
  1814. top += 150;
  1815. left = ol;
  1816. };
  1817. }
  1818. //给图标的位置赋值
  1819. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  1820. if (i < childs.length - 1) {
  1821. //页面图标每次向下加95
  1822. left += 150;
  1823. }
  1824. }
  1825. //返回最后调用的图标的位置
  1826. return [top, left];
  1827. }
  1828. /**
  1829. * 桌面点击事件逻辑
  1830. *
  1831. * @param {element} 桌面元素
  1832. * @param {object} 上下相距的距离
  1833. * @param {object} 左右相距的距离
  1834. * @return {object} 命名空间
  1835. */
  1836. U.MD.D.click = function (el, obj) {
  1837. var _buttonnumber = event.button; //点击的按钮的事件值
  1838. var _userinfo = US.userInfo;
  1839. U.UF.EV.stopBubble(); //阻止向上冒泡
  1840. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  1841. if (_buttonnumber < 2) {
  1842. //如果是click事件的处理
  1843. if (event.type == "click") {
  1844. //如果元素在mousemove事件中没有移动则出发click事件
  1845. if (!U.MD.D.I.IsDrag) {
  1846. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  1847. U.alert("请先登录您的账号!");
  1848. setTimeout(() => {
  1849. U.MD.U.L.login();
  1850. }, 2000);
  1851. } else {
  1852. //打开应用处理
  1853. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  1854. }
  1855. }
  1856. }
  1857. //如果是mouse事件的处理
  1858. else {
  1859. if (US.Config.type == '1') {
  1860. //拖动处理,添加拖动和拖动结束事件
  1861. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  1862. }
  1863. }
  1864. U.MD.D.I.IsDrag = false;
  1865. }
  1866. }
  1867. /**
  1868. * 拖动的处理
  1869. *
  1870. */
  1871. U.MD.D.iconMove = function () {
  1872. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  1873. U.MD.D.I.IsDrag = true;
  1874. }
  1875. /**
  1876. * 拖动结束后,这里是定位处理,以网状的形式定位
  1877. *
  1878. * @param {element} 拖动的元素
  1879. * @return {object} 命名空间
  1880. */
  1881. U.MD.D.iconUp = function (el) {
  1882. var _top = 15,
  1883. _left = 20,
  1884. _margin,
  1885. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  1886. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  1887. if (_positioninfo["OT"] > 15) {
  1888. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  1889. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  1890. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  1891. }
  1892. if (_positioninfo["OL"] > 20) {
  1893. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  1894. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  1895. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  1896. }
  1897. //while循环判断么一个重叠的元素
  1898. do {
  1899. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  1900. _top = _positioninfo[0] + 95; //得到定位后的top
  1901. _left = _positioninfo[1]; //得到定位后的left
  1902. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  1903. }
  1904. /**
  1905. * 判断拖动后图标是否重叠
  1906. *
  1907. * @param {element} 拖动的元素
  1908. * @param {element} 桌面所有的元素
  1909. * @param {array} 拖动元素的位置
  1910. ----------[0] 上 top
  1911. ----------[1] 左 left
  1912. * @return {object} 命名空间
  1913. */
  1914. U.MD.D.isOverlap = function (el, childs, postionarray) {
  1915. //循环所有的图标
  1916. for (var i = 0; i < childs.length; i++) {
  1917. //判断有没有和该图标诶子重叠的元素
  1918. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  1919. return childs[i]; //如果有返回
  1920. }
  1921. }
  1922. }
  1923. //#endregion
  1924. //#endregion
  1925. //#region 桌面应用
  1926. /**
  1927. * 打开应用
  1928. *
  1929. * @param {string} 类型
  1930. -----------------Disk 网盘系统
  1931. -----------------PDisk 学习系统网盘
  1932. -----------------Poto 图片
  1933. -----------------Video 视频
  1934. -----------------Music 音乐
  1935. -----------------Word word
  1936. -----------------Excel excel
  1937. -----------------Txt 记事本
  1938. -----------------PB 学习系统
  1939. -----------------Blog 朋友圈系统
  1940. -----------------FTP ftp系统
  1941. -----------------Group 好友群
  1942. -----------------SY 首页系统
  1943. -----------------Set 个人设置
  1944. -----------------XSet 系统设置
  1945. -----------------App 我们所有的app
  1946. -----------------BC c.1473.cn 平台
  1947. -----------------CWeb d.1473.cn 变成平台
  1948. -----------------其他的外联系统 我们统一用iframe打开
  1949. * @param {array} 类型
  1950. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  1951. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  1952. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  1953. 如果第一个参数为其他,则无第二个参数
  1954. * @returns {array}
  1955. */
  1956. window.addEventListener('message', function (e) { // 监听 message 事件
  1957. // alert(e.data.type);
  1958. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  1959. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  1960. //3是展示全部阶段 2学生 1老师 4专家
  1961. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  1962. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  1963. //3是展示全部阶段 2学生 1老师 4专家
  1964. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  1965. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  1966. //3是展示全部阶段 2学生 1老师 4专家
  1967. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  1968. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  1969. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  1970. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  1971. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  1972. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  1973. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  1974. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  1975. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  1976. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  1977. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  1978. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  1979. //3是展示全部阶段 2学生 1老师 4专家
  1980. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  1981. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  1982. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  1983. U.MD.D.I.selectUser();
  1984. } else if (e.data.allScreen && e.data.allScreen == "1") {
  1985. var _formel = document.getElementById("study");
  1986. U.UF.F.windowZooming(_formel);
  1987. } else if (e.data.allScreen && e.data.allScreen == "2") {
  1988. var _formel = document.getElementById("studyDetail");
  1989. U.UF.F.windowZooming(_formel);
  1990. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  1991. var _formel = document.getElementById("studyDetail");
  1992. U.UF.F.windowZooming(_formel);
  1993. } else if (e.data.allScreen && e.data.allScreen == "3") {
  1994. var _formel = document.getElementById("studentStudy");
  1995. U.UF.F.windowZooming(_formel);
  1996. } else if (e.data.allScreen && e.data.allScreen == "6") {
  1997. // var _formel = document.getElementById("study");
  1998. //如果最大化了,那么就把他缩小
  1999. // if (_formel.ismaximize) {
  2000. // return;
  2001. // }
  2002. // U.UF.F.windowZooming(_formel);
  2003. // U.UF.F.topWindow(_formel);
  2004. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2005. // var _formel = document.getElementById("studyDetail");
  2006. //如果最大化了,那么就把他缩小
  2007. // if (_formel.ismaximize) {
  2008. // return;
  2009. // }
  2010. // U.UF.F.windowZooming(_formel);
  2011. // U.UF.F.topWindow(_formel);
  2012. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2013. // var _formel = document.getElementById("studentStudy");
  2014. // if (_formel.ismaximize) {
  2015. // return;
  2016. // }
  2017. // U.UF.F.windowZooming(_formel);
  2018. // U.UF.F.topWindow(_formel);
  2019. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2020. var _formel = document.getElementById("study");
  2021. // if (_formel.ismaximize) {
  2022. // return;
  2023. // }
  2024. // U.UF.F.windowZooming(_formel);
  2025. U.UF.F.topWindow(_formel);
  2026. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2027. var _formel = document.getElementById("studentIndex");
  2028. U.UF.F.windowZooming(_formel);
  2029. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2030. var _formel = document.getElementById("studyDetailS");
  2031. U.UF.F.windowZooming(_formel);
  2032. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2033. var _formel = document.getElementById("studioIndex");
  2034. U.UF.F.windowZooming(_formel);
  2035. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2036. var _formel = document.getElementById("studyDetailStudio");
  2037. U.UF.F.windowZooming(_formel);
  2038. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2039. var _formel = document.getElementById("studyDetailStudio");
  2040. U.UF.F.windowZooming(_formel);
  2041. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2042. var _formel = document.getElementById("studyDetailNT");
  2043. U.UF.F.windowZooming(_formel);
  2044. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2045. var _formel = document.getElementById("studyDetailS");
  2046. U.UF.F.windowZooming(_formel);
  2047. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2048. var _formel = document.getElementById("studyDetailS");
  2049. U.UF.F.topWindow(_formel);
  2050. } else if (e.data.tools && e.data.tools == "1") {
  2051. // U.MD.D.I.openApplication("whiteboard")
  2052. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2053. } else if (e.data.tools && e.data.tools == "2") {
  2054. U.MD.D.I.openApplication("note")
  2055. } else if (e.data.tools && e.data.tools == "3") {
  2056. // U.MD.D.I.openApplication("mind")
  2057. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2058. } else if (e.data.tools && e.data.tools == "4") {
  2059. U.MD.D.I.openApplication("investigation")
  2060. } else if (e.data.tools && e.data.tools == "6") {
  2061. // U.MD.D.I.openApplication("doc")
  2062. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2063. } else if (e.data.tools && e.data.tools == "7") {
  2064. // U.MD.D.I.openApplication("mindNetwork")
  2065. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2066. } else if (e.data.tools && e.data.tools == "8") {
  2067. U.MD.D.I.openApplication("library")
  2068. } else if (e.data.tools && e.data.tools == "17") {
  2069. U.MD.D.I.openApplication("stuLibrary")
  2070. } else if (e.data.tools && e.data.tools == "18") {
  2071. U.MD.D.I.openApplication("train")
  2072. } else if (e.data.tools && e.data.tools == "21") {
  2073. U.MD.D.I.openApplication("program")
  2074. } else if (e.data.tools && e.data.tools == "22") {
  2075. U.MD.D.I.openApplication("AIprogram2")
  2076. } else if (e.data.tools && e.data.tools == "23") {
  2077. U.MD.D.I.openApplication("Pythonprogram")
  2078. } else if (e.data.tools && e.data.tools == "24") {
  2079. U.MD.D.I.openApplication("AIprogram")
  2080. } else if (e.data.tools && e.data.tools == "25") {
  2081. U.MD.D.I.openApplication("sys")
  2082. } else if (e.data.tools && e.data.tools == "26") {
  2083. // U.MD.D.I.openApplication("courseDesign")
  2084. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2085. } else if (e.data.tools && e.data.tools == "31") {
  2086. U.MD.D.I.openApplication("netWorkPanel")
  2087. } else if (e.data.tools && e.data.tools == "32") {
  2088. U.MD.D.I.openApplication("codeEdit")
  2089. } else if (e.data.tools && e.data.tools == "57") {
  2090. U.MD.D.I.openApplication("CocoPi")
  2091. } else if (e.data.tools && e.data.tools == "63") {
  2092. U.MD.D.I.openApplication("Wood")
  2093. } else if (e.data.tools && e.data.tools == "58") {
  2094. U.MD.D.I.openApplication("car")
  2095. } else if (e.data.tools && e.data.tools == "59") {
  2096. U.MD.D.I.openApplication("lineSearch")
  2097. } else if (e.data.tools && e.data.tools == "60") {
  2098. U.MD.D.I.openApplication("deepLearning")
  2099. } else if (e.data.tools && e.data.tools == "61") {
  2100. U.MD.D.I.openApplication("allHistory")
  2101. } else if (e.data.tools && e.data.tools == "28") {
  2102. U.MD.D.I.openApplication("translation")
  2103. } else if (e.data.tools && e.data.tools == "37") {
  2104. U.MD.D.I.openApplication("mohe")
  2105. } else if (e.data.tools && e.data.tools == "38") {
  2106. U.MD.D.I.openApplication("24game")
  2107. } else if (e.data.tools && e.data.tools == "39") {
  2108. U.MD.D.I.openApplication("GeoGebra")
  2109. } else if (e.data.tools && e.data.tools == "43") {
  2110. U.MD.D.I.openApplication("studentEvaluate")
  2111. } else if (e.data.tools && e.data.tools == "44") {
  2112. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2113. } else if (e.data.tools && e.data.tools == "46") {
  2114. U.MD.D.I.openApplication("project")
  2115. } else if (e.data.tools && e.data.tools == "1s") {
  2116. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2117. } else if (e.data.tools && e.data.tools == "3s") {
  2118. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2119. } else if (e.data.tools && e.data.tools == "6s") {
  2120. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2121. } else if (e.data.tools && e.data.tools == "1studio") {
  2122. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2123. } else if (e.data.tools && e.data.tools == "3studio") {
  2124. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2125. } else if (e.data.tools && e.data.tools == "6studio") {
  2126. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2127. } else if (e.data.tools && e.data.tools == "3y") {
  2128. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2129. } else if (e.data.tools && e.data.tools == "1y") {
  2130. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2131. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2132. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2133. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2134. U.MD.D.I.openApplication("AIAnalyse")
  2135. } else if (e.data.tools && e.data.tools == "1teacher") {
  2136. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2137. } else if (e.data.tools && e.data.tools == "3teacher") {
  2138. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2139. } else if (e.data.tools && e.data.tools == "7teacher") {
  2140. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2141. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2142. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2143. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2144. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2145. } else if (e.data.tools && e.data.tools == "1E") {
  2146. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2147. } else if (e.data.tools && e.data.tools == "3E") {
  2148. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2149. } else if (e.data.tools && e.data.tools == "57y") {
  2150. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2151. } else if (e.data.tools && e.data.tools == "57u") {
  2152. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2153. } else if (e.data.tools && e.data.tools == "57teacher") {
  2154. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2155. } else if (e.data.tools && e.data.tools == "64") {
  2156. U.MD.D.I.openApplication("AIChat")
  2157. }
  2158. });
  2159. U.MD.D.I.selectUser = function () {
  2160. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2161. if (res.value[0].length > 0) {
  2162. US.userInfo = res.value[0][0];
  2163. $(".userName")[0].innerHTML = US.userInfo.username;
  2164. }
  2165. }, [], { "type": "GET", "withCredentials": true });
  2166. }
  2167. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2168. var _userinfo = US.userInfo, //登录用户信息
  2169. _userid = US.userInfo.userid, //登录用户id
  2170. _oid = _userinfo.organizeid,
  2171. _type = US.userInfo.type,
  2172. _org = US.userInfo.org,
  2173. _role = US.userInfo.role,
  2174. _classId = US.userInfo.classid;
  2175. if (_type == 4) {
  2176. tType = 4
  2177. }
  2178. switch (str) {
  2179. case "studyDetailNT"://无终端模式
  2180. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2181. setTimeout(() => {
  2182. U.MD.U.L.login();
  2183. }, 2000);
  2184. } else {
  2185. _formdiv = new U.UF.UI.form(
  2186. "课程详情",
  2187. $$("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 }), {
  2188. "id": "studyDetailNT",
  2189. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2190. "onresize": function () { }
  2191. }, {
  2192. closecallback: function () { }
  2193. }, { "style": { "height": "36px" } }).form; //创建窗体
  2194. _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); } }
  2195. break;
  2196. }
  2197. case "studyDetail":
  2198. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2199. setTimeout(() => {
  2200. U.MD.U.L.login();
  2201. }, 2000);
  2202. } else {
  2203. _formdiv = new U.UF.UI.form(
  2204. "课程详情",
  2205. $$("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 }), {
  2206. "id": "studyDetail",
  2207. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2208. "onresize": function () { }
  2209. }, {
  2210. closecallback: function () { }
  2211. }, { "style": { "height": "36px" } }).form; //创建窗体
  2212. _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); } }
  2213. break;
  2214. }
  2215. case "studyDetailS":
  2216. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2217. setTimeout(() => {
  2218. U.MD.U.L.login();
  2219. }, 2000);
  2220. } else {
  2221. _formdiv = new U.UF.UI.form(
  2222. "项目详情",
  2223. $$("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 }), {
  2224. "id": "studyDetailS",
  2225. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2226. "onresize": function () { }
  2227. }, {
  2228. closecallback: function () { }
  2229. }, { "style": { "height": "36px" } }).form; //创建窗体
  2230. _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); } }
  2231. break;
  2232. }
  2233. case "studyDetailStudio":
  2234. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2235. setTimeout(() => {
  2236. U.MD.U.L.login();
  2237. }, 2000);
  2238. } else {
  2239. _formdiv = new U.UF.UI.form(
  2240. "工作详情",
  2241. $$("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 }), {
  2242. "id": "studyDetailStudio",
  2243. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2244. "onresize": function () { }
  2245. }, {
  2246. closecallback: function () { }
  2247. }, { "style": { "height": "36px" } }).form; //创建窗体
  2248. _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); } }
  2249. break;
  2250. }
  2251. case "studyDetailS5":
  2252. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2253. setTimeout(() => {
  2254. U.MD.U.L.login();
  2255. }, 2000);
  2256. } else {
  2257. _formdiv = new U.UF.UI.form(
  2258. "项目详情",
  2259. $$("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 }), {
  2260. "id": "studyDetailS",
  2261. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2262. "onresize": function () { }
  2263. }, {
  2264. closecallback: function () { }
  2265. }, { "style": { "height": "36px" } }).form; //创建窗体
  2266. _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); } }
  2267. break;
  2268. }
  2269. case "studyDetailGM":
  2270. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2271. setTimeout(() => {
  2272. U.MD.U.L.login();
  2273. }, 2000);
  2274. } else {
  2275. _formdiv = new U.UF.UI.form(
  2276. "课程详情",
  2277. $$("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 }), {
  2278. "id": "studyDetail",
  2279. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2280. "onresize": function () { }
  2281. }, {
  2282. closecallback: function () { }
  2283. }, { "style": { "height": "36px" } }).form; //创建窗体
  2284. _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); } }
  2285. break;
  2286. }
  2287. case "hanUrl":
  2288. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2289. setTimeout(() => {
  2290. U.MD.U.L.login();
  2291. }, 2000);
  2292. } else {
  2293. _formdiv = new U.UF.UI.form(
  2294. "汉字宫",
  2295. $$("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" }), {
  2296. "id": "hanUrl",
  2297. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2298. "onresize": function () { }
  2299. }, {
  2300. closecallback: function () { }
  2301. }, { "style": { "height": "36px" } }).form; //创建窗体
  2302. _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); } }
  2303. break;
  2304. }
  2305. }
  2306. }
  2307. U.MD.D.I.openApplication = function (str, obj, info) {
  2308. obj = obj || {};
  2309. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2310. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2311. _userinfo = US.userInfo, //登录用户信息
  2312. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2313. _oid = obj.organizeid || _userinfo.organizeid,
  2314. _type = US.userInfo.type,
  2315. _org = US.userInfo.org,
  2316. _role = US.userInfo.role,
  2317. _classId = US.userInfo.classid,
  2318. _TscreenType = 1
  2319. _screenType = 2,
  2320. _SscreenType = 3;
  2321. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2322. return;
  2323. }
  2324. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2325. switch (str) {
  2326. case "studnetProject": //好友打开
  2327. _formdiv = new U.UF.UI.form(
  2328. "我的项目",
  2329. $$("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 }), {
  2330. "id": "studnetProject",
  2331. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2332. "onresize": function () { }
  2333. }, {
  2334. closecallback: function () { }
  2335. }, { "style": { "height": "36px" } }).form; //创建窗体
  2336. _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); } }
  2337. break;
  2338. case "studentEvaluate": //好友打开
  2339. _formdiv = new U.UF.UI.form(
  2340. "我的评价",
  2341. $$("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 }), {
  2342. "id": "studentEvaluate",
  2343. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2344. "onresize": function () { }
  2345. }, {
  2346. closecallback: function () { }
  2347. }, { "style": { "height": "36px" } }).form; //创建窗体
  2348. _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); } }
  2349. break;
  2350. case "my":
  2351. _formdiv = new U.UF.UI.form(
  2352. "我的资料",
  2353. $$("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 }), {
  2354. "id": "my",
  2355. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2356. "onresize": function () { }
  2357. }, {
  2358. closecallback: function () { }
  2359. }, { "style": { "height": "36px" } }).form; //创建窗体
  2360. _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); } }
  2361. break;
  2362. case "program":
  2363. _formdiv = new U.UF.UI.form(
  2364. "编程平台",
  2365. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2366. "id": "program",
  2367. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2368. "onresize": function () { }
  2369. }, {
  2370. closecallback: function () { }
  2371. }, { "style": { "height": "36px" } }).form; //创建窗体
  2372. _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); } }
  2373. break;
  2374. case "library":
  2375. _formdiv = new U.UF.UI.form(
  2376. "素材库",
  2377. $$("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 }), {
  2378. "id": "library",
  2379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2380. "onresize": function () { }
  2381. }, {
  2382. closecallback: function () { }
  2383. }, { "style": { "height": "36px" } }).form; //创建窗体
  2384. _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); } }
  2385. break;
  2386. case "whiteboard":
  2387. _formdiv = new U.UF.UI.form(
  2388. "电子白板",
  2389. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2390. "id": "whiteboard",
  2391. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2392. "onresize": function () { }
  2393. }, {
  2394. closecallback: function () { }
  2395. }, { "style": { "height": "36px" } }).form; //创建窗体
  2396. _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); } }
  2397. break;
  2398. case "investigation":
  2399. _formdiv = new U.UF.UI.form(
  2400. "问卷调查",
  2401. $$("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 }), {
  2402. "id": "investigation",
  2403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2404. "onresize": function () { }
  2405. }, {
  2406. closecallback: function () { }
  2407. }, { "style": { "height": "36px" } }).form; //创建窗体
  2408. _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); } }
  2409. break;
  2410. case "note":
  2411. _formdiv = new U.UF.UI.form(
  2412. "便签分类",
  2413. $$("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 }), {
  2414. "id": "note",
  2415. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2416. "onresize": function () { }
  2417. }, {
  2418. closecallback: function () { }
  2419. }, { "style": { "height": "36px" } }).form; //创建窗体
  2420. _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); } }
  2421. break;
  2422. // case "score":
  2423. // _formdiv = new U.UF.UI.form(
  2424. // "量规评分",
  2425. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2426. // "id": "score",
  2427. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2428. // "onresize": function() {}
  2429. // }, {
  2430. // closecallback: function() {}
  2431. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2432. // _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); } }
  2433. // break;
  2434. case "mind":
  2435. _formdiv = new U.UF.UI.form(
  2436. "思维导图",
  2437. $$("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"
  2438. "id": "mind",
  2439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2440. "onresize": function () { }
  2441. }, {
  2442. closecallback: function () { }
  2443. }, { "style": { "height": "36px" } }).form; //创建窗体
  2444. _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); } }
  2445. break;
  2446. case "doc":
  2447. // U.MD.D.I.isRoom();
  2448. _formdiv = new U.UF.UI.form(
  2449. "协同文档",
  2450. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2451. "id": "doc",
  2452. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2453. "onresize": function () { }
  2454. }, {
  2455. closecallback: function () { }
  2456. }, { "style": { "height": "36px" } }).form; //创建窗体
  2457. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2458. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2459. // })
  2460. _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); } }
  2461. break;
  2462. case "studentStudy":
  2463. _formdiv = new U.UF.UI.form(
  2464. "课程中心",
  2465. $$("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
  2466. "id": "studentStudy",
  2467. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2468. "onresize": function () { }
  2469. }, {
  2470. closecallback: function () { }
  2471. }, { "style": { "height": "36px" } }).form; //创建窗体
  2472. _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); } }
  2473. break;
  2474. case "train": //好友打开
  2475. _formdiv = new U.UF.UI.form(
  2476. "训练平台",
  2477. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2478. "id": "train",
  2479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2480. "onresize": function () { }
  2481. }, {
  2482. closecallback: function () { }
  2483. }, { "style": { "height": "36px" } }).form; //创建窗体
  2484. _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); } }
  2485. break;
  2486. case "mindNetwork": //好友打开
  2487. _formdiv = new U.UF.UI.form(
  2488. "思维网格",
  2489. $$("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 }), {
  2490. "id": "mindNetwork",
  2491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2492. "onresize": function () { }
  2493. }, {
  2494. closecallback: function () { }
  2495. }, { "style": { "height": "36px" } }).form; //创建窗体
  2496. _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); } }
  2497. break;
  2498. case "studentClassRoom": //好友打开
  2499. _formdiv = new U.UF.UI.form(
  2500. "实时课堂",
  2501. $$("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 }), {
  2502. "id": "studentClassRoom",
  2503. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2504. "onresize": function () { }
  2505. }, {
  2506. closecallback: function () { }
  2507. }, { "style": { "height": "36px" } }).form; //创建窗体
  2508. _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); } }
  2509. setTimeout(() => {
  2510. U.UF.F.windowZooming(_formdiv)
  2511. }, 0);
  2512. break;
  2513. }
  2514. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2515. switch (str) {
  2516. case "studnetProject": //好友打开
  2517. _formdiv = new U.UF.UI.form(
  2518. "我的项目",
  2519. $$("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 }), {
  2520. "id": "studnetProject",
  2521. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2522. "onresize": function () { }
  2523. }, {
  2524. closecallback: function () { }
  2525. }, { "style": { "height": "36px" } }).form; //创建窗体
  2526. _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); } }
  2527. break;
  2528. case "studentEvaluate": //好友打开
  2529. _formdiv = new U.UF.UI.form(
  2530. "我的评价",
  2531. $$("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 }), {
  2532. "id": "studentEvaluate",
  2533. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2534. "onresize": function () { }
  2535. }, {
  2536. closecallback: function () { }
  2537. }, { "style": { "height": "36px" } }).form; //创建窗体
  2538. _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); } }
  2539. break;
  2540. case "my":
  2541. _formdiv = new U.UF.UI.form(
  2542. "我的资料",
  2543. $$("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 }), {
  2544. "id": "my",
  2545. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2546. "onresize": function () { }
  2547. }, {
  2548. closecallback: function () { }
  2549. }, { "style": { "height": "36px" } }).form; //创建窗体
  2550. _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); } }
  2551. break;
  2552. case "program":
  2553. _formdiv = new U.UF.UI.form(
  2554. "编程平台",
  2555. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2556. "id": "program",
  2557. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2558. "onresize": function () { }
  2559. }, {
  2560. closecallback: function () { }
  2561. }, { "style": { "height": "36px" } }).form; //创建窗体
  2562. _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); } }
  2563. break;
  2564. case "library":
  2565. _formdiv = new U.UF.UI.form(
  2566. "素材库",
  2567. $$("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 }), {
  2568. "id": "library",
  2569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2570. "onresize": function () { }
  2571. }, {
  2572. closecallback: function () { }
  2573. }, { "style": { "height": "36px" } }).form; //创建窗体
  2574. _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); } }
  2575. break;
  2576. case "whiteboard":
  2577. _formdiv = new U.UF.UI.form(
  2578. "电子白板",
  2579. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2580. "id": "whiteboard",
  2581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2582. "onresize": function () { }
  2583. }, {
  2584. closecallback: function () { }
  2585. }, { "style": { "height": "36px" } }).form; //创建窗体
  2586. _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); } }
  2587. break;
  2588. case "investigation":
  2589. _formdiv = new U.UF.UI.form(
  2590. "问卷调查",
  2591. $$("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 }), {
  2592. "id": "investigation",
  2593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2594. "onresize": function () { }
  2595. }, {
  2596. closecallback: function () { }
  2597. }, { "style": { "height": "36px" } }).form; //创建窗体
  2598. _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); } }
  2599. break;
  2600. case "note":
  2601. _formdiv = new U.UF.UI.form(
  2602. "便签分类",
  2603. $$("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 }), {
  2604. "id": "note",
  2605. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2606. "onresize": function () { }
  2607. }, {
  2608. closecallback: function () { }
  2609. }, { "style": { "height": "36px" } }).form; //创建窗体
  2610. _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); } }
  2611. break;
  2612. // case "score":
  2613. // _formdiv = new U.UF.UI.form(
  2614. // "量规评分",
  2615. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2616. // "id": "score",
  2617. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2618. // "onresize": function() {}
  2619. // }, {
  2620. // closecallback: function() {}
  2621. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2622. // _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); } }
  2623. // break;
  2624. case "mind":
  2625. _formdiv = new U.UF.UI.form(
  2626. "思维导图",
  2627. $$("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"
  2628. "id": "mind",
  2629. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2630. "onresize": function () { }
  2631. }, {
  2632. closecallback: function () { }
  2633. }, { "style": { "height": "36px" } }).form; //创建窗体
  2634. _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); } }
  2635. break;
  2636. case "doc":
  2637. // U.MD.D.I.isRoom();
  2638. _formdiv = new U.UF.UI.form(
  2639. "协同文档",
  2640. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2641. "id": "doc",
  2642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2643. "onresize": function () { }
  2644. }, {
  2645. closecallback: function () { }
  2646. }, { "style": { "height": "36px" } }).form; //创建窗体
  2647. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2648. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2649. })
  2650. _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); } }
  2651. break;
  2652. case "train": //好友打开
  2653. _formdiv = new U.UF.UI.form(
  2654. "训练平台",
  2655. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2656. "id": "train",
  2657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2658. "onresize": function () { }
  2659. }, {
  2660. closecallback: function () { }
  2661. }, { "style": { "height": "36px" } }).form; //创建窗体
  2662. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2663. break;
  2664. case "studentStudy":
  2665. _formdiv = new U.UF.UI.form(
  2666. "课程中心",
  2667. $$("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
  2668. "id": "studentStudy",
  2669. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2670. "onresize": function () { }
  2671. }, {
  2672. closecallback: function () { }
  2673. }, { "style": { "height": "36px" } }).form; //创建窗体
  2674. _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); } }
  2675. break;
  2676. case "mindNetwork": //好友打开
  2677. _formdiv = new U.UF.UI.form(
  2678. "思维网格",
  2679. $$("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 }), {
  2680. "id": "mindNetwork",
  2681. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2682. "onresize": function () { }
  2683. }, {
  2684. closecallback: function () { }
  2685. }, { "style": { "height": "36px" } }).form; //创建窗体
  2686. _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); } }
  2687. break;
  2688. case "studentClassRoom": //好友打开
  2689. _formdiv = new U.UF.UI.form(
  2690. "实时课堂",
  2691. $$("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 }), {
  2692. "id": "studentClassRoom",
  2693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2694. "onresize": function () { }
  2695. }, {
  2696. closecallback: function () { }
  2697. }, { "style": { "height": "36px" } }).form; //创建窗体
  2698. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2699. setTimeout(() => {
  2700. U.UF.F.windowZooming(_formdiv)
  2701. }, 0);
  2702. break;
  2703. }
  2704. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2705. //选择应用处理
  2706. switch (str) {
  2707. case "project": //好友打开
  2708. _formdiv = new U.UF.UI.form(
  2709. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目':"课程管理",
  2710. $$("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 }), {
  2711. "id": "project",
  2712. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2713. "onresize": function () { }
  2714. }, {
  2715. closecallback: function () { }
  2716. }, { "style": { "height": "36px" } }).form; //创建窗体
  2717. _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); } }
  2718. break;
  2719. case "student":
  2720. _formdiv = new U.UF.UI.form(
  2721. "学生管理",
  2722. $$("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 }), {
  2723. "id": "student",
  2724. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2725. "onresize": function () { }
  2726. }, {
  2727. closecallback: function () { }
  2728. }, { "style": { "height": "36px" } }).form; //创建窗体
  2729. _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); } }
  2730. break;
  2731. case "evaluate":
  2732. _formdiv = new U.UF.UI.form(
  2733. "学生评价",
  2734. $$("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 }), {
  2735. "id": "evaluate",
  2736. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2737. "onresize": function () { }
  2738. }, {
  2739. closecallback: function () { }
  2740. }, { "style": { "height": "36px" } }).form; //创建窗体
  2741. _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); } }
  2742. break;
  2743. case "sys":
  2744. _formdiv = new U.UF.UI.form(
  2745. "目标管理",
  2746. $$("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 }), {
  2747. "id": "sys",
  2748. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2749. "onresize": function () { }
  2750. }, {
  2751. closecallback: function () { }
  2752. }, { "style": { "height": "36px" } }).form; //创建窗体
  2753. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2754. break;
  2755. case "courseDesign":
  2756. _formdiv = new U.UF.UI.form(
  2757. "项目设计",
  2758. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2759. "id": "courseDesign",
  2760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2761. "onresize": function () { }
  2762. }, {
  2763. closecallback: function () { }
  2764. }, { "style": { "height": "36px" } }).form; //创建窗体
  2765. _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); } }
  2766. break;
  2767. case "program":
  2768. _formdiv = new U.UF.UI.form(
  2769. "编程平台",
  2770. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2771. "id": "program",
  2772. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2773. "onresize": function () { }
  2774. }, {
  2775. closecallback: function () { }
  2776. }, { "style": { "height": "36px" } }).form; //创建窗体
  2777. _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); } }
  2778. break;
  2779. case "class":
  2780. _formdiv = new U.UF.UI.form(
  2781. "班级管理",
  2782. $$("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 }), {
  2783. "id": "class",
  2784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2785. "onresize": function () { }
  2786. }, {
  2787. closecallback: function () { }
  2788. }, { "style": { "height": "36px" } }).form; //创建窗体
  2789. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2790. break;
  2791. case "Grade":
  2792. _formdiv = new U.UF.UI.form(
  2793. "年级管理",
  2794. $$("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 }), {
  2795. "id": "Grade",
  2796. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2797. "onresize": function () { }
  2798. }, {
  2799. closecallback: function () { }
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _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); } }
  2802. break;
  2803. case "teacherOffice":
  2804. _formdiv = new U.UF.UI.form(
  2805. "教研室",
  2806. $$("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 }), {
  2807. "id": "teacherOffice",
  2808. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2809. "onresize": function () { }
  2810. }, {
  2811. closecallback: function () { }
  2812. }, { "style": { "height": "36px" } }).form; //创建窗体
  2813. _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); } }
  2814. break;
  2815. case "my":
  2816. _formdiv = new U.UF.UI.form(
  2817. "我的资料",
  2818. $$("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 }), {
  2819. "id": "my",
  2820. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2821. "onresize": function () { }
  2822. }, {
  2823. closecallback: function () { }
  2824. }, { "style": { "height": "36px" } }).form; //创建窗体
  2825. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2826. break;
  2827. case "notice":
  2828. _formdiv = new U.UF.UI.form(
  2829. "通知公告",
  2830. $$("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 }), {
  2831. "id": "notice",
  2832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2833. "onresize": function () { }
  2834. }, {
  2835. closecallback: function () { }
  2836. }, { "style": { "height": "36px" } }).form; //创建窗体
  2837. _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); } }
  2838. break;
  2839. case "library":
  2840. _formdiv = new U.UF.UI.form(
  2841. "素材库",
  2842. $$("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 }), {
  2843. "id": "library",
  2844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2845. "onresize": function () { }
  2846. }, {
  2847. closecallback: function () { }
  2848. }, { "style": { "height": "36px" } }).form; //创建窗体
  2849. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2850. break;
  2851. case "whiteboard":
  2852. _formdiv = new U.UF.UI.form(
  2853. "电子白板",
  2854. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2855. "id": "whiteboard",
  2856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2857. "onresize": function () { }
  2858. }, {
  2859. closecallback: function () { }
  2860. }, { "style": { "height": "36px" } }).form; //创建窗体
  2861. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2862. break;
  2863. case "investigation":
  2864. _formdiv = new U.UF.UI.form(
  2865. "问卷调查",
  2866. $$("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 }), {
  2867. "id": "investigation",
  2868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2869. "onresize": function () { }
  2870. }, {
  2871. closecallback: function () { }
  2872. }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2874. break;
  2875. case "note":
  2876. _formdiv = new U.UF.UI.form(
  2877. "便签分类",
  2878. $$("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 }), {
  2879. "id": "note",
  2880. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2881. "onresize": function () { }
  2882. }, {
  2883. closecallback: function () { }
  2884. }, { "style": { "height": "36px" } }).form; //创建窗体
  2885. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2886. break;
  2887. // case "score":
  2888. // _formdiv = new U.UF.UI.form(
  2889. // "量规评分",
  2890. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2891. // "id": "score",
  2892. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2893. // "onresize": function() {}
  2894. // }, {
  2895. // closecallback: function() {}
  2896. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2897. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2898. // break;
  2899. case "mind":
  2900. _formdiv = new U.UF.UI.form(
  2901. "思维导图",
  2902. $$("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"
  2903. "id": "mind",
  2904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2905. "onresize": function () { }
  2906. }, {
  2907. closecallback: function () { }
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _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); } }
  2910. break;
  2911. case "doc":
  2912. // U.MD.D.I.isRoom();
  2913. _formdiv = new U.UF.UI.form(
  2914. "协同文档",
  2915. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2916. "id": "doc",
  2917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2918. "onresize": function () { }
  2919. }, {
  2920. closecallback: function () { }
  2921. }, { "style": { "height": "36px" } }).form; //创建窗体
  2922. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2923. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2924. })
  2925. _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); } }
  2926. break;
  2927. case "study":
  2928. _formdiv = new U.UF.UI.form(
  2929. "课程中心",
  2930. $$("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
  2931. "id": "study",
  2932. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2933. "onresize": function () { }
  2934. }, {
  2935. closecallback: function () { }
  2936. }, { "style": { "height": "36px" } }).form; //创建窗体
  2937. _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); } }
  2938. break;
  2939. case "mindNetwork": //好友打开
  2940. _formdiv = new U.UF.UI.form(
  2941. "思维网格",
  2942. $$("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 }), {
  2943. "id": "mindNetwork",
  2944. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2945. "onresize": function () { }
  2946. }, {
  2947. closecallback: function () { }
  2948. }, { "style": { "height": "36px" } }).form; //创建窗体
  2949. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2950. break;
  2951. case "train": //好友打开
  2952. _formdiv = new U.UF.UI.form(
  2953. "训练平台",
  2954. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2955. "id": "mindNetwork",
  2956. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2957. "onresize": function () { }
  2958. }, {
  2959. closecallback: function () { }
  2960. }, { "style": { "height": "36px" } }).form; //创建窗体
  2961. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2962. break;
  2963. case "teacherClassRoom": //好友打开
  2964. _formdiv = new U.UF.UI.form(
  2965. "实时课堂",
  2966. $$("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 }), {
  2967. "id": "teacherClassRoom",
  2968. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2969. "onresize": function () { }
  2970. }, {
  2971. closecallback: function () { }
  2972. }, { "style": { "height": "36px" } }).form; //创建窗体
  2973. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2974. setTimeout(() => {
  2975. U.UF.F.windowZooming(_formdiv)
  2976. }, 0);
  2977. break;
  2978. }
  2979. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2980. switch (str) {
  2981. case "project": //好友打开
  2982. _formdiv = new U.UF.UI.form(
  2983. "课程管理",
  2984. $$("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 }), {
  2985. "id": "project",
  2986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function () { }
  2988. }, {
  2989. closecallback: function () { }
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _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); } }
  2992. break;
  2993. case "evaluate":
  2994. _formdiv = new U.UF.UI.form(
  2995. "学生评价",
  2996. $$("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 }), {
  2997. "id": "evaluate",
  2998. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2999. "onresize": function () { }
  3000. }, {
  3001. closecallback: function () { }
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _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); } }
  3004. break;
  3005. case "notice":
  3006. _formdiv = new U.UF.UI.form(
  3007. "通知公告",
  3008. $$("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 }), {
  3009. "id": "notice",
  3010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _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); } }
  3016. break;
  3017. case "stuLibrary":
  3018. _formdiv = new U.UF.UI.form(
  3019. "学习资料",
  3020. $$("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 }), {
  3021. "id": "stuLibrary",
  3022. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3023. "onresize": function () { }
  3024. }, {
  3025. closecallback: function () { }
  3026. }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. _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); } }
  3028. break;
  3029. case "program":
  3030. _formdiv = new U.UF.UI.form(
  3031. "编程平台",
  3032. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3033. "id": "program",
  3034. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { }
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _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); } }
  3040. break;
  3041. case "whiteboard":
  3042. _formdiv = new U.UF.UI.form(
  3043. "电子白板",
  3044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3045. "id": "whiteboard",
  3046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3047. "onresize": function () { }
  3048. }, {
  3049. closecallback: function () { }
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _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); } }
  3052. break;
  3053. case "investigation":
  3054. _formdiv = new U.UF.UI.form(
  3055. "问卷调查",
  3056. $$("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 }), {
  3057. "id": "investigation",
  3058. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function () { }
  3060. }, {
  3061. closecallback: function () { }
  3062. }, { "style": { "height": "36px" } }).form; //创建窗体
  3063. _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); } }
  3064. break;
  3065. case "mind":
  3066. _formdiv = new U.UF.UI.form(
  3067. "思维导图",
  3068. $$("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"
  3069. "id": "mind",
  3070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //创建窗体
  3075. _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); } }
  3076. break;
  3077. case "doc":
  3078. // U.MD.D.I.isRoom();
  3079. _formdiv = new U.UF.UI.form(
  3080. "协同文档",
  3081. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3082. "id": "doc",
  3083. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3084. "onresize": function () { }
  3085. }, {
  3086. closecallback: function () { }
  3087. }, { "style": { "height": "36px" } }).form; //创建窗体
  3088. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3089. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3090. })
  3091. _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); } }
  3092. break;
  3093. case "study":
  3094. _formdiv = new U.UF.UI.form(
  3095. "课程中心",
  3096. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3097. "id": "study",
  3098. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3104. break;
  3105. case "mindNetwork": //好友打开
  3106. _formdiv = new U.UF.UI.form(
  3107. "思维网格",
  3108. $$("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 }), {
  3109. "id": "mindNetwork",
  3110. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3111. "onresize": function () { }
  3112. }, {
  3113. closecallback: function () { }
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _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); } }
  3116. break;
  3117. case "train": //好友打开
  3118. _formdiv = new U.UF.UI.form(
  3119. "训练平台",
  3120. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3121. "id": "train",
  3122. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3123. "onresize": function () { }
  3124. }, {
  3125. closecallback: function () { }
  3126. }, { "style": { "height": "36px" } }).form; //创建窗体
  3127. _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); } }
  3128. break;
  3129. case "sys":
  3130. _formdiv = new U.UF.UI.form(
  3131. "目标管理",
  3132. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3133. "id": "sys",
  3134. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3135. "onresize": function () { }
  3136. }, {
  3137. closecallback: function () { }
  3138. }, { "style": { "height": "36px" } }).form; //创建窗体
  3139. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3140. break;
  3141. case "courseDesign":
  3142. _formdiv = new U.UF.UI.form(
  3143. "项目设计",
  3144. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3145. "id": "courseDesign",
  3146. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3147. "onresize": function () { }
  3148. }, {
  3149. closecallback: function () { }
  3150. }, { "style": { "height": "36px" } }).form; //创建窗体
  3151. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3152. break;
  3153. }
  3154. } else if (!_type) {
  3155. switch (str) {
  3156. case "my":
  3157. _formdiv = new U.UF.UI.form(
  3158. "我的资料",
  3159. $$("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 }), {
  3160. "id": "my",
  3161. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3162. "onresize": function () { }
  3163. }, {
  3164. closecallback: function () { }
  3165. }, { "style": { "height": "36px" } }).form; //创建窗体
  3166. _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); } }
  3167. break;
  3168. }
  3169. }
  3170. switch (str) {
  3171. // AIprogram2 AI体验 aihub.cocorobo.cn
  3172. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3173. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3174. case "AIprogram2": //AI体验
  3175. _formdiv = new U.UF.UI.form(
  3176. "AI体验",
  3177. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3178. "id": "AIprogram2",
  3179. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function () { }
  3181. }, {
  3182. closecallback: function () { }
  3183. }, { "style": { "height": "36px" } }).form; //创建窗体
  3184. _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); } }
  3185. break;
  3186. case "Pythonprogram": //python编程
  3187. _formdiv = new U.UF.UI.form(
  3188. "Python编程",
  3189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3190. "id": "Pythonprogram",
  3191. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3192. "onresize": function () { }
  3193. }, {
  3194. closecallback: function () { }
  3195. }, { "style": { "height": "36px" } }).form; //创建窗体
  3196. _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); } }
  3197. break;
  3198. case "AIprogram": //ai编程
  3199. _formdiv = new U.UF.UI.form(
  3200. "AI编程平台",
  3201. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3202. "id": "AIprogram",
  3203. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3204. "onresize": function () { }
  3205. }, {
  3206. closecallback: function () { }
  3207. }, { "style": { "height": "36px" } }).form; //创建窗体
  3208. _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); } }
  3209. break;
  3210. case "CocoPi": //CocoPi
  3211. _formdiv = new U.UF.UI.form(
  3212. "CocoPi",
  3213. $$("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" }), {
  3214. "id": "CocoPi",
  3215. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function () { }
  3217. }, {
  3218. closecallback: function () { }
  3219. }, { "style": { "height": "36px" } }).form; //创建窗体
  3220. _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); } }
  3221. break;
  3222. case "Wood": //Wood
  3223. _formdiv = new U.UF.UI.form(
  3224. "海龟编程",
  3225. $$("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/" }), {
  3226. "id": "Wood",
  3227. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3228. "onresize": function () { }
  3229. }, {
  3230. closecallback: function () { }
  3231. }, { "style": { "height": "36px" } }).form; //创建窗体
  3232. _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); } }
  3233. break;
  3234. case "car": //模拟驾驶
  3235. _formdiv = new U.UF.UI.form(
  3236. "模拟驾驶",
  3237. $$("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/" }), {
  3238. "id": "car",
  3239. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3240. "onresize": function () { }
  3241. }, {
  3242. closecallback: function () { }
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _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); } }
  3245. break;
  3246. case "lineSearch": //路径搜索
  3247. _formdiv = new U.UF.UI.form(
  3248. "路径搜索",
  3249. $$("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/" }), {
  3250. "id": "lineSearch",
  3251. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3252. "onresize": function () { }
  3253. }, {
  3254. closecallback: function () { }
  3255. }, { "style": { "height": "36px" } }).form; //创建窗体
  3256. _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); } }
  3257. break;
  3258. case "deepLearning": //深度学习
  3259. _formdiv = new U.UF.UI.form(
  3260. "深度学习",
  3261. $$("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/#" }), {
  3262. "id": "deepLearning",
  3263. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3264. "onresize": function () { }
  3265. }, {
  3266. closecallback: function () { }
  3267. }, { "style": { "height": "36px" } }).form; //创建窗体
  3268. _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); } }
  3269. break;
  3270. case "allHistory": //深度学习
  3271. _formdiv = new U.UF.UI.form(
  3272. "全历史",
  3273. $$("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/" }), {
  3274. "id": "allHistory",
  3275. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3276. "onresize": function () { }
  3277. }, {
  3278. closecallback: function () { }
  3279. }, { "style": { "height": "36px" } }).form; //创建窗体
  3280. _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); } }
  3281. break;
  3282. case "chatPDF": //ai编程
  3283. _formdiv = new U.UF.UI.form(
  3284. "chatPDF",
  3285. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3286. "id": "chatPDF",
  3287. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3288. "onresize": function () { }
  3289. }, {
  3290. closecallback: function () { }
  3291. }, { "style": { "height": "36px" } }).form; //创建窗体
  3292. _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); } }
  3293. break;
  3294. case "resources": //国家教育
  3295. _formdiv = new U.UF.UI.form(
  3296. "国家教育",
  3297. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3298. "id": "resources",
  3299. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3300. "onresize": function () { }
  3301. }, {
  3302. closecallback: function () { }
  3303. }, { "style": { "height": "36px" } }).form; //创建窗体
  3304. _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); } }
  3305. break;
  3306. case "codeEdit": //源码编辑
  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": "https://kitten.codemao.cn/" }), {
  3310. "id": "codeEdit",
  3311. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3312. "onresize": function () { }
  3313. }, {
  3314. closecallback: function () { }
  3315. }, { "style": { "height": "36px" } }).form; //创建窗体
  3316. _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); } }
  3317. break; //
  3318. case "MindMap": //MindMap
  3319. _formdiv = new U.UF.UI.form(
  3320. "MindMap",
  3321. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3322. "id": "MindMap",
  3323. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3324. "onresize": function () { }
  3325. }, {
  3326. closecallback: function () { }
  3327. }, { "style": { "height": "36px" } }).form; //创建窗体
  3328. _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); } }
  3329. break;
  3330. case "netWorkPanel": //netWorkPanel
  3331. _formdiv = new U.UF.UI.form(
  3332. "netWorkPanel",
  3333. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3334. "id": "netWorkPanel",
  3335. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3336. "onresize": function () { }
  3337. }, {
  3338. closecallback: function () { }
  3339. }, { "style": { "height": "36px" } }).form; //创建窗体
  3340. _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); } }
  3341. break;
  3342. case "GeoGebra": //GeoGebra
  3343. _formdiv = new U.UF.UI.form(
  3344. "GeoGebra",
  3345. $$("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" }), {
  3346. "id": "GeoGebra",
  3347. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function () { }
  3349. }, {
  3350. closecallback: function () { }
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. _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); } }
  3353. break;
  3354. case "translation": //翻译
  3355. _formdiv = new U.UF.UI.form(
  3356. "翻译",
  3357. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3358. "id": "translation",
  3359. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3360. "onresize": function () { }
  3361. }, {
  3362. closecallback: function () { }
  3363. }, { "style": { "height": "36px" } }).form; //创建窗体
  3364. _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); } }
  3365. break;
  3366. case "mohe": //魔盒
  3367. _formdiv = new U.UF.UI.form(
  3368. "魔盒识字",
  3369. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3370. "id": "mohe",
  3371. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3372. "onresize": function () { }
  3373. }, {
  3374. closecallback: function () { }
  3375. }, { "style": { "height": "36px" } }).form; //创建窗体
  3376. _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); } }
  3377. break;
  3378. case "24game": //24点
  3379. _formdiv = new U.UF.UI.form(
  3380. "24点",
  3381. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3382. "id": "24game",
  3383. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3384. "onresize": function () { }
  3385. }, {
  3386. closecallback: function () { }
  3387. }, { "style": { "height": "36px" } }).form; //创建窗体
  3388. _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); } }
  3389. break;
  3390. case "case":
  3391. _formdiv = new U.UF.UI.form(
  3392. "课程进展",
  3393. $$("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 }), {
  3394. "id": "case",
  3395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _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); } }
  3401. break;
  3402. case "snf":
  3403. _formdiv = new U.UF.UI.form(
  3404. "赛诺梵",
  3405. $$("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" }), {
  3406. "id": "snf",
  3407. "style": { "width": "90%", "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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3413. break;
  3414. case "hanFamily":
  3415. _formdiv = new U.UF.UI.form(
  3416. "汉字家族",
  3417. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3418. "id": "hanFamily",
  3419. "style": { "width": "90%", "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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3425. break;
  3426. case "hanClassics":
  3427. _formdiv = new U.UF.UI.form(
  3428. "国学经典",
  3429. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3430. "id": "hanClassics",
  3431. "style": { "width": "90%", "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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3437. break;
  3438. case "hanTraining":
  3439. _formdiv = new U.UF.UI.form(
  3440. "笔画训练",
  3441. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3442. "id": "hanTraining",
  3443. "style": { "width": "90%", "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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3449. break;
  3450. case "hanClass":
  3451. _formdiv = new U.UF.UI.form(
  3452. "书法课堂",
  3453. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3454. "id": "hanClass",
  3455. "style": { "width": "90%", "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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3461. break;
  3462. case "han":
  3463. _formdiv = new U.UF.UI.form(
  3464. "汉字宫",
  3465. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3466. "id": "han",
  3467. "style": { "width": "90%", "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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3473. break;
  3474. case "projectGM": //课程管理
  3475. _formdiv = new U.UF.UI.form(
  3476. "课程管理",
  3477. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3478. "id": "projectGM",
  3479. "style": { "width": "90%", "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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3485. break;
  3486. case "studyGM"://课程中心
  3487. _formdiv = new U.UF.UI.form(
  3488. "课程中心",
  3489. $$("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
  3490. "id": "study",
  3491. "style": { "width": "100%", "height": "100%", "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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3497. break;
  3498. // studentGM
  3499. case "studentGM"://学生管理
  3500. _formdiv = new U.UF.UI.form(
  3501. "学生管理",
  3502. $$("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 }), {
  3503. "id": "studentGM",
  3504. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //创建窗体
  3509. _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); } }
  3510. break;
  3511. case "evaluateGM"://学生评价
  3512. _formdiv = new U.UF.UI.form(
  3513. "学生评价",
  3514. $$("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 }), {
  3515. "id": "evaluateGM",
  3516. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3517. "onresize": function () { }
  3518. }, {
  3519. closecallback: function () { }
  3520. }, { "style": { "height": "36px" } }).form; //创建窗体
  3521. _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); } }
  3522. break;
  3523. // classGM
  3524. case "classGM"://班级管理
  3525. _formdiv = new U.UF.UI.form(
  3526. "班级管理",
  3527. $$("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 }), {
  3528. "id": "classGM",
  3529. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3530. "onresize": function () { }
  3531. }, {
  3532. closecallback: function () { }
  3533. }, { "style": { "height": "36px" } }).form; //创建窗体
  3534. _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); } }
  3535. break;
  3536. // dataGM
  3537. case "dataGM":
  3538. _formdiv = new U.UF.UI.form(
  3539. "我的资料",
  3540. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  3541. "id": "dataGM",
  3542. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3543. "onresize": function () { }
  3544. }, {
  3545. closecallback: function () { }
  3546. }, { "style": { "height": "36px" } }).form; //创建窗体
  3547. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3548. break;
  3549. // caseGM
  3550. case "caseGM"://课程进展
  3551. _formdiv = new U.UF.UI.form(
  3552. "课程进展",
  3553. $$("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 }), {
  3554. "id": "caseGM",
  3555. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3556. "onresize": function () { }
  3557. }, {
  3558. closecallback: function () { }
  3559. }, { "style": { "height": "36px" } }).form; //创建窗体
  3560. _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); } }
  3561. break;
  3562. // meterialGM
  3563. case "meterialGM"://素材库
  3564. _formdiv = new U.UF.UI.form(
  3565. "素材库",
  3566. $$("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 }), {
  3567. "id": "meterialGM",
  3568. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function () { }
  3570. }, {
  3571. closecallback: function () { }
  3572. }, { "style": { "height": "36px" } }).form; //创建窗体
  3573. _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); } }
  3574. break;
  3575. // evaluateSGM
  3576. case "evaluateSGM": //我的评价
  3577. _formdiv = new U.UF.UI.form(
  3578. "我的评价",
  3579. $$("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 }), {
  3580. "id": "evaluateSGM",
  3581. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3587. break;
  3588. case "jupyter": //jupyter
  3589. _formdiv = new U.UF.UI.form(
  3590. "jupyter",
  3591. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3592. "id": "jupyter",
  3593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _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); } }
  3599. break;
  3600. case "number": //数字实验室
  3601. _formdiv = new U.UF.UI.form(
  3602. "数字实验室",
  3603. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3604. "id": "number",
  3605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _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); } }
  3611. break;
  3612. case "studentCourse": //项目管理 学生
  3613. _formdiv = new U.UF.UI.form(
  3614. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3615. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3616. "id": "studentCourse",
  3617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _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); } }
  3623. break;
  3624. case "studentCourseS": //项目管理 老师
  3625. _formdiv = new U.UF.UI.form(
  3626. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3627. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3628. "id": "studentCourseS",
  3629. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3630. "onresize": function () { }
  3631. }, {
  3632. closecallback: function () { }
  3633. }, { "style": { "height": "36px" } }).form; //创建窗体
  3634. _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); } }
  3635. break;
  3636. case "studentIndex": //项目中心
  3637. _formdiv = new U.UF.UI.form(
  3638. "项目中心",
  3639. $$("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 }), {
  3640. "id": "studentIndex",
  3641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //创建窗体
  3646. _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); } }
  3647. break;
  3648. case "CaseDesignS":
  3649. _formdiv = new U.UF.UI.form(
  3650. "项目进展",
  3651. $$("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 }), {
  3652. "id": "case",
  3653. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //创建窗体
  3658. _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); } }
  3659. break;
  3660. case "tcStudent": //腾讯学生管理
  3661. _formdiv = new U.UF.UI.form(
  3662. "学生管理",
  3663. $$("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 }), {
  3664. "id": "tcStudent",
  3665. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3666. "onresize": function () { }
  3667. }, {
  3668. closecallback: function () { }
  3669. }, { "style": { "height": "36px" } }).form; //创建窗体
  3670. _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); } }
  3671. break;
  3672. case "tcSchool": //腾讯学校管理
  3673. _formdiv = new U.UF.UI.form(
  3674. "学校管理",
  3675. $$("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 }), {
  3676. "id": "tcSchool",
  3677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //创建窗体
  3682. _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); } }
  3683. break;
  3684. case "tcTeacher": //腾讯学校管理
  3685. _formdiv = new U.UF.UI.form(
  3686. "教师管理",
  3687. $$("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 }), {
  3688. "id": "tcTeacher",
  3689. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3690. "onresize": function () { }
  3691. }, {
  3692. closecallback: function () { }
  3693. }, { "style": { "height": "36px" } }).form; //创建窗体
  3694. _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); } }
  3695. break;
  3696. case "tcData": //腾讯我的资料
  3697. _formdiv = new U.UF.UI.form(
  3698. "我的资料",
  3699. $$("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 }), {
  3700. "id": "tcData",
  3701. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3702. "onresize": function () { }
  3703. }, {
  3704. closecallback: function () { }
  3705. }, { "style": { "height": "36px" } }).form; //创建窗体
  3706. _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); } }
  3707. break;
  3708. case "tcNotice": //腾讯消息通知
  3709. _formdiv = new U.UF.UI.form(
  3710. "消息通知",
  3711. $$("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 }), {
  3712. "id": "tcNotice",
  3713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function () { }
  3715. }, {
  3716. closecallback: function () { }
  3717. }, { "style": { "height": "36px" } }).form; //创建窗体
  3718. _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); } }
  3719. break;
  3720. case "myReport": //好友打开
  3721. _formdiv = new U.UF.UI.form(
  3722. "我的评价",
  3723. $$("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 }), {
  3724. "id": "myReport",
  3725. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //创建窗体
  3730. _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); } }
  3731. break;
  3732. case "learnAna": //好友打开
  3733. _formdiv = new U.UF.UI.form(
  3734. "学习分析",
  3735. $$("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 }), {
  3736. "id": "learnAna",
  3737. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //创建窗体
  3742. _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); } }
  3743. break;
  3744. case "AIChat": //AI共创
  3745. _formdiv = new U.UF.UI.form(
  3746. "AI共创",
  3747. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3748. "id": "AIChat",
  3749. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3750. "onresize": function () { }
  3751. }, {
  3752. istop: true,
  3753. closecallback: function () { $("#aichat_icon").remove(); },
  3754. narrowcallback: function () {
  3755. if (!$("#aichat_icon")[0]) {
  3756. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3757. }
  3758. },
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _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); } }
  3761. break;
  3762. case "ainew": //AI共创
  3763. _formdiv = new U.UF.UI.form(
  3764. "AI协同",
  3765. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  3766. "id": "ainew",
  3767. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3768. "onresize": function () { }
  3769. }, {
  3770. closecallback: function () { }
  3771. }, { "style": { "height": "36px" } }).form; //创建窗体
  3772. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3773. break;
  3774. case "AIAnalyse": //AI共创
  3775. _formdiv = new U.UF.UI.form(
  3776. "AI分析",
  3777. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  3778. "id": "AIAnalyse",
  3779. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3785. break;
  3786. case "studioCourse": //AI共创
  3787. _formdiv = new U.UF.UI.form(
  3788. "工作管理",
  3789. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3790. "id": "studioCourse",
  3791. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3797. break;
  3798. case "studioIndex": //AI共创
  3799. _formdiv = new U.UF.UI.form(
  3800. "工作中心",
  3801. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  3802. "id": "studioIndex",
  3803. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //创建窗体
  3808. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3809. break;
  3810. case "source":
  3811. _formdiv = new U.UF.UI.form(
  3812. "教学资源",
  3813. $$("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 }), {
  3814. "id": "source",
  3815. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //创建窗体
  3820. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3821. break;
  3822. }
  3823. //U.MD.D.I.openClick(str);
  3824. //如果有任务栏信息
  3825. if (_taskbar) {
  3826. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  3827. }
  3828. }
  3829. // U.MD.D.I.openClick = function(str){
  3830. // var click = '';
  3831. // switch(str){
  3832. // case 'friend':
  3833. // click = '我的好友';
  3834. // break;
  3835. // case 'domain':
  3836. // click = '域名管理';
  3837. // break;
  3838. // case 'disk':
  3839. // click = '我的云盘';
  3840. // break;
  3841. // case 'word':
  3842. // click = 'Word';
  3843. // break;
  3844. // case 'excel':
  3845. // click = 'Execl';
  3846. // break;
  3847. // case 'txt':
  3848. // click = '文本文件';
  3849. // break;
  3850. // case 'lookupFriend':
  3851. // click = '查找好友';
  3852. // break;
  3853. // case 'ftp':
  3854. // click = 'FTP';
  3855. // break;
  3856. // case 'group':
  3857. // click = '群组';
  3858. // break;
  3859. // case 'set':
  3860. // click = '我的设置';
  3861. // break;
  3862. // case 'systemSet':
  3863. // click = '系统设置';
  3864. // break;
  3865. // case 'boomYun':
  3866. // click = '互联办公';
  3867. // break;
  3868. // case 'xz':
  3869. // click = '云端下载';
  3870. // break;
  3871. // case 'client':
  3872. // click = '有思浏览器';
  3873. // break;
  3874. // case 'backEndProgramming':
  3875. // click = '在线后台编程';
  3876. // break;
  3877. // case 'frontEndProgramming':
  3878. // click = '在线前端编程';
  3879. // break;
  3880. // default: break;
  3881. // }
  3882. // if(U.MD.D.I.Ip && click){
  3883. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  3884. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  3885. // })
  3886. // }
  3887. // }
  3888. /**
  3889. *函数作用:ajax简易函数,使用post格式
  3890. *@param url {data} 后台地址
  3891. *@param data {data} 参数json
  3892. *@param fn {data} 回调函数
  3893. *
  3894. */
  3895. // U.MD.D.I.Mysqlrequest = function(url,fn){
  3896. // var xhr = new XMLHttpRequest();
  3897. // xhr.open("GET",url,true);
  3898. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  3899. // xhr.onreadystatechange = function(){
  3900. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  3901. // fn.call(this,xhr.responseText);
  3902. // }
  3903. // };
  3904. // xhr.send();
  3905. // }
  3906. /*判断是否是内网IP*/
  3907. // U.MD.D.I.isInnerIPFn = function(str){
  3908. // var curPageUrl = str;
  3909. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  3910. // curPageUrl =curPageUrl.replace(reg1,'');
  3911. // // console.log('curPageUrl-1 '+curPageUrl);
  3912. // var reg2 = /\:+/g;//替换冒号为一点
  3913. // curPageUrl =curPageUrl.replace(reg2,'.');
  3914. // // console.log('curPageUrl-2 '+curPageUrl);
  3915. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  3916. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  3917. // if(curPageUrl[2] != '16'){
  3918. // return ipAddress;
  3919. // }else{
  3920. // return false;
  3921. // }
  3922. // }
  3923. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  3924. // //compatibility for firefox and chrome
  3925. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  3926. // var pc = new myPeerConnection({
  3927. // iceServers: []
  3928. // }),
  3929. // noop = function() {},
  3930. // localIPs = {},
  3931. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  3932. // key;
  3933. // function iterateIP(ip) {
  3934. // if (!localIPs[ip]) onNewIP(ip);
  3935. // localIPs[ip] = true;
  3936. // }
  3937. // //create a bogus data channel
  3938. // pc.createDataChannel("");
  3939. // // create offer and set local description
  3940. // pc.createOffer().then(function(sdp) {
  3941. // sdp.sdp.split('\n').forEach(function(line) {
  3942. // if (line.indexOf('candidate') < 0) return;
  3943. // line.match(ipRegex).forEach(iterateIP);
  3944. // });
  3945. // pc.setLocalDescription(sdp, noop, noop);
  3946. // }).catch(function(reason) {
  3947. // // An error occurred, so handle the failure to connect
  3948. // });
  3949. // //sten for candidate events
  3950. // pc.onicecandidate = function(ice) {
  3951. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  3952. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  3953. // };
  3954. // }
  3955. // U.MD.D.I.getUserIpBool = function(callback){
  3956. // U.MD.D.I.getUserIP(function(ip){
  3957. // alert("Got IP! :" + ip);
  3958. // });
  3959. //}
  3960. //#endregion
  3961. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  3962. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3963. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3964. _userinfo = US.userInfo, //登录用户信息
  3965. _userid = US.userInfo.userid //登录用户id
  3966. let _iframe;
  3967. let _cid = cid,
  3968. _stage = stage,
  3969. _task = task,
  3970. _tool = tool;
  3971. var _jie = $$("div", {
  3972. "style": {
  3973. "position": "absolute",
  3974. "bottom": "50px",
  3975. "right": "50px",
  3976. "zIndex": "9999",
  3977. "backgroundColor": "#2268bc",
  3978. "color": "#fff",
  3979. "padding": "12px 20px",
  3980. "cursor": "pointer",
  3981. "borderRadius": "4px",
  3982. },
  3983. "innerHTML": "提交作业"
  3984. })
  3985. let aTool = ''
  3986. let _loading = document.createElement('div')
  3987. _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;"
  3988. // _loading.id = "";
  3989. let _lchild = document.createElement('div')
  3990. let _limg = document.createElement('img')
  3991. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  3992. _limg.style = "width: 26px;margin-right: 10px;"
  3993. _lchild.appendChild(_limg)
  3994. let _lspan = document.createElement('span')
  3995. _lspan.innerHTML = "上传中..."
  3996. _lchild.appendChild(_lspan)
  3997. _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%);"
  3998. _loading.appendChild(_lchild)
  3999. var _box = $$('div', {
  4000. "style": {
  4001. "position": "relative",
  4002. "width": "100%",
  4003. "height": "100%",
  4004. },
  4005. })
  4006. _box.appendChild(_loading)
  4007. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool+_userid
  4008. switch (str) {
  4009. case "whiteboard":
  4010. aTool = 1;
  4011. _iframe = $$("iframe", {
  4012. "frameborder": "no",
  4013. "border": "0",
  4014. "scrolling ": "no",
  4015. "style": {
  4016. "cssText": "border:0;width:100%;height:100%"
  4017. },
  4018. "src": "https://iwb.cocorobo.cn/"
  4019. })
  4020. _box.appendChild(_iframe);
  4021. _box.appendChild(_jie);
  4022. _formdiv = new U.UF.UI.form(
  4023. "电子白板",
  4024. _box, {
  4025. "id": "whiteboard" + cid + stage + task + tool,
  4026. "style": {
  4027. "width": "90%",
  4028. "height": "90%",
  4029. "overflow": 'hidden'
  4030. },
  4031. "onresize": function () { }
  4032. }, {
  4033. closecallback: function () { }
  4034. }, {
  4035. "style": {
  4036. "height": "36px"
  4037. }
  4038. }).form; //创建窗体
  4039. _taskbar = {
  4040. "id": str + _formdiv.id,
  4041. "style": {
  4042. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4043. },
  4044. "name": "电子白板",
  4045. "forms": _formdiv,
  4046. "click": function () {
  4047. U.MD.D.I.openApplication(str, obj, info);
  4048. }
  4049. }
  4050. break;
  4051. case "mind":
  4052. aTool = 3;
  4053. _iframe = $$("iframe", {
  4054. "frameborder": "no",
  4055. "border": "0",
  4056. "scrolling ": "no",
  4057. "style": {
  4058. "cssText": "border:0;width:100%;height:100%"
  4059. },
  4060. "src": "/kityminder-editor/dist/index.html"
  4061. })
  4062. _box.appendChild(_iframe);
  4063. _box.appendChild(_jie);
  4064. _formdiv = new U.UF.UI.form(
  4065. "思维导图",
  4066. _box, { //"/jsmind/example/demo.html"
  4067. "id": "mind" + cid + stage + task + tool,
  4068. "style": {
  4069. "width": "90%",
  4070. "height": "90%",
  4071. "overflow": 'hidden'
  4072. },
  4073. "onresize": function () { }
  4074. }, {
  4075. closecallback: function () { }
  4076. }, {
  4077. "style": {
  4078. "height": "36px"
  4079. }
  4080. }).form; //创建窗体
  4081. _taskbar = {
  4082. "id": str + _formdiv.id,
  4083. "style": {
  4084. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4085. },
  4086. "name": "思维导图",
  4087. "forms": _formdiv,
  4088. "click": function () {
  4089. U.MD.D.I.openApplication(str, obj, info);
  4090. }
  4091. }
  4092. break;
  4093. case "MindMap":
  4094. aTool = 3;
  4095. _iframe = $$("iframe", {
  4096. "frameborder": "no",
  4097. "border": "0",
  4098. "scrolling ": "no",
  4099. "style": {
  4100. "cssText": "border:0;width:100%;height:100%"
  4101. },
  4102. "src": "//cloud.cocorobo.cn/mind/"
  4103. })
  4104. _box.appendChild(_iframe);
  4105. _box.appendChild(_jie);
  4106. _formdiv = new U.UF.UI.form(
  4107. "思维导图",
  4108. _box, { //"/jsmind/example/demo.html"
  4109. "id": "mind" + cid + stage + task + tool,
  4110. "style": {
  4111. "width": "90%",
  4112. "height": "90%",
  4113. "overflow": 'hidden'
  4114. },
  4115. "onresize": function () { }
  4116. }, {
  4117. closecallback: function () { }
  4118. }, {
  4119. "style": {
  4120. "height": "36px"
  4121. }
  4122. }).form; //创建窗体
  4123. _taskbar = {
  4124. "id": str + _formdiv.id,
  4125. "style": {
  4126. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4127. },
  4128. "name": "思维导图",
  4129. "forms": _formdiv,
  4130. "click": function () {
  4131. U.MD.D.I.openApplication(str, obj, info);
  4132. }
  4133. }
  4134. break;
  4135. case "doc":
  4136. aTool = 6;
  4137. _iframe = $$("iframe", {
  4138. "frameborder": "no",
  4139. "border": "0",
  4140. "scrolling ": "no",
  4141. "style": {
  4142. "cssText": "border:0;width:100%;height:100%"
  4143. },
  4144. "src": "/Office/Word/WordEditArea.htm"
  4145. })
  4146. _box.appendChild(_iframe);
  4147. _box.appendChild(_jie);
  4148. _formdiv = new U.UF.UI.form(
  4149. "协同文档",
  4150. _box, {
  4151. "id": "doc" + cid + stage + task + tool,
  4152. "style": {
  4153. "width": "90%",
  4154. "height": "90%",
  4155. "overflow": 'hidden'
  4156. },
  4157. "onresize": function () { }
  4158. }, {
  4159. closecallback: function () { }
  4160. }, {
  4161. "style": {
  4162. "height": "36px"
  4163. }
  4164. }).form; //创建窗体
  4165. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4166. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4167. })
  4168. _taskbar = {
  4169. "id": str + _formdiv.id,
  4170. "style": {
  4171. "backgroundImage": "url(/img/icon/doc.png)"
  4172. },
  4173. "name": "协同文档",
  4174. "forms": _formdiv,
  4175. "click": function () {
  4176. U.MD.D.I.openApplication(str, obj, info);
  4177. }
  4178. }
  4179. break;
  4180. case "mindNetwork": //好友打开
  4181. aTool = 7;
  4182. _iframe = $$("iframe", {
  4183. "webkitallowfullscreen": "",
  4184. "mozallowfullscreen": "",
  4185. "allowfullscreen": "",
  4186. "frameborder": "no",
  4187. "border": "0",
  4188. "scrolling ": "no",
  4189. "style": {
  4190. "cssText": "border:0; width:100%; height:100%;"
  4191. },
  4192. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4193. })
  4194. _box.appendChild(_iframe);
  4195. _box.appendChild(_jie);
  4196. _formdiv = new U.UF.UI.form(
  4197. "思维网格",
  4198. _box, {
  4199. "id": "mindNetwork" + cid + stage + task + tool,
  4200. "style": {
  4201. "width": "90%",
  4202. "height": "90%",
  4203. "overflow": 'hidden'
  4204. },
  4205. "onresize": function () { }
  4206. }, {
  4207. closecallback: function () { }
  4208. }, {
  4209. "style": {
  4210. "height": "36px"
  4211. }
  4212. }).form; //创建窗体
  4213. _taskbar = {
  4214. "id": str + _formdiv.id,
  4215. "style": {
  4216. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4217. },
  4218. "name": "思维网格",
  4219. "forms": _formdiv,
  4220. "click": function () {
  4221. U.MD.D.I.openApplication(str, obj, info);
  4222. }
  4223. }
  4224. break;
  4225. case "courseDesign":
  4226. _iframe = $$("iframe", {
  4227. "webkitallowfullscreen": "",
  4228. "mozallowfullscreen": "",
  4229. "allowfullscreen": "",
  4230. "frameborder": "no",
  4231. "border": "0",
  4232. "scrolling ": "no",
  4233. "style": {
  4234. "cssText": "border:0; width:100%; height:100%;"
  4235. },
  4236. "src": "/course-design-vue"
  4237. })
  4238. _box.appendChild(_iframe);
  4239. _box.appendChild(_jie);
  4240. _formdiv = new U.UF.UI.form(
  4241. "项目设计",
  4242. _box, {
  4243. "id": "courseDesign" + cid + stage + task + tool,
  4244. "style": {
  4245. "width": "90%",
  4246. "height": "90%",
  4247. "overflow": 'hidden'
  4248. },
  4249. "onresize": function () { }
  4250. }, {
  4251. closecallback: function () { }
  4252. }, {
  4253. "style": {
  4254. "height": "36px"
  4255. }
  4256. }).form; //创建窗体
  4257. _taskbar = {
  4258. "id": str + _formdiv.id,
  4259. "style": {
  4260. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4261. },
  4262. "name": "项目设计",
  4263. "forms": _formdiv,
  4264. "click": function () {
  4265. U.MD.D.I.openApplication(str, obj, info);
  4266. }
  4267. }
  4268. break;
  4269. }
  4270. const script1 = document.createElement("script");
  4271. script1.type = "text/javascript";
  4272. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4273. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4274. const script2 = document.createElement("script");
  4275. script2.type = "text/javascript";
  4276. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4277. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4278. const script3 = document.createElement("script");
  4279. script3.type = "text/javascript";
  4280. script3.charset = "UTF-8";
  4281. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4282. const script4 = document.createElement("script");
  4283. script4.type = "text/javascript";
  4284. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4285. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4286. if (_iframe) {
  4287. if (str == 'doc') {
  4288. _iframe = _formdiv.querySelector('iframe')
  4289. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4290. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4291. _iframe.contentWindow.document.body.appendChild(script1);
  4292. _iframe.contentWindow.document.body.appendChild(script2);
  4293. // _iframe.contentWindow.document.body.appendChild(script3);
  4294. _iframe.contentWindow.document.body.appendChild(script4);
  4295. })
  4296. if (onloadListener) {
  4297. _iframe.contentDocument.location.reload()
  4298. } else {
  4299. _iframe.contentDocument.location.reload()
  4300. }
  4301. } else if (str == 'courseDesign') {
  4302. U.UF.DL.iframeLoad(_iframe, function () {
  4303. // _iframe.contentWindow.U.MD.O.W.load();
  4304. // _iframe.contentWindow.document.body.appendChild(script1);
  4305. _iframe.contentWindow.document.body.appendChild(script2);
  4306. _iframe.contentWindow.document.body.appendChild(script4);
  4307. })
  4308. } else if (str == 'mind') {
  4309. _iframe = _formdiv.querySelector('iframe')
  4310. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4311. //
  4312. _iframe.contentWindow.document.body.appendChild(script1);
  4313. _iframe.contentWindow.document.body.appendChild(script2);
  4314. _iframe.contentWindow.document.body.appendChild(script4);
  4315. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4316. })
  4317. if (onloadListener) {
  4318. _iframe.contentDocument.location.reload()
  4319. } else {
  4320. _iframe.contentDocument.location.reload()
  4321. }
  4322. } else if (str == 'whiteboard') {
  4323. _iframe = _formdiv.querySelector('iframe')
  4324. let onloadListener = _iframe.onload = () => {
  4325. _iframe.contentWindow.document.body.appendChild(script1);
  4326. _iframe.contentWindow.document.body.appendChild(script2);
  4327. _iframe.contentWindow.document.body.appendChild(script4);
  4328. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4329. };
  4330. if (onloadListener) {
  4331. _iframe.contentDocument.location.reload()
  4332. } else {
  4333. _iframe.contentDocument.location.reload()
  4334. }
  4335. } else {
  4336. _iframe.onload = () => {
  4337. _iframe.contentWindow.document.body.appendChild(script1);
  4338. _iframe.contentWindow.document.body.appendChild(script2);
  4339. // _iframe.contentWindow.document.body.appendChild(script3);
  4340. _iframe.contentWindow.document.body.appendChild(script4);
  4341. };
  4342. }
  4343. _jie.onclick = async () => {
  4344. let text = ''
  4345. if (aTool == 1) {
  4346. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4347. } else if (aTool == 6) {
  4348. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4349. } else if (aTool == 3) {
  4350. text = await U.MD.D.I.getEditorContent(_iframe);
  4351. }
  4352. _loading.style.display = 'flex'
  4353. console.log(_loading);
  4354. var _ajs = _iframe.contentWindow.document.createElement("script");
  4355. _ajs.type = "text/javascript";
  4356. _ajs.innerHTML =
  4357. // 'console.log(' + _loading + ');\n' +
  4358. 'var _js = document.createElement("script");\n' +
  4359. '_js.type="text/javascript";\n' +
  4360. '_js.charset="UTF-8";\n' +
  4361. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4362. "_js.onload = function(){\n" +
  4363. ' var a = document.getElementsByTagName("img")\n' +
  4364. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4365. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4366. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4367. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4368. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4369. "beforeUpload_shishi(file," +
  4370. "'" +
  4371. _userid +
  4372. "'" +
  4373. ", " +
  4374. "'" +
  4375. _cid +
  4376. "'" +
  4377. ", " +
  4378. "'" +
  4379. _stage +
  4380. "'" +
  4381. ", " +
  4382. "'" +
  4383. _task +
  4384. "'" +
  4385. ", " +
  4386. "'" +
  4387. _tool +
  4388. "'" +
  4389. ", " +
  4390. "'" +
  4391. (str + '_loadLi_Jie' + cid + stage + task + tool+_userid) +
  4392. "'" +
  4393. ", " +
  4394. "'" +
  4395. aTool +
  4396. "'" +
  4397. ", " +
  4398. "`" +
  4399. text +
  4400. "`" +
  4401. ")\n" +
  4402. " });\n" +
  4403. "}\n" +
  4404. "document.head.appendChild(_js);\n";
  4405. _iframe.contentWindow.document.head.appendChild(_ajs);
  4406. }
  4407. }
  4408. //U.MD.D.I.openClick(str);
  4409. //如果有任务栏信息
  4410. // if (_taskbar) {
  4411. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4412. // }
  4413. }
  4414. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4415. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4416. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4417. _userinfo = US.userInfo, //登录用户信息
  4418. _userid = US.userInfo.userid //登录用户id
  4419. let _iframe;
  4420. let _cid = cid,
  4421. _stage = stage,
  4422. _task = task,
  4423. _tool = tool;
  4424. var _jie = $$("div", {
  4425. "style": {
  4426. "position": "absolute",
  4427. "bottom": "50px",
  4428. "right": "50px",
  4429. "zIndex": "9999",
  4430. "backgroundColor": "#2268bc",
  4431. "color": "#fff",
  4432. "padding": "12px 20px",
  4433. "cursor": "pointer",
  4434. "borderRadius": "4px",
  4435. },
  4436. "innerHTML": "提交作业"
  4437. })
  4438. let aTool = ''
  4439. let _loading = document.createElement('div')
  4440. _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;"
  4441. // _loading.id = "";
  4442. let _lchild = document.createElement('div')
  4443. let _limg = document.createElement('img')
  4444. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4445. _limg.style = "width: 26px;margin-right: 10px;"
  4446. _lchild.appendChild(_limg)
  4447. let _lspan = document.createElement('span')
  4448. _lspan.innerHTML = "上传中..."
  4449. _lchild.appendChild(_lspan)
  4450. _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%);"
  4451. _loading.appendChild(_lchild)
  4452. var _box = $$('div', {
  4453. "style": {
  4454. "position": "relative",
  4455. "width": "100%",
  4456. "height": "100%",
  4457. },
  4458. })
  4459. _box.appendChild(_loading)
  4460. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool+_userid
  4461. switch (str) {
  4462. case "whiteboard":
  4463. aTool = 1;
  4464. _iframe = $$("iframe", {
  4465. "frameborder": "no",
  4466. "border": "0",
  4467. "scrolling ": "no",
  4468. "style": {
  4469. "cssText": "border:0;width:100%;height:100%"
  4470. },
  4471. "src": "https://iwb.cocorobo.cn/"
  4472. })
  4473. _box.appendChild(_iframe);
  4474. _box.appendChild(_jie);
  4475. _formdiv = new U.UF.UI.form(
  4476. "电子白板",
  4477. _box, {
  4478. "id": "whiteboard" + cid + stage + task + tool,
  4479. "style": {
  4480. "width": "90%",
  4481. "height": "90%",
  4482. "overflow": 'hidden'
  4483. },
  4484. "onresize": function () { }
  4485. }, {
  4486. closecallback: function () { }
  4487. }, {
  4488. "style": {
  4489. "height": "36px"
  4490. }
  4491. }).form; //创建窗体
  4492. _taskbar = {
  4493. "id": str + _formdiv.id,
  4494. "style": {
  4495. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4496. },
  4497. "name": "电子白板",
  4498. "forms": _formdiv,
  4499. "click": function () {
  4500. U.MD.D.I.openApplication(str, obj, info);
  4501. }
  4502. }
  4503. break;
  4504. case "mind":
  4505. aTool = 3;
  4506. _iframe = $$("iframe", {
  4507. "frameborder": "no",
  4508. "border": "0",
  4509. "scrolling ": "no",
  4510. "style": {
  4511. "cssText": "border:0;width:100%;height:100%"
  4512. },
  4513. "src": "/kityminder-editor/dist/index.html"
  4514. })
  4515. _box.appendChild(_iframe);
  4516. _box.appendChild(_jie);
  4517. _formdiv = new U.UF.UI.form(
  4518. "思维导图",
  4519. _box, { //"/jsmind/example/demo.html"
  4520. "id": "mind" + cid + stage + task + tool,
  4521. "style": {
  4522. "width": "90%",
  4523. "height": "90%",
  4524. "overflow": 'hidden'
  4525. },
  4526. "onresize": function () { }
  4527. }, {
  4528. closecallback: function () { }
  4529. }, {
  4530. "style": {
  4531. "height": "36px"
  4532. }
  4533. }).form; //创建窗体
  4534. _taskbar = {
  4535. "id": str + _formdiv.id,
  4536. "style": {
  4537. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4538. },
  4539. "name": "思维导图",
  4540. "forms": _formdiv,
  4541. "click": function () {
  4542. U.MD.D.I.openApplication(str, obj, info);
  4543. }
  4544. }
  4545. break;
  4546. case "MindMap":
  4547. aTool = 3;
  4548. _iframe = $$("iframe", {
  4549. "frameborder": "no",
  4550. "border": "0",
  4551. "scrolling ": "no",
  4552. "style": {
  4553. "cssText": "border:0;width:100%;height:100%"
  4554. },
  4555. "src": "//cloud.cocorobo.cn/mind/"
  4556. })
  4557. _box.appendChild(_iframe);
  4558. _box.appendChild(_jie);
  4559. _formdiv = new U.UF.UI.form(
  4560. "思维导图",
  4561. _box, { //"/jsmind/example/demo.html"
  4562. "id": "mind" + cid + stage + task + tool,
  4563. "style": {
  4564. "width": "90%",
  4565. "height": "90%",
  4566. "overflow": 'hidden'
  4567. },
  4568. "onresize": function () { }
  4569. }, {
  4570. closecallback: function () { }
  4571. }, {
  4572. "style": {
  4573. "height": "36px"
  4574. }
  4575. }).form; //创建窗体
  4576. _taskbar = {
  4577. "id": str + _formdiv.id,
  4578. "style": {
  4579. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4580. },
  4581. "name": "思维导图",
  4582. "forms": _formdiv,
  4583. "click": function () {
  4584. U.MD.D.I.openApplication(str, obj, info);
  4585. }
  4586. }
  4587. break;
  4588. case "doc":
  4589. aTool = 6;
  4590. _iframe = $$("iframe", {
  4591. "frameborder": "no",
  4592. "border": "0",
  4593. "scrolling ": "no",
  4594. "style": {
  4595. "cssText": "border:0;width:100%;height:100%"
  4596. },
  4597. "src": "/Office/Word/WordEditArea.htm"
  4598. })
  4599. _box.appendChild(_iframe);
  4600. _box.appendChild(_jie);
  4601. _formdiv = new U.UF.UI.form(
  4602. "协同文档",
  4603. _box, {
  4604. "id": "doc" + cid + stage + task + tool,
  4605. "style": {
  4606. "width": "90%",
  4607. "height": "90%",
  4608. "overflow": 'hidden'
  4609. },
  4610. "onresize": function () { }
  4611. }, {
  4612. closecallback: function () { }
  4613. }, {
  4614. "style": {
  4615. "height": "36px"
  4616. }
  4617. }).form; //创建窗体
  4618. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4619. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4620. })
  4621. _taskbar = {
  4622. "id": str + _formdiv.id,
  4623. "style": {
  4624. "backgroundImage": "url(/img/icon/doc.png)"
  4625. },
  4626. "name": "协同文档",
  4627. "forms": _formdiv,
  4628. "click": function () {
  4629. U.MD.D.I.openApplication(str, obj, info);
  4630. }
  4631. }
  4632. break;
  4633. case "mindNetwork": //好友打开
  4634. aTool = 7;
  4635. _iframe = $$("iframe", {
  4636. "webkitallowfullscreen": "",
  4637. "mozallowfullscreen": "",
  4638. "allowfullscreen": "",
  4639. "frameborder": "no",
  4640. "border": "0",
  4641. "scrolling ": "no",
  4642. "style": {
  4643. "cssText": "border:0; width:100%; height:100%;"
  4644. },
  4645. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4646. })
  4647. _box.appendChild(_iframe);
  4648. _box.appendChild(_jie);
  4649. _formdiv = new U.UF.UI.form(
  4650. "思维网格",
  4651. _box, {
  4652. "id": "mindNetwork" + cid + stage + task + tool,
  4653. "style": {
  4654. "width": "90%",
  4655. "height": "90%",
  4656. "overflow": 'hidden'
  4657. },
  4658. "onresize": function () { }
  4659. }, {
  4660. closecallback: function () { }
  4661. }, {
  4662. "style": {
  4663. "height": "36px"
  4664. }
  4665. }).form; //创建窗体
  4666. _taskbar = {
  4667. "id": str + _formdiv.id,
  4668. "style": {
  4669. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4670. },
  4671. "name": "思维网格",
  4672. "forms": _formdiv,
  4673. "click": function () {
  4674. U.MD.D.I.openApplication(str, obj, info);
  4675. }
  4676. }
  4677. break;
  4678. case "courseDesign":
  4679. _iframe = $$("iframe", {
  4680. "webkitallowfullscreen": "",
  4681. "mozallowfullscreen": "",
  4682. "allowfullscreen": "",
  4683. "frameborder": "no",
  4684. "border": "0",
  4685. "scrolling ": "no",
  4686. "style": {
  4687. "cssText": "border:0; width:100%; height:100%;"
  4688. },
  4689. "src": "/course-design-vue"
  4690. })
  4691. _box.appendChild(_iframe);
  4692. _box.appendChild(_jie);
  4693. _formdiv = new U.UF.UI.form(
  4694. "项目设计",
  4695. _box, {
  4696. "id": "courseDesign" + cid + stage + task + tool,
  4697. "style": {
  4698. "width": "90%",
  4699. "height": "90%",
  4700. "overflow": 'hidden'
  4701. },
  4702. "onresize": function () { }
  4703. }, {
  4704. closecallback: function () { }
  4705. }, {
  4706. "style": {
  4707. "height": "36px"
  4708. }
  4709. }).form; //创建窗体
  4710. _taskbar = {
  4711. "id": str + _formdiv.id,
  4712. "style": {
  4713. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4714. },
  4715. "name": "项目设计",
  4716. "forms": _formdiv,
  4717. "click": function () {
  4718. U.MD.D.I.openApplication(str, obj, info);
  4719. }
  4720. }
  4721. break;
  4722. }
  4723. const script1 = document.createElement("script");
  4724. script1.type = "text/javascript";
  4725. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4726. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4727. const script2 = document.createElement("script");
  4728. script2.type = "text/javascript";
  4729. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4730. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4731. const script3 = document.createElement("script");
  4732. script3.type = "text/javascript";
  4733. script3.charset = "UTF-8";
  4734. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4735. const script4 = document.createElement("script");
  4736. script4.type = "text/javascript";
  4737. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4738. script4.src = window.origin + "/js/Common/jietu2E.js";
  4739. if (_iframe) {
  4740. if (str == 'doc') {
  4741. _iframe = _formdiv.querySelector('iframe')
  4742. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4743. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4744. _iframe.contentWindow.document.body.appendChild(script1);
  4745. _iframe.contentWindow.document.body.appendChild(script2);
  4746. // _iframe.contentWindow.document.body.appendChild(script3);
  4747. _iframe.contentWindow.document.body.appendChild(script4);
  4748. })
  4749. if (onloadListener) {
  4750. _iframe.contentDocument.location.reload()
  4751. } else {
  4752. _iframe.contentDocument.location.reload()
  4753. }
  4754. } else if (str == 'courseDesign') {
  4755. U.UF.DL.iframeLoad(_iframe, function () {
  4756. // _iframe.contentWindow.U.MD.O.W.load();
  4757. // _iframe.contentWindow.document.body.appendChild(script1);
  4758. _iframe.contentWindow.document.body.appendChild(script2);
  4759. _iframe.contentWindow.document.body.appendChild(script4);
  4760. })
  4761. } else if (str == 'mind') {
  4762. _iframe = _formdiv.querySelector('iframe')
  4763. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4764. //
  4765. _iframe.contentWindow.document.body.appendChild(script1);
  4766. _iframe.contentWindow.document.body.appendChild(script2);
  4767. _iframe.contentWindow.document.body.appendChild(script4);
  4768. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4769. })
  4770. if (onloadListener) {
  4771. _iframe.contentDocument.location.reload()
  4772. } else {
  4773. _iframe.contentDocument.location.reload()
  4774. }
  4775. } else if (str == 'whiteboard') {
  4776. _iframe = _formdiv.querySelector('iframe')
  4777. let onloadListener = _iframe.onload = () => {
  4778. _iframe.contentWindow.document.body.appendChild(script1);
  4779. _iframe.contentWindow.document.body.appendChild(script2);
  4780. _iframe.contentWindow.document.body.appendChild(script4);
  4781. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4782. };
  4783. if (onloadListener) {
  4784. _iframe.contentDocument.location.reload()
  4785. } else {
  4786. _iframe.contentDocument.location.reload()
  4787. }
  4788. } else {
  4789. _iframe.onload = () => {
  4790. _iframe.contentWindow.document.body.appendChild(script1);
  4791. _iframe.contentWindow.document.body.appendChild(script2);
  4792. // _iframe.contentWindow.document.body.appendChild(script3);
  4793. _iframe.contentWindow.document.body.appendChild(script4);
  4794. };
  4795. }
  4796. _jie.onclick = async () => {
  4797. let text = ''
  4798. if (aTool == 1) {
  4799. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4800. } else if (aTool == 6) {
  4801. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4802. } else if (aTool == 3) {
  4803. text = await U.MD.D.I.getEditorContent(_iframe);
  4804. }
  4805. _loading.style.display = 'flex'
  4806. console.log(_loading);
  4807. var _ajs = _iframe.contentWindow.document.createElement("script");
  4808. _ajs.type = "text/javascript";
  4809. _ajs.innerHTML =
  4810. // 'console.log(' + _loading + ');\n' +
  4811. 'var _js = document.createElement("script");\n' +
  4812. '_js.type="text/javascript";\n' +
  4813. '_js.charset="UTF-8";\n' +
  4814. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4815. "_js.onload = function(){\n" +
  4816. ' var a = document.getElementsByTagName("img")\n' +
  4817. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4818. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4819. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4820. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4821. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4822. "beforeUpload_shishi(file," +
  4823. "'" +
  4824. _userid +
  4825. "'" +
  4826. ", " +
  4827. "'" +
  4828. _cid +
  4829. "'" +
  4830. ", " +
  4831. "'" +
  4832. _stage +
  4833. "'" +
  4834. ", " +
  4835. "'" +
  4836. _task +
  4837. "'" +
  4838. ", " +
  4839. "'" +
  4840. _tool +
  4841. "'" +
  4842. ", " +
  4843. "'" +
  4844. (str + '_loadLi_JieE' + cid + stage + task + tool+_userid) +
  4845. "'" +
  4846. ", " +
  4847. "'" +
  4848. aTool +
  4849. "'" +
  4850. ", " +
  4851. "`" +
  4852. text +
  4853. "`" +
  4854. ")\n" +
  4855. " });\n" +
  4856. "}\n" +
  4857. "document.head.appendChild(_js);\n";
  4858. _iframe.contentWindow.document.head.appendChild(_ajs);
  4859. }
  4860. }
  4861. //U.MD.D.I.openClick(str);
  4862. //如果有任务栏信息
  4863. // if (_taskbar) {
  4864. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4865. // }
  4866. }
  4867. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  4868. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4869. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4870. _userid = student.userid, //登录用户id
  4871. _username = student.student //用户名字
  4872. let _iframe;
  4873. let _cid = cid,
  4874. _stage = stage,
  4875. _task = task,
  4876. _tool = tool;
  4877. var _jie = $$("div", {
  4878. "style": {
  4879. "position": "absolute",
  4880. "bottom": "50px",
  4881. "right": "50px",
  4882. "zIndex": "9999",
  4883. "backgroundColor": "#2268bc",
  4884. "color": "#fff",
  4885. "padding": "12px 20px",
  4886. "cursor": "pointer",
  4887. "borderRadius": "4px",
  4888. },
  4889. "innerHTML": "提交作业"
  4890. })
  4891. let aTool = ''
  4892. let _loading = document.createElement('div')
  4893. _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;"
  4894. // _loading.id = "";
  4895. let _lchild = document.createElement('div')
  4896. let _limg = document.createElement('img')
  4897. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4898. _limg.style = "width: 26px;margin-right: 10px;"
  4899. _lchild.appendChild(_limg)
  4900. let _lspan = document.createElement('span')
  4901. _lspan.innerHTML = "上传中..."
  4902. _lchild.appendChild(_lspan)
  4903. _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%);"
  4904. _loading.appendChild(_lchild)
  4905. var _box = $$('div', {
  4906. "style": {
  4907. "position": "relative",
  4908. "width": "100%",
  4909. "height": "100%",
  4910. },
  4911. })
  4912. _box.appendChild(_loading)
  4913. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool+_userid
  4914. switch (str) {
  4915. case "whiteboard":
  4916. aTool = 1;
  4917. _iframe = $$("iframe", {
  4918. "frameborder": "no",
  4919. "border": "0",
  4920. "scrolling ": "no",
  4921. "style": {
  4922. "cssText": "border:0;width:100%;height:100%"
  4923. },
  4924. "src": "https://iwb.cocorobo.cn/"
  4925. })
  4926. _box.appendChild(_iframe);
  4927. _box.appendChild(_jie);
  4928. _formdiv = new U.UF.UI.form(
  4929. "电子白板-" + _username,
  4930. _box, {
  4931. "id": "whiteboard" + cid + stage + task + tool + _userid,
  4932. "style": {
  4933. "width": "90%",
  4934. "height": "90%",
  4935. "overflow": 'hidden'
  4936. },
  4937. "onresize": function () { }
  4938. }, {
  4939. closecallback: function () { }
  4940. }, {
  4941. "style": {
  4942. "height": "36px"
  4943. }
  4944. }).form; //创建窗体
  4945. _taskbar = {
  4946. "id": str + _formdiv.id,
  4947. "style": {
  4948. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4949. },
  4950. "name": "电子白板",
  4951. "forms": _formdiv,
  4952. "click": function () {
  4953. U.MD.D.I.openApplication(str, obj, info);
  4954. }
  4955. }
  4956. break;
  4957. case "mind":
  4958. aTool = 3;
  4959. _iframe = $$("iframe", {
  4960. "frameborder": "no",
  4961. "border": "0",
  4962. "scrolling ": "no",
  4963. "style": {
  4964. "cssText": "border:0;width:100%;height:100%"
  4965. },
  4966. "src": "/kityminder-editor/dist/index.html"
  4967. })
  4968. _box.appendChild(_iframe);
  4969. _box.appendChild(_jie);
  4970. _formdiv = new U.UF.UI.form(
  4971. "思维导图-" + _username,
  4972. _box, { //"/jsmind/example/demo.html"
  4973. "id": "mind" + cid + stage + task + tool + _userid,
  4974. "style": {
  4975. "width": "90%",
  4976. "height": "90%",
  4977. "overflow": 'hidden'
  4978. },
  4979. "onresize": function () { }
  4980. }, {
  4981. closecallback: function () { }
  4982. }, {
  4983. "style": {
  4984. "height": "36px"
  4985. }
  4986. }).form; //创建窗体
  4987. _taskbar = {
  4988. "id": str + _formdiv.id,
  4989. "style": {
  4990. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4991. },
  4992. "name": "思维导图",
  4993. "forms": _formdiv,
  4994. "click": function () {
  4995. U.MD.D.I.openApplication(str, obj, info);
  4996. }
  4997. }
  4998. break;
  4999. case "MindMap":
  5000. aTool = 3;
  5001. _iframe = $$("iframe", {
  5002. "frameborder": "no",
  5003. "border": "0",
  5004. "scrolling ": "no",
  5005. "style": {
  5006. "cssText": "border:0;width:100%;height:100%"
  5007. },
  5008. "src": "//cloud.cocorobo.cn/mind/"
  5009. })
  5010. _box.appendChild(_iframe);
  5011. _box.appendChild(_jie);
  5012. _formdiv = new U.UF.UI.form(
  5013. "思维导图-" + _username,
  5014. _box, { //"/jsmind/example/demo.html"
  5015. "id": "mind" + cid + stage + task + tool + _userid,
  5016. "style": {
  5017. "width": "90%",
  5018. "height": "90%",
  5019. "overflow": 'hidden'
  5020. },
  5021. "onresize": function () { }
  5022. }, {
  5023. closecallback: function () { }
  5024. }, {
  5025. "style": {
  5026. "height": "36px"
  5027. }
  5028. }).form; //创建窗体
  5029. _taskbar = {
  5030. "id": str + _formdiv.id,
  5031. "style": {
  5032. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5033. },
  5034. "name": "思维导图",
  5035. "forms": _formdiv,
  5036. "click": function () {
  5037. U.MD.D.I.openApplication(str, obj, info);
  5038. }
  5039. }
  5040. break;
  5041. case "doc":
  5042. aTool = 6;
  5043. _iframe = $$("iframe", {
  5044. "frameborder": "no",
  5045. "border": "0",
  5046. "scrolling ": "no",
  5047. "style": {
  5048. "cssText": "border:0;width:100%;height:100%"
  5049. },
  5050. "src": "/Office/Word/WordEditArea.htm"
  5051. })
  5052. _box.appendChild(_iframe);
  5053. _box.appendChild(_jie);
  5054. _formdiv = new U.UF.UI.form(
  5055. "协同文档-" + _username,
  5056. _box, {
  5057. "id": "doc" + cid + stage + task + tool + _userid,
  5058. "style": {
  5059. "width": "90%",
  5060. "height": "90%",
  5061. "overflow": 'hidden'
  5062. },
  5063. "onresize": function () { }
  5064. }, {
  5065. closecallback: function () { }
  5066. }, {
  5067. "style": {
  5068. "height": "36px"
  5069. }
  5070. }).form; //创建窗体
  5071. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5072. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5073. })
  5074. _taskbar = {
  5075. "id": str + _formdiv.id,
  5076. "style": {
  5077. "backgroundImage": "url(/img/icon/doc.png)"
  5078. },
  5079. "name": "协同文档",
  5080. "forms": _formdiv,
  5081. "click": function () {
  5082. U.MD.D.I.openApplication(str, obj, info);
  5083. }
  5084. }
  5085. break;
  5086. case "mindNetwork": //好友打开
  5087. aTool = 7;
  5088. _iframe = $$("iframe", {
  5089. "webkitallowfullscreen": "",
  5090. "mozallowfullscreen": "",
  5091. "allowfullscreen": "",
  5092. "frameborder": "no",
  5093. "border": "0",
  5094. "scrolling ": "no",
  5095. "style": {
  5096. "cssText": "border:0; width:100%; height:100%;"
  5097. },
  5098. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5099. })
  5100. _box.appendChild(_iframe);
  5101. _box.appendChild(_jie);
  5102. _formdiv = new U.UF.UI.form(
  5103. "思维网格-" + _username,
  5104. _box, {
  5105. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5106. "style": {
  5107. "width": "90%",
  5108. "height": "90%",
  5109. "overflow": 'hidden'
  5110. },
  5111. "onresize": function () { }
  5112. }, {
  5113. closecallback: function () { }
  5114. }, {
  5115. "style": {
  5116. "height": "36px"
  5117. }
  5118. }).form; //创建窗体
  5119. _taskbar = {
  5120. "id": str + _formdiv.id,
  5121. "style": {
  5122. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5123. },
  5124. "name": "思维网格",
  5125. "forms": _formdiv,
  5126. "click": function () {
  5127. U.MD.D.I.openApplication(str, obj, info);
  5128. }
  5129. }
  5130. break;
  5131. case "courseDesign":
  5132. _iframe = $$("iframe", {
  5133. "webkitallowfullscreen": "",
  5134. "mozallowfullscreen": "",
  5135. "allowfullscreen": "",
  5136. "frameborder": "no",
  5137. "border": "0",
  5138. "scrolling ": "no",
  5139. "style": {
  5140. "cssText": "border:0; width:100%; height:100%;"
  5141. },
  5142. "src": "/course-design-vue"
  5143. })
  5144. _box.appendChild(_iframe);
  5145. _box.appendChild(_jie);
  5146. _formdiv = new U.UF.UI.form(
  5147. "项目设计-" + _username,
  5148. _box, {
  5149. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5150. "style": {
  5151. "width": "90%",
  5152. "height": "90%",
  5153. "overflow": 'hidden'
  5154. },
  5155. "onresize": function () { }
  5156. }, {
  5157. closecallback: function () { }
  5158. }, {
  5159. "style": {
  5160. "height": "36px"
  5161. }
  5162. }).form; //创建窗体
  5163. _taskbar = {
  5164. "id": str + _formdiv.id,
  5165. "style": {
  5166. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5167. },
  5168. "name": "项目设计",
  5169. "forms": _formdiv,
  5170. "click": function () {
  5171. U.MD.D.I.openApplication(str, obj, info);
  5172. }
  5173. }
  5174. break;
  5175. }
  5176. const script1 = document.createElement("script");
  5177. script1.type = "text/javascript";
  5178. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5179. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5180. const script2 = document.createElement("script");
  5181. script2.type = "text/javascript";
  5182. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5183. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5184. const script3 = document.createElement("script");
  5185. script3.type = "text/javascript";
  5186. script3.charset = "UTF-8";
  5187. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5188. const script4 = document.createElement("script");
  5189. script4.type = "text/javascript";
  5190. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5191. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5192. if (_iframe) {
  5193. if (str == 'doc') {
  5194. _iframe = _formdiv.querySelector('iframe')
  5195. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5196. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5197. _iframe.contentWindow.document.body.appendChild(script1);
  5198. _iframe.contentWindow.document.body.appendChild(script2);
  5199. // _iframe.contentWindow.document.body.appendChild(script3);
  5200. _iframe.contentWindow.document.body.appendChild(script4);
  5201. })
  5202. if (onloadListener) {
  5203. _iframe.contentDocument.location.reload()
  5204. } else {
  5205. _iframe.contentDocument.location.reload()
  5206. }
  5207. } else if (str == 'courseDesign') {
  5208. U.UF.DL.iframeLoad(_iframe, function () {
  5209. // _iframe.contentWindow.U.MD.O.W.load();
  5210. // _iframe.contentWindow.document.body.appendChild(script1);
  5211. _iframe.contentWindow.document.body.appendChild(script2);
  5212. _iframe.contentWindow.document.body.appendChild(script4);
  5213. })
  5214. } else if (str == 'mind') {
  5215. _iframe = _formdiv.querySelector('iframe')
  5216. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5217. //
  5218. _iframe.contentWindow.document.body.appendChild(script1);
  5219. _iframe.contentWindow.document.body.appendChild(script2);
  5220. _iframe.contentWindow.document.body.appendChild(script4);
  5221. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5222. })
  5223. if (onloadListener) {
  5224. _iframe.contentDocument.location.reload()
  5225. } else {
  5226. _iframe.contentDocument.location.reload()
  5227. }
  5228. } else if (str == 'whiteboard') {
  5229. _iframe = _formdiv.querySelector('iframe')
  5230. let onloadListener = _iframe.onload = () => {
  5231. _iframe.contentWindow.document.body.appendChild(script1);
  5232. _iframe.contentWindow.document.body.appendChild(script2);
  5233. _iframe.contentWindow.document.body.appendChild(script4);
  5234. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5235. };
  5236. if (onloadListener) {
  5237. _iframe.contentDocument.location.reload()
  5238. } else {
  5239. _iframe.contentDocument.location.reload()
  5240. }
  5241. } else {
  5242. _iframe.onload = () => {
  5243. _iframe.contentWindow.document.body.appendChild(script1);
  5244. _iframe.contentWindow.document.body.appendChild(script2);
  5245. // _iframe.contentWindow.document.body.appendChild(script3);
  5246. _iframe.contentWindow.document.body.appendChild(script4);
  5247. };
  5248. }
  5249. _jie.onclick = async () => {
  5250. let text = ''
  5251. if (aTool == 1) {
  5252. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5253. } else if (aTool == 6) {
  5254. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5255. } else if (aTool == 3) {
  5256. text = await U.MD.D.I.getEditorContent(_iframe);
  5257. }
  5258. _loading.style.display = 'flex'
  5259. console.log(_loading);
  5260. var _ajs = _iframe.contentWindow.document.createElement("script");
  5261. _ajs.type = "text/javascript";
  5262. _ajs.innerHTML =
  5263. // 'console.log(' + _loading + ');\n' +
  5264. 'var _js = document.createElement("script");\n' +
  5265. '_js.type="text/javascript";\n' +
  5266. '_js.charset="UTF-8";\n' +
  5267. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5268. "_js.onload = function(){\n" +
  5269. ' var a = document.getElementsByTagName("img")\n' +
  5270. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5271. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5272. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5273. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5274. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5275. "beforeUpload_shishi(file," +
  5276. "'" +
  5277. _userid +
  5278. "'" +
  5279. ", " +
  5280. "'" +
  5281. _cid +
  5282. "'" +
  5283. ", " +
  5284. "'" +
  5285. _stage +
  5286. "'" +
  5287. ", " +
  5288. "'" +
  5289. _task +
  5290. "'" +
  5291. ", " +
  5292. "'" +
  5293. _tool +
  5294. "'" +
  5295. ", " +
  5296. "'" +
  5297. (str + '_loadLi_JieTeacher' + cid + stage + task + tool+_userid) +
  5298. "'" +
  5299. ", " +
  5300. "'" +
  5301. aTool +
  5302. "'" +
  5303. ", " +
  5304. "`" +
  5305. text +
  5306. "`" +
  5307. ")\n" +
  5308. " });\n" +
  5309. "}\n" +
  5310. "document.head.appendChild(_js);\n";
  5311. _iframe.contentWindow.document.head.appendChild(_ajs);
  5312. }
  5313. }
  5314. }
  5315. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5316. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5317. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5318. _userid = student.userid, //登录用户id
  5319. _username = student.student //用户名字
  5320. let _iframe;
  5321. let _cid = cid,
  5322. _stage = stage,
  5323. _task = task,
  5324. _tool = tool;
  5325. var _jie = $$("div", {
  5326. "style": {
  5327. "position": "absolute",
  5328. "bottom": "50px",
  5329. "right": "50px",
  5330. "zIndex": "9999",
  5331. "backgroundColor": "#2268bc",
  5332. "color": "#fff",
  5333. "padding": "12px 20px",
  5334. "cursor": "pointer",
  5335. "borderRadius": "4px",
  5336. },
  5337. "innerHTML": "提交作业"
  5338. })
  5339. let aTool = ''
  5340. let _loading = document.createElement('div')
  5341. _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;"
  5342. // _loading.id = "";
  5343. let _lchild = document.createElement('div')
  5344. let _limg = document.createElement('img')
  5345. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5346. _limg.style = "width: 26px;margin-right: 10px;"
  5347. _lchild.appendChild(_limg)
  5348. let _lspan = document.createElement('span')
  5349. _lspan.innerHTML = "上传中..."
  5350. _lchild.appendChild(_lspan)
  5351. _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%);"
  5352. _loading.appendChild(_lchild)
  5353. var _box = $$('div', {
  5354. "style": {
  5355. "position": "relative",
  5356. "width": "100%",
  5357. "height": "100%",
  5358. },
  5359. })
  5360. _box.appendChild(_loading)
  5361. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5362. switch (str) {
  5363. case "whiteboard":
  5364. aTool = 1;
  5365. _iframe = $$("iframe", {
  5366. "frameborder": "no",
  5367. "border": "0",
  5368. "scrolling ": "no",
  5369. "style": {
  5370. "cssText": "border:0;width:100%;height:100%"
  5371. },
  5372. "src": "https://iwb.cocorobo.cn/"
  5373. })
  5374. _box.appendChild(_iframe);
  5375. _box.appendChild(_jie);
  5376. _formdiv = new U.UF.UI.form(
  5377. "电子白板-" + _username,
  5378. _box, {
  5379. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5380. "style": {
  5381. "width": "90%",
  5382. "height": "90%",
  5383. "overflow": 'hidden'
  5384. },
  5385. "onresize": function () { }
  5386. }, {
  5387. closecallback: function () { }
  5388. }, {
  5389. "style": {
  5390. "height": "36px"
  5391. }
  5392. }).form; //创建窗体
  5393. _taskbar = {
  5394. "id": str + _formdiv.id,
  5395. "style": {
  5396. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5397. },
  5398. "name": "电子白板",
  5399. "forms": _formdiv,
  5400. "click": function () {
  5401. U.MD.D.I.openApplication(str, obj, info);
  5402. }
  5403. }
  5404. break;
  5405. case "mind":
  5406. aTool = 3;
  5407. _iframe = $$("iframe", {
  5408. "frameborder": "no",
  5409. "border": "0",
  5410. "scrolling ": "no",
  5411. "style": {
  5412. "cssText": "border:0;width:100%;height:100%"
  5413. },
  5414. "src": "/kityminder-editor/dist/index.html"
  5415. })
  5416. _box.appendChild(_iframe);
  5417. _box.appendChild(_jie);
  5418. _formdiv = new U.UF.UI.form(
  5419. "思维导图-" + _username,
  5420. _box, { //"/jsmind/example/demo.html"
  5421. "id": "mind" + cid + stage + task + tool + _userid,
  5422. "style": {
  5423. "width": "90%",
  5424. "height": "90%",
  5425. "overflow": 'hidden'
  5426. },
  5427. "onresize": function () { }
  5428. }, {
  5429. closecallback: function () { }
  5430. }, {
  5431. "style": {
  5432. "height": "36px"
  5433. }
  5434. }).form; //创建窗体
  5435. _taskbar = {
  5436. "id": str + _formdiv.id,
  5437. "style": {
  5438. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5439. },
  5440. "name": "思维导图",
  5441. "forms": _formdiv,
  5442. "click": function () {
  5443. U.MD.D.I.openApplication(str, obj, info);
  5444. }
  5445. }
  5446. break;
  5447. case "MindMap":
  5448. aTool = 3;
  5449. _iframe = $$("iframe", {
  5450. "frameborder": "no",
  5451. "border": "0",
  5452. "scrolling ": "no",
  5453. "style": {
  5454. "cssText": "border:0;width:100%;height:100%"
  5455. },
  5456. "src": "//cloud.cocorobo.cn/mind/"
  5457. })
  5458. _box.appendChild(_iframe);
  5459. _box.appendChild(_jie);
  5460. _formdiv = new U.UF.UI.form(
  5461. "思维导图-" + _username,
  5462. _box, { //"/jsmind/example/demo.html"
  5463. "id": "mind" + cid + stage + task + tool + _userid,
  5464. "style": {
  5465. "width": "90%",
  5466. "height": "90%",
  5467. "overflow": 'hidden'
  5468. },
  5469. "onresize": function () { }
  5470. }, {
  5471. closecallback: function () { }
  5472. }, {
  5473. "style": {
  5474. "height": "36px"
  5475. }
  5476. }).form; //创建窗体
  5477. _taskbar = {
  5478. "id": str + _formdiv.id,
  5479. "style": {
  5480. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5481. },
  5482. "name": "思维导图",
  5483. "forms": _formdiv,
  5484. "click": function () {
  5485. U.MD.D.I.openApplication(str, obj, info);
  5486. }
  5487. }
  5488. break;
  5489. case "doc":
  5490. aTool = 6;
  5491. _iframe = $$("iframe", {
  5492. "frameborder": "no",
  5493. "border": "0",
  5494. "scrolling ": "no",
  5495. "style": {
  5496. "cssText": "border:0;width:100%;height:100%"
  5497. },
  5498. "src": "/Office/Word/WordEditArea.htm"
  5499. })
  5500. _box.appendChild(_iframe);
  5501. _box.appendChild(_jie);
  5502. _formdiv = new U.UF.UI.form(
  5503. "协同文档-" + _username,
  5504. _box, {
  5505. "id": "doc" + cid + stage + task + tool + _userid,
  5506. "style": {
  5507. "width": "90%",
  5508. "height": "90%",
  5509. "overflow": 'hidden'
  5510. },
  5511. "onresize": function () { }
  5512. }, {
  5513. closecallback: function () { }
  5514. }, {
  5515. "style": {
  5516. "height": "36px"
  5517. }
  5518. }).form; //创建窗体
  5519. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5520. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5521. })
  5522. _taskbar = {
  5523. "id": str + _formdiv.id,
  5524. "style": {
  5525. "backgroundImage": "url(/img/icon/doc.png)"
  5526. },
  5527. "name": "协同文档",
  5528. "forms": _formdiv,
  5529. "click": function () {
  5530. U.MD.D.I.openApplication(str, obj, info);
  5531. }
  5532. }
  5533. break;
  5534. case "mindNetwork": //好友打开
  5535. aTool = 7;
  5536. _iframe = $$("iframe", {
  5537. "webkitallowfullscreen": "",
  5538. "mozallowfullscreen": "",
  5539. "allowfullscreen": "",
  5540. "frameborder": "no",
  5541. "border": "0",
  5542. "scrolling ": "no",
  5543. "style": {
  5544. "cssText": "border:0; width:100%; height:100%;"
  5545. },
  5546. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5547. })
  5548. _box.appendChild(_iframe);
  5549. _box.appendChild(_jie);
  5550. _formdiv = new U.UF.UI.form(
  5551. "思维网格-" + _username,
  5552. _box, {
  5553. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5554. "style": {
  5555. "width": "90%",
  5556. "height": "90%",
  5557. "overflow": 'hidden'
  5558. },
  5559. "onresize": function () { }
  5560. }, {
  5561. closecallback: function () { }
  5562. }, {
  5563. "style": {
  5564. "height": "36px"
  5565. }
  5566. }).form; //创建窗体
  5567. _taskbar = {
  5568. "id": str + _formdiv.id,
  5569. "style": {
  5570. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5571. },
  5572. "name": "思维网格",
  5573. "forms": _formdiv,
  5574. "click": function () {
  5575. U.MD.D.I.openApplication(str, obj, info);
  5576. }
  5577. }
  5578. break;
  5579. case "courseDesign":
  5580. _iframe = $$("iframe", {
  5581. "webkitallowfullscreen": "",
  5582. "mozallowfullscreen": "",
  5583. "allowfullscreen": "",
  5584. "frameborder": "no",
  5585. "border": "0",
  5586. "scrolling ": "no",
  5587. "style": {
  5588. "cssText": "border:0; width:100%; height:100%;"
  5589. },
  5590. "src": "/course-design-vue"
  5591. })
  5592. _box.appendChild(_iframe);
  5593. _box.appendChild(_jie);
  5594. _formdiv = new U.UF.UI.form(
  5595. "项目设计-" + _username,
  5596. _box, {
  5597. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5598. "style": {
  5599. "width": "90%",
  5600. "height": "90%",
  5601. "overflow": 'hidden'
  5602. },
  5603. "onresize": function () { }
  5604. }, {
  5605. closecallback: function () { }
  5606. }, {
  5607. "style": {
  5608. "height": "36px"
  5609. }
  5610. }).form; //创建窗体
  5611. _taskbar = {
  5612. "id": str + _formdiv.id,
  5613. "style": {
  5614. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5615. },
  5616. "name": "项目设计",
  5617. "forms": _formdiv,
  5618. "click": function () {
  5619. U.MD.D.I.openApplication(str, obj, info);
  5620. }
  5621. }
  5622. break;
  5623. }
  5624. const script1 = document.createElement("script");
  5625. script1.type = "text/javascript";
  5626. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5627. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5628. const script2 = document.createElement("script");
  5629. script2.type = "text/javascript";
  5630. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5631. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5632. const script3 = document.createElement("script");
  5633. script3.type = "text/javascript";
  5634. script3.charset = "UTF-8";
  5635. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5636. const script4 = document.createElement("script");
  5637. script4.type = "text/javascript";
  5638. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5639. script4.src = window.origin + "/js/Common/jietu2E.js";
  5640. if (_iframe) {
  5641. if (str == 'doc') {
  5642. _iframe = _formdiv.querySelector('iframe')
  5643. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5644. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5645. _iframe.contentWindow.document.body.appendChild(script1);
  5646. _iframe.contentWindow.document.body.appendChild(script2);
  5647. // _iframe.contentWindow.document.body.appendChild(script3);
  5648. _iframe.contentWindow.document.body.appendChild(script4);
  5649. })
  5650. if (onloadListener) {
  5651. _iframe.contentDocument.location.reload()
  5652. } else {
  5653. _iframe.contentDocument.location.reload()
  5654. }
  5655. } else if (str == 'courseDesign') {
  5656. U.UF.DL.iframeLoad(_iframe, function () {
  5657. // _iframe.contentWindow.U.MD.O.W.load();
  5658. // _iframe.contentWindow.document.body.appendChild(script1);
  5659. _iframe.contentWindow.document.body.appendChild(script2);
  5660. _iframe.contentWindow.document.body.appendChild(script4);
  5661. })
  5662. } else if (str == 'mind') {
  5663. _iframe = _formdiv.querySelector('iframe')
  5664. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5665. //
  5666. _iframe.contentWindow.document.body.appendChild(script1);
  5667. _iframe.contentWindow.document.body.appendChild(script2);
  5668. _iframe.contentWindow.document.body.appendChild(script4);
  5669. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5670. })
  5671. if (onloadListener) {
  5672. _iframe.contentDocument.location.reload()
  5673. } else {
  5674. _iframe.contentDocument.location.reload()
  5675. }
  5676. } else if (str == 'whiteboard') {
  5677. _iframe = _formdiv.querySelector('iframe')
  5678. let onloadListener = _iframe.onload = () => {
  5679. _iframe.contentWindow.document.body.appendChild(script1);
  5680. _iframe.contentWindow.document.body.appendChild(script2);
  5681. _iframe.contentWindow.document.body.appendChild(script4);
  5682. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5683. };
  5684. if (onloadListener) {
  5685. _iframe.contentDocument.location.reload()
  5686. } else {
  5687. _iframe.contentDocument.location.reload()
  5688. }
  5689. } else {
  5690. _iframe.onload = () => {
  5691. _iframe.contentWindow.document.body.appendChild(script1);
  5692. _iframe.contentWindow.document.body.appendChild(script2);
  5693. // _iframe.contentWindow.document.body.appendChild(script3);
  5694. _iframe.contentWindow.document.body.appendChild(script4);
  5695. };
  5696. }
  5697. _jie.onclick = async () => {
  5698. let text = ''
  5699. if (aTool == 1) {
  5700. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5701. } else if (aTool == 6) {
  5702. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5703. } else if (aTool == 3) {
  5704. text = await U.MD.D.I.getEditorContent(_iframe);
  5705. }
  5706. _loading.style.display = 'flex'
  5707. console.log(_loading);
  5708. var _ajs = _iframe.contentWindow.document.createElement("script");
  5709. _ajs.type = "text/javascript";
  5710. _ajs.innerHTML =
  5711. // 'console.log(' + _loading + ');\n' +
  5712. 'var _js = document.createElement("script");\n' +
  5713. '_js.type="text/javascript";\n' +
  5714. '_js.charset="UTF-8";\n' +
  5715. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5716. "_js.onload = function(){\n" +
  5717. ' var a = document.getElementsByTagName("img")\n' +
  5718. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5719. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5720. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5721. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5722. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5723. "beforeUpload_shishi(file," +
  5724. "'" +
  5725. _userid +
  5726. "'" +
  5727. ", " +
  5728. "'" +
  5729. _cid +
  5730. "'" +
  5731. ", " +
  5732. "'" +
  5733. _stage +
  5734. "'" +
  5735. ", " +
  5736. "'" +
  5737. _task +
  5738. "'" +
  5739. ", " +
  5740. "'" +
  5741. _tool +
  5742. "'" +
  5743. ", " +
  5744. "'" +
  5745. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool+_userid) +
  5746. "'" +
  5747. ", " +
  5748. "'" +
  5749. aTool +
  5750. "'" +
  5751. ", " +
  5752. "`" +
  5753. text +
  5754. "`" +
  5755. ")\n" +
  5756. " });\n" +
  5757. "}\n" +
  5758. "document.head.appendChild(_js);\n";
  5759. _iframe.contentWindow.document.head.appendChild(_ajs);
  5760. }
  5761. }
  5762. }
  5763. U.MD.D.I.getEditorContent = function (iframe) {
  5764. return new Promise((resolve, reject) => {
  5765. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  5766. console.log(content);
  5767. resolve(content)
  5768. });
  5769. });
  5770. }
  5771. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  5772. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  5773. // if (res.value[0].length > 0) {
  5774. // // resolve(res.value[0][0].text);
  5775. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  5776. // $(fileInput).val('');
  5777. // });
  5778. // }
  5779. // }, [], { "type": "GET", "withCredentials": true });
  5780. var xmlhttp;
  5781. var Mac, Sn, DeviceId
  5782. if (window.XMLHttpRequest) {
  5783. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  5784. xmlhttp = new XMLHttpRequest();
  5785. }
  5786. else {
  5787. // IE6, IE5 浏览器执行代码
  5788. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  5789. }
  5790. xmlhttp.onreadystatechange = function () {
  5791. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  5792. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  5793. // resolve(res.value[0][0].text);
  5794. if (type == '2') {
  5795. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  5796. } else if (type == '3') {
  5797. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  5798. }
  5799. } else {
  5800. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  5801. }
  5802. }
  5803. }
  5804. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  5805. xmlhttp.send();
  5806. }
  5807. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  5808. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5809. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5810. _userinfo = US.userInfo, //登录用户信息
  5811. _userid = US.userInfo.userid //登录用户id
  5812. let _iframe;
  5813. let _cid = cid,
  5814. _stage = stage,
  5815. _task = task,
  5816. _tool = tool;
  5817. var _jie = $$("div", {
  5818. "style": {
  5819. "position": "absolute",
  5820. "bottom": "50px",
  5821. "right": "50px",
  5822. "zIndex": "9999",
  5823. "backgroundColor": "#2268bc",
  5824. "color": "#fff",
  5825. "padding": "12px 20px",
  5826. "cursor": "pointer",
  5827. "borderRadius": "4px",
  5828. },
  5829. "innerHTML": "确认并提交"
  5830. })
  5831. let aTool = ''
  5832. let _loading = document.createElement('div')
  5833. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  5834. // _loading.id = "";
  5835. let _lchild = document.createElement('div')
  5836. let _limg = document.createElement('img')
  5837. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5838. _limg.style = "width: 26px;margin-right: 10px;"
  5839. _lchild.appendChild(_limg)
  5840. let _lspan = document.createElement('span')
  5841. _lspan.innerHTML = "上传中..."
  5842. _lchild.appendChild(_lspan)
  5843. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  5844. _loading.appendChild(_lchild)
  5845. var _box = $$('div', {
  5846. "style": {
  5847. "position": "relative",
  5848. "width": "100%",
  5849. "height": "100%",
  5850. },
  5851. })
  5852. _box.appendChild(_loading)
  5853. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool+_userid
  5854. switch (str) {
  5855. case "whiteboard":
  5856. aTool = 1;
  5857. _iframe = $$("iframe", {
  5858. "frameborder": "no",
  5859. "border": "0",
  5860. "scrolling ": "no",
  5861. "style": {
  5862. "cssText": "border:0;width:100%;height:100%"
  5863. },
  5864. "src": "https://iwb.cocorobo.cn/"
  5865. })
  5866. _box.appendChild(_iframe);
  5867. _box.appendChild(_jie);
  5868. _formdiv = new U.UF.UI.form(
  5869. "电子白板",
  5870. _box, {
  5871. "id": "whiteboards" + cid + stage + task + tool,
  5872. "style": {
  5873. "width": "90%",
  5874. "height": "90%",
  5875. "overflow": 'hidden'
  5876. },
  5877. "onresize": function () { }
  5878. }, {
  5879. closecallback: function () { }
  5880. }, {
  5881. "style": {
  5882. "height": "36px"
  5883. }
  5884. }).form; //创建窗体
  5885. _taskbar = {
  5886. "id": str + _formdiv.id,
  5887. "style": {
  5888. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5889. },
  5890. "name": "电子白板",
  5891. "forms": _formdiv,
  5892. "click": function () {
  5893. U.MD.D.I.openApplication(str, obj, info);
  5894. }
  5895. }
  5896. break;
  5897. case "mind":
  5898. aTool = 3;
  5899. _iframe = $$("iframe", {
  5900. "frameborder": "no",
  5901. "border": "0",
  5902. "scrolling ": "no",
  5903. "style": {
  5904. "cssText": "border:0;width:100%;height:100%"
  5905. },
  5906. "src": "/kityminder-editor/dist/index.html"
  5907. });
  5908. _box.appendChild(_iframe);
  5909. _box.appendChild(_jie);
  5910. _formdiv = new U.UF.UI.form(
  5911. "思维导图",
  5912. _box, { //"/jsmind/example/demo.html"
  5913. "id": "minds" + cid + stage + task + tool,
  5914. "style": {
  5915. "width": "90%",
  5916. "height": "90%",
  5917. "overflow": 'hidden'
  5918. },
  5919. "onresize": function () { }
  5920. }, {
  5921. closecallback: function () { }
  5922. }, {
  5923. "style": {
  5924. "height": "36px"
  5925. }
  5926. }).form; //创建窗体
  5927. _taskbar = {
  5928. "id": str + _formdiv.id,
  5929. "style": {
  5930. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5931. },
  5932. "name": "思维导图",
  5933. "forms": _formdiv,
  5934. "click": function () {
  5935. U.MD.D.I.openApplication(str, obj, info);
  5936. }
  5937. }
  5938. break;
  5939. case "doc":
  5940. aTool = 6;
  5941. _iframe = $$("iframe", {
  5942. "frameborder": "no",
  5943. "border": "0",
  5944. "scrolling ": "no",
  5945. "style": {
  5946. "cssText": "border:0;width:100%;height:100%"
  5947. },
  5948. "src": "/Office/Word/WordEditArea.htm"
  5949. })
  5950. _box.appendChild(_iframe);
  5951. _box.appendChild(_jie);
  5952. _formdiv = new U.UF.UI.form(
  5953. "协同文档",
  5954. _box, {
  5955. "id": "docs" + cid + stage + task + tool,
  5956. "style": {
  5957. "width": "90%",
  5958. "height": "90%",
  5959. "overflow": 'hidden'
  5960. },
  5961. "onresize": function () { }
  5962. }, {
  5963. closecallback: function () { }
  5964. }, {
  5965. "style": {
  5966. "height": "36px"
  5967. }
  5968. }).form; //创建窗体
  5969. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5970. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  5971. })
  5972. _taskbar = {
  5973. "id": str + _formdiv.id,
  5974. "style": {
  5975. "backgroundImage": "url(/img/icon/doc.png)"
  5976. },
  5977. "name": "协同文档",
  5978. "forms": _formdiv,
  5979. "click": function () {
  5980. U.MD.D.I.openApplication(str, obj, info);
  5981. }
  5982. }
  5983. break;
  5984. }
  5985. const script1 = document.createElement("script");
  5986. script1.type = "text/javascript";
  5987. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5988. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5989. const script2 = document.createElement("script");
  5990. script2.type = "text/javascript";
  5991. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5992. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5993. const script3 = document.createElement("script");
  5994. script3.type = "text/javascript";
  5995. script3.charset = "UTF-8";
  5996. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5997. const script4 = document.createElement("script");
  5998. script4.type = "text/javascript";
  5999. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6000. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6001. if (_iframe) {
  6002. if (str == 'doc') {
  6003. _iframe = _formdiv.querySelector('iframe')
  6004. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6005. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6006. _iframe.contentWindow.document.body.appendChild(script1);
  6007. _iframe.contentWindow.document.body.appendChild(script2);
  6008. // _iframe.contentWindow.document.body.appendChild(script3);
  6009. _iframe.contentWindow.document.body.appendChild(script4);
  6010. })
  6011. if (onloadListener) {
  6012. _iframe.contentDocument.location.reload()
  6013. } else {
  6014. _iframe.contentDocument.location.reload()
  6015. }
  6016. } else if (str == 'mind') {
  6017. _iframe = _formdiv.querySelector('iframe')
  6018. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6019. _iframe.contentWindow.document.body.appendChild(script1);
  6020. _iframe.contentWindow.document.body.appendChild(script2);
  6021. _iframe.contentWindow.document.body.appendChild(script4);
  6022. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6023. })
  6024. if (onloadListener) {
  6025. _iframe.contentDocument.location.reload()
  6026. } else {
  6027. _iframe.contentDocument.location.reload()
  6028. }
  6029. } else {
  6030. _iframe.onload = () => {
  6031. _iframe.contentWindow.document.body.appendChild(script1);
  6032. _iframe.contentWindow.document.body.appendChild(script2);
  6033. // _iframe.contentWindow.document.body.appendChild(script3);
  6034. _iframe.contentWindow.document.body.appendChild(script4);
  6035. };
  6036. }
  6037. _jie.onclick = async () => {
  6038. let text = ''
  6039. if (aTool == 6) {
  6040. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6041. } else if (aTool == 3) {
  6042. text = await U.MD.D.I.getEditorContent(_iframe);
  6043. }
  6044. _loading.style.display = 'flex'
  6045. console.log(_loading);
  6046. var _ajs = _iframe.contentWindow.document.createElement("script");
  6047. _ajs.type = "text/javascript";
  6048. _ajs.innerHTML =
  6049. // 'console.log(' + _loading + ');\n' +
  6050. 'var _js = document.createElement("script");\n' +
  6051. '_js.type="text/javascript";\n' +
  6052. '_js.charset="UTF-8";\n' +
  6053. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6054. "_js.onload = function(){\n" +
  6055. ' var a = document.getElementsByTagName("img")\n' +
  6056. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6057. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6058. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6059. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6060. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6061. "beforeUpload_shishi(file," +
  6062. "'" +
  6063. _userid +
  6064. "'" +
  6065. ", " +
  6066. "'" +
  6067. _cid +
  6068. "'" +
  6069. ", " +
  6070. "'" +
  6071. _stage +
  6072. "'" +
  6073. ", " +
  6074. "'" +
  6075. _task +
  6076. "'" +
  6077. ", " +
  6078. "'" +
  6079. _tool +
  6080. "'" +
  6081. ", " +
  6082. "'" +
  6083. (str + '_loadLi_JieS' + cid + stage + task + tool+_userid) +
  6084. "'" +
  6085. ", " +
  6086. "'" +
  6087. aTool +
  6088. "'" +
  6089. ", " +
  6090. "`" +
  6091. text +
  6092. "`" +
  6093. ")\n" +
  6094. " });\n" +
  6095. "}\n" +
  6096. "document.head.appendChild(_js);\n";
  6097. _iframe.contentWindow.document.head.appendChild(_ajs);
  6098. }
  6099. }
  6100. //U.MD.D.I.openClick(str);
  6101. //如果有任务栏信息
  6102. // if (_taskbar) {
  6103. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6104. // }
  6105. }
  6106. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6107. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6108. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6109. _userinfo = US.userInfo, //登录用户信息
  6110. _userid = US.userInfo.userid //登录用户id
  6111. let _iframe;
  6112. let _cid = cid,
  6113. _stage = stage,
  6114. _task = task,
  6115. _tool = tool;
  6116. var _jie = $$("div", {
  6117. "style": {
  6118. "position": "absolute",
  6119. "bottom": "50px",
  6120. "right": "50px",
  6121. "zIndex": "9999",
  6122. "backgroundColor": "#2268bc",
  6123. "color": "#fff",
  6124. "padding": "12px 20px",
  6125. "cursor": "pointer",
  6126. "borderRadius": "4px",
  6127. },
  6128. "innerHTML": "确认并提交"
  6129. })
  6130. let aTool = ''
  6131. let _loading = document.createElement('div')
  6132. _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;"
  6133. // _loading.id = "";
  6134. let _lchild = document.createElement('div')
  6135. let _limg = document.createElement('img')
  6136. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6137. _limg.style = "width: 26px;margin-right: 10px;"
  6138. _lchild.appendChild(_limg)
  6139. let _lspan = document.createElement('span')
  6140. _lspan.innerHTML = "上传中..."
  6141. _lchild.appendChild(_lspan)
  6142. _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%);"
  6143. _loading.appendChild(_lchild)
  6144. var _box = $$('div', {
  6145. "style": {
  6146. "position": "relative",
  6147. "width": "100%",
  6148. "height": "100%",
  6149. },
  6150. })
  6151. _box.appendChild(_loading)
  6152. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool+_userid
  6153. switch (str) {
  6154. case "whiteboard":
  6155. aTool = 1;
  6156. _iframe = $$("iframe", {
  6157. "frameborder": "no",
  6158. "border": "0",
  6159. "scrolling ": "no",
  6160. "style": {
  6161. "cssText": "border:0;width:100%;height:100%"
  6162. },
  6163. "src": "https://iwb.cocorobo.cn/"
  6164. })
  6165. _box.appendChild(_iframe);
  6166. _box.appendChild(_jie);
  6167. _formdiv = new U.UF.UI.form(
  6168. "电子白板",
  6169. _box, {
  6170. "id": "whiteboards" + cid + stage + task + tool,
  6171. "style": {
  6172. "width": "90%",
  6173. "height": "90%",
  6174. "overflow": 'hidden'
  6175. },
  6176. "onresize": function () { }
  6177. }, {
  6178. closecallback: function () { }
  6179. }, {
  6180. "style": {
  6181. "height": "36px"
  6182. }
  6183. }).form; //创建窗体
  6184. _taskbar = {
  6185. "id": str + _formdiv.id,
  6186. "style": {
  6187. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6188. },
  6189. "name": "电子白板",
  6190. "forms": _formdiv,
  6191. "click": function () {
  6192. U.MD.D.I.openApplication(str, obj, info);
  6193. }
  6194. }
  6195. break;
  6196. case "mind":
  6197. aTool = 3;
  6198. _iframe = $$("iframe", {
  6199. "frameborder": "no",
  6200. "border": "0",
  6201. "scrolling ": "no",
  6202. "style": {
  6203. "cssText": "border:0;width:100%;height:100%"
  6204. },
  6205. "src": "/kityminder-editor/dist/index.html"
  6206. });
  6207. _box.appendChild(_iframe);
  6208. _box.appendChild(_jie);
  6209. _formdiv = new U.UF.UI.form(
  6210. "思维导图",
  6211. _box, { //"/jsmind/example/demo.html"
  6212. "id": "minds" + cid + stage + task + tool,
  6213. "style": {
  6214. "width": "90%",
  6215. "height": "90%",
  6216. "overflow": 'hidden'
  6217. },
  6218. "onresize": function () { }
  6219. }, {
  6220. closecallback: function () { }
  6221. }, {
  6222. "style": {
  6223. "height": "36px"
  6224. }
  6225. }).form; //创建窗体
  6226. _taskbar = {
  6227. "id": str + _formdiv.id,
  6228. "style": {
  6229. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6230. },
  6231. "name": "思维导图",
  6232. "forms": _formdiv,
  6233. "click": function () {
  6234. U.MD.D.I.openApplication(str, obj, info);
  6235. }
  6236. }
  6237. break;
  6238. case "doc":
  6239. aTool = 6;
  6240. _iframe = $$("iframe", {
  6241. "frameborder": "no",
  6242. "border": "0",
  6243. "scrolling ": "no",
  6244. "style": {
  6245. "cssText": "border:0;width:100%;height:100%"
  6246. },
  6247. "src": "/Office/Word/WordEditArea.htm"
  6248. })
  6249. _box.appendChild(_iframe);
  6250. _box.appendChild(_jie);
  6251. _formdiv = new U.UF.UI.form(
  6252. "协同文档",
  6253. _box, {
  6254. "id": "docs" + cid + stage + task + tool,
  6255. "style": {
  6256. "width": "90%",
  6257. "height": "90%",
  6258. "overflow": 'hidden'
  6259. },
  6260. "onresize": function () { }
  6261. }, {
  6262. closecallback: function () { }
  6263. }, {
  6264. "style": {
  6265. "height": "36px"
  6266. }
  6267. }).form; //创建窗体
  6268. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6269. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6270. })
  6271. _taskbar = {
  6272. "id": str + _formdiv.id,
  6273. "style": {
  6274. "backgroundImage": "url(/img/icon/doc.png)"
  6275. },
  6276. "name": "协同文档",
  6277. "forms": _formdiv,
  6278. "click": function () {
  6279. U.MD.D.I.openApplication(str, obj, info);
  6280. }
  6281. }
  6282. break;
  6283. }
  6284. const script1 = document.createElement("script");
  6285. script1.type = "text/javascript";
  6286. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6287. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6288. const script2 = document.createElement("script");
  6289. script2.type = "text/javascript";
  6290. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6291. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6292. const script3 = document.createElement("script");
  6293. script3.type = "text/javascript";
  6294. script3.charset = "UTF-8";
  6295. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6296. const script4 = document.createElement("script");
  6297. script4.type = "text/javascript";
  6298. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6299. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6300. if (_iframe) {
  6301. if (str == 'doc') {
  6302. _iframe = _formdiv.querySelector('iframe')
  6303. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6304. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6305. _iframe.contentWindow.document.body.appendChild(script1);
  6306. _iframe.contentWindow.document.body.appendChild(script2);
  6307. // _iframe.contentWindow.document.body.appendChild(script3);
  6308. _iframe.contentWindow.document.body.appendChild(script4);
  6309. })
  6310. if (onloadListener) {
  6311. _iframe.contentDocument.location.reload()
  6312. } else {
  6313. _iframe.contentDocument.location.reload()
  6314. }
  6315. } else if (str == 'mind') {
  6316. _iframe = _formdiv.querySelector('iframe')
  6317. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6318. _iframe.contentWindow.document.body.appendChild(script1);
  6319. _iframe.contentWindow.document.body.appendChild(script2);
  6320. _iframe.contentWindow.document.body.appendChild(script4);
  6321. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6322. })
  6323. if (onloadListener) {
  6324. _iframe.contentDocument.location.reload()
  6325. } else {
  6326. _iframe.contentDocument.location.reload()
  6327. }
  6328. } else {
  6329. _iframe.onload = () => {
  6330. _iframe.contentWindow.document.body.appendChild(script1);
  6331. _iframe.contentWindow.document.body.appendChild(script2);
  6332. // _iframe.contentWindow.document.body.appendChild(script3);
  6333. _iframe.contentWindow.document.body.appendChild(script4);
  6334. };
  6335. }
  6336. _jie.onclick = async () => {
  6337. let text = ''
  6338. if (aTool == 6) {
  6339. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6340. } else if (aTool == 3) {
  6341. text = await U.MD.D.I.getEditorContent(_iframe);
  6342. }
  6343. _loading.style.display = 'flex'
  6344. console.log(_loading);
  6345. var _ajs = _iframe.contentWindow.document.createElement("script");
  6346. _ajs.type = "text/javascript";
  6347. _ajs.innerHTML =
  6348. // 'console.log(' + _loading + ');\n' +
  6349. 'var _js = document.createElement("script");\n' +
  6350. '_js.type="text/javascript";\n' +
  6351. '_js.charset="UTF-8";\n' +
  6352. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6353. "_js.onload = function(){\n" +
  6354. ' var a = document.getElementsByTagName("img")\n' +
  6355. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6356. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6357. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6358. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6359. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6360. "beforeUpload_shishi(file," +
  6361. "'" +
  6362. _userid +
  6363. "'" +
  6364. ", " +
  6365. "'" +
  6366. _cid +
  6367. "'" +
  6368. ", " +
  6369. "'" +
  6370. _stage +
  6371. "'" +
  6372. ", " +
  6373. "'" +
  6374. _task +
  6375. "'" +
  6376. ", " +
  6377. "'" +
  6378. _tool +
  6379. "'" +
  6380. ", " +
  6381. "'" +
  6382. (str + '_loadLi_JieStudio' + cid + stage + task + tool+_userid) +
  6383. "'" +
  6384. ", " +
  6385. "'" +
  6386. aTool +
  6387. "'" +
  6388. ", " +
  6389. "`" +
  6390. text +
  6391. "`" +
  6392. ")\n" +
  6393. " });\n" +
  6394. "}\n" +
  6395. "document.head.appendChild(_js);\n";
  6396. _iframe.contentWindow.document.head.appendChild(_ajs);
  6397. }
  6398. }
  6399. //U.MD.D.I.openClick(str);
  6400. //如果有任务栏信息
  6401. // if (_taskbar) {
  6402. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6403. // }
  6404. }
  6405. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6406. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6407. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6408. _userinfo = US.userInfo, //登录用户信息
  6409. _userid = US.userInfo.userid //登录用户id
  6410. let _iframe;
  6411. let _cid = cid,
  6412. _stage = stage,
  6413. _task = task,
  6414. _tool = tool;
  6415. var _jie = $$("div", {
  6416. "style": {
  6417. "position": "absolute",
  6418. "bottom": "50px",
  6419. "right": "50px",
  6420. "zIndex": "9999",
  6421. "backgroundColor": "#2268bc",
  6422. "color": "#fff",
  6423. "padding": "12px 20px",
  6424. "cursor": "pointer",
  6425. "borderRadius": "4px",
  6426. },
  6427. "innerHTML": "上传模板"
  6428. })
  6429. let aTool = ''
  6430. let _loading = document.createElement('div')
  6431. _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;"
  6432. // _loading.id = "";
  6433. let _lchild = document.createElement('div')
  6434. let _limg = document.createElement('img')
  6435. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6436. _limg.style = "width: 26px;margin-right: 10px;"
  6437. _lchild.appendChild(_limg)
  6438. let _lspan = document.createElement('span')
  6439. _lspan.innerHTML = "上传中..."
  6440. _lchild.appendChild(_lspan)
  6441. _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%);"
  6442. _loading.appendChild(_lchild)
  6443. var _box = $$('div', {
  6444. "style": {
  6445. "position": "relative",
  6446. "width": "100%",
  6447. "height": "100%",
  6448. },
  6449. })
  6450. _box.appendChild(_loading)
  6451. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool+_userid
  6452. switch (str) {
  6453. case "whiteboard":
  6454. aTool = 1;
  6455. _iframe = $$("iframe", {
  6456. "frameborder": "no",
  6457. "border": "0",
  6458. "scrolling ": "no",
  6459. "style": {
  6460. "cssText": "border:0;width:100%;height:100%"
  6461. },
  6462. "src": "https://iwb.cocorobo.cn/"
  6463. })
  6464. _box.appendChild(_iframe);
  6465. _box.appendChild(_jie);
  6466. _formdiv = new U.UF.UI.form(
  6467. "电子白板",
  6468. _box, {
  6469. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6470. "style": {
  6471. "width": "90%",
  6472. "height": "90%",
  6473. "overflow": 'hidden'
  6474. },
  6475. "onresize": function () { }
  6476. }, {
  6477. closecallback: function () { }
  6478. }, {
  6479. "style": {
  6480. "height": "36px"
  6481. }
  6482. }).form; //创建窗体
  6483. _taskbar = {
  6484. "id": str + _formdiv.id,
  6485. "style": {
  6486. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6487. },
  6488. "name": "电子白板",
  6489. "forms": _formdiv,
  6490. "click": function () {
  6491. U.MD.D.I.openApplication(str, obj, info);
  6492. }
  6493. }
  6494. break;
  6495. case "mind":
  6496. aTool = 3;
  6497. _iframe = $$("iframe", {
  6498. "frameborder": "no",
  6499. "border": "0",
  6500. "scrolling ": "no",
  6501. "style": {
  6502. "cssText": "border:0;width:100%;height:100%"
  6503. },
  6504. "src": "/kityminder-editor/dist/index.html"
  6505. });
  6506. _box.appendChild(_iframe);
  6507. _box.appendChild(_jie);
  6508. _formdiv = new U.UF.UI.form(
  6509. "思维导图",
  6510. _box, { //"/jsmind/example/demo.html"
  6511. "id": "minds_Yu" + cid + stage + task + tool,
  6512. "style": {
  6513. "width": "90%",
  6514. "height": "90%",
  6515. "overflow": 'hidden'
  6516. },
  6517. "onresize": function () { }
  6518. }, {
  6519. closecallback: function () { }
  6520. }, {
  6521. "style": {
  6522. "height": "36px"
  6523. }
  6524. }).form; //创建窗体
  6525. _taskbar = {
  6526. "id": str + _formdiv.id,
  6527. "style": {
  6528. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6529. },
  6530. "name": "思维导图",
  6531. "forms": _formdiv,
  6532. "click": function () {
  6533. U.MD.D.I.openApplication(str, obj, info);
  6534. }
  6535. }
  6536. break;
  6537. case "doc":
  6538. aTool = 6;
  6539. _iframe = $$("iframe", {
  6540. "frameborder": "no",
  6541. "border": "0",
  6542. "scrolling ": "no",
  6543. "style": {
  6544. "cssText": "border:0;width:100%;height:100%"
  6545. },
  6546. "src": "/Office/Word/WordEditArea.htm"
  6547. })
  6548. _box.appendChild(_iframe);
  6549. _box.appendChild(_jie);
  6550. _formdiv = new U.UF.UI.form(
  6551. "协同文档",
  6552. _box, {
  6553. "id": "docs_Yu" + cid + stage + task + tool,
  6554. "style": {
  6555. "width": "90%",
  6556. "height": "90%",
  6557. "overflow": 'hidden'
  6558. },
  6559. "onresize": function () { }
  6560. }, {
  6561. closecallback: function () { }
  6562. }, {
  6563. "style": {
  6564. "height": "36px"
  6565. }
  6566. }).form; //创建窗体
  6567. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6568. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6569. })
  6570. _taskbar = {
  6571. "id": str + _formdiv.id,
  6572. "style": {
  6573. "backgroundImage": "url(/img/icon/doc.png)"
  6574. },
  6575. "name": "协同文档",
  6576. "forms": _formdiv,
  6577. "click": function () {
  6578. U.MD.D.I.openApplication(str, obj, info);
  6579. }
  6580. }
  6581. break;
  6582. case "CocoPi":
  6583. aTool = 57;
  6584. _iframe = $$("iframe", {
  6585. "allowpaymentrequest":"allowpaymentrequest",
  6586. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6587. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6588. "frameborder": "no",
  6589. "border": "0",
  6590. "scrolling ": "no",
  6591. "style": {
  6592. "cssText": "border:0;width:100%;height:100%"
  6593. },
  6594. "src": "https://pi.cocorobo.cn/"
  6595. })
  6596. _box.appendChild(_iframe);
  6597. _box.appendChild(_jie);
  6598. _formdiv = new U.UF.UI.form(
  6599. "CocoPi",
  6600. _box, {
  6601. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6602. "style": {
  6603. "width": "90%",
  6604. "height": "90%",
  6605. "overflow": 'hidden'
  6606. },
  6607. "onresize": function () { }
  6608. }, {
  6609. closecallback: function () { }
  6610. }, {
  6611. "style": {
  6612. "height": "36px"
  6613. }
  6614. }).form; //创建窗体
  6615. _taskbar = {
  6616. "id": str + _formdiv.id,
  6617. "style": {
  6618. "backgroundImage": "url(/img/icon/cocopi.png)"
  6619. },
  6620. "name": "CocoPi",
  6621. "forms": _formdiv,
  6622. "click": function () {
  6623. U.MD.D.I.openApplication(str, obj, info);
  6624. }
  6625. }
  6626. break;
  6627. }
  6628. if (_iframe) {
  6629. if (str == 'doc') {
  6630. _iframe = _formdiv.querySelector('iframe')
  6631. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6632. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6633. })
  6634. if (onloadListener) {
  6635. _iframe.contentDocument.location.reload()
  6636. } else {
  6637. _iframe.contentDocument.location.reload()
  6638. }
  6639. } else if (str == 'mind') {
  6640. _iframe = _formdiv.querySelector('iframe')
  6641. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6642. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6643. })
  6644. if (onloadListener) {
  6645. _iframe.contentDocument.location.reload()
  6646. } else {
  6647. _iframe.contentDocument.location.reload()
  6648. }
  6649. } else if (str == 'whiteboard') {
  6650. _iframe = _formdiv.querySelector('iframe')
  6651. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6652. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6653. })
  6654. if (onloadListener) {
  6655. _iframe.contentDocument.location.reload()
  6656. } else {
  6657. _iframe.contentDocument.location.reload()
  6658. }
  6659. } else if (str == 'CocoPi') {
  6660. _iframe = _formdiv.querySelector('iframe')
  6661. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6662. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6663. })
  6664. if (onloadListener) {
  6665. _iframe.contentDocument.location.reload()
  6666. } else {
  6667. _iframe.contentDocument.location.reload()
  6668. }
  6669. } else {
  6670. _iframe.onload = () => {
  6671. };
  6672. }
  6673. _jie.onclick = async () => {
  6674. let text = ''
  6675. let type = '2'
  6676. if (aTool == 1) {
  6677. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6678. type = '3'
  6679. } else if (aTool == 6) {
  6680. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6681. type = '1'
  6682. } else if (aTool == 3) {
  6683. text = await U.MD.D.I.getEditorContent(_iframe);
  6684. type = '2'
  6685. } else if (aTool == 57) {
  6686. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6687. type = '4'
  6688. }
  6689. _loading.style.display = 'flex'
  6690. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6691. }
  6692. }
  6693. //U.MD.D.I.openClick(str);
  6694. //如果有任务栏信息
  6695. // if (_taskbar) {
  6696. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6697. // }
  6698. }
  6699. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  6700. var xmlhttp;
  6701. var Mac, Sn, DeviceId
  6702. if (window.XMLHttpRequest) {
  6703. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6704. xmlhttp = new XMLHttpRequest();
  6705. }
  6706. else {
  6707. // IE6, IE5 浏览器执行代码
  6708. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6709. }
  6710. xmlhttp.onreadystatechange = function () {
  6711. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6712. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6713. // resolve(res.value[0][0].text);
  6714. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6715. }
  6716. }
  6717. }
  6718. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6719. xmlhttp.send();
  6720. }
  6721. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  6722. var xmlhttp;
  6723. var Mac, Sn, DeviceId
  6724. if (window.XMLHttpRequest) {
  6725. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6726. xmlhttp = new XMLHttpRequest();
  6727. }
  6728. else {
  6729. // IE6, IE5 浏览器执行代码
  6730. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6731. }
  6732. xmlhttp.onreadystatechange = function () {
  6733. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6734. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6735. // resolve(res.value[0][0].text);
  6736. if (type == '2') {
  6737. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6738. } else if (type == '3') {
  6739. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6740. } else if (type == '4') {
  6741. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6742. }
  6743. } else {
  6744. if (type == '2') {
  6745. iframe.contentWindow.editor.minder.importData('json', '')
  6746. } else if (type == '3') {
  6747. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6748. } else if (type == '4') {
  6749. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6750. }
  6751. }
  6752. }
  6753. }
  6754. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6755. xmlhttp.send();
  6756. }
  6757. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  6758. var xmlhttp;
  6759. var Mac, Sn, DeviceId
  6760. if (window.XMLHttpRequest) {
  6761. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6762. xmlhttp = new XMLHttpRequest();
  6763. }
  6764. else {
  6765. // IE6, IE5 浏览器执行代码
  6766. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6767. }
  6768. xmlhttp.onreadystatechange = function () {
  6769. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6770. if (xmlhttp.response) {
  6771. // resolve(res.value[0][0].text);
  6772. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  6773. // $(fileInput).val('');
  6774. // });
  6775. span.innerHTML = '上传成功'
  6776. setTimeout(() => {
  6777. loading.style.display = 'none'
  6778. }, 1000);
  6779. }
  6780. }
  6781. }
  6782. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  6783. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  6784. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  6785. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  6786. // 设置请求头,表示请求体的编码格式
  6787. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  6788. // 设置请求体,使用url-encoded格式的数据
  6789. }
  6790. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  6791. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6792. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6793. _userinfo = US.userInfo, //登录用户信息
  6794. _userid = US.userInfo.userid //登录用户id
  6795. let _iframe;
  6796. let _cid = cid,
  6797. _stage = stage,
  6798. _task = task,
  6799. _tool = tool;
  6800. var _jie = $$("div", {
  6801. "style": {
  6802. "position": "absolute",
  6803. "bottom": "50px",
  6804. "right": "50px",
  6805. "zIndex": "9999",
  6806. "backgroundColor": "#2268bc",
  6807. "color": "#fff",
  6808. "padding": "12px 20px",
  6809. "cursor": "pointer",
  6810. "borderRadius": "4px",
  6811. },
  6812. "innerHTML": "提交作业"
  6813. })
  6814. let aTool = ''
  6815. let _loading = document.createElement('div')
  6816. _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;"
  6817. // _loading.id = "";
  6818. let _lchild = document.createElement('div')
  6819. let _limg = document.createElement('img')
  6820. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6821. _limg.style = "width: 26px;margin-right: 10px;"
  6822. _lchild.appendChild(_limg)
  6823. let _lspan = document.createElement('span')
  6824. _lspan.innerHTML = "上传中..."
  6825. _lchild.appendChild(_lspan)
  6826. _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%);"
  6827. _loading.appendChild(_lchild)
  6828. var _box = $$('div', {
  6829. "style": {
  6830. "position": "relative",
  6831. "width": "100%",
  6832. "height": "100%",
  6833. },
  6834. })
  6835. _box.appendChild(_loading)
  6836. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool+_userid
  6837. switch (str) {
  6838. case "CocoPi":
  6839. aTool = 57;
  6840. _iframe = $$("iframe", {
  6841. "allowpaymentrequest":"allowpaymentrequest",
  6842. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6843. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6844. "frameborder": "no",
  6845. "border": "0",
  6846. "scrolling ": "no",
  6847. "style": {
  6848. "cssText": "border:0;width:100%;height:100%"
  6849. },
  6850. "src": "https://pi.cocorobo.cn/"
  6851. })
  6852. _box.appendChild(_iframe);
  6853. _box.appendChild(_jie);
  6854. _formdiv = new U.UF.UI.form(
  6855. "CocoPi",
  6856. _box, {
  6857. "id": "CocoPi_Upload" + cid + stage + task + tool,
  6858. "style": {
  6859. "width": "90%",
  6860. "height": "90%",
  6861. "overflow": 'hidden'
  6862. },
  6863. "onresize": function () { }
  6864. }, {
  6865. closecallback: function () { }
  6866. }, {
  6867. "style": {
  6868. "height": "36px"
  6869. }
  6870. }).form; //创建窗体
  6871. _taskbar = {
  6872. "id": str + _formdiv.id,
  6873. "style": {
  6874. "backgroundImage": "url(/img/icon/cocopi.png)"
  6875. },
  6876. "name": "CocoPi",
  6877. "forms": _formdiv,
  6878. "click": function () {
  6879. U.MD.D.I.openApplication(str, obj, info);
  6880. }
  6881. }
  6882. break;
  6883. }
  6884. if (_iframe) {
  6885. if (str == 'CocoPi') {
  6886. _iframe = _formdiv.querySelector('iframe')
  6887. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6888. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool,'15', _iframe)
  6889. })
  6890. if (onloadListener) {
  6891. _iframe.contentDocument.location.reload()
  6892. } else {
  6893. _iframe.contentDocument.location.reload()
  6894. }
  6895. }
  6896. _jie.onclick = async () => {
  6897. let text = ''
  6898. if (aTool == 57) {
  6899. text = _iframe.contentWindow.getLoadXmlStr()
  6900. }
  6901. _loading.style.display = 'flex'
  6902. console.log(_loading);
  6903. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  6904. _loading.style.display = 'none'
  6905. let _div = document.createElement('div')
  6906. _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;"
  6907. let _inner = document.createElement('div')
  6908. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  6909. _inner.innerHTML = "上传成功"
  6910. _div.appendChild(_inner)
  6911. _iframe.contentWindow.window.document.body.appendChild(_div)
  6912. _div.onclick = () => {
  6913. _iframe.contentWindow.window.document.body.removeChild(_div)
  6914. }
  6915. setTimeout(() => {
  6916. _iframe.contentWindow.window.document.body.removeChild(_div)
  6917. }, 1000);
  6918. }, [], { "type": "POST", "withCredentials": true });
  6919. }
  6920. }
  6921. }
  6922. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  6923. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6924. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6925. _userid = student.userid, //登录用户id
  6926. _username = student.student //用户名字
  6927. let _iframe;
  6928. let _cid = cid,
  6929. _stage = stage,
  6930. _task = task,
  6931. _tool = tool;
  6932. var _jie = $$("div", {
  6933. "style": {
  6934. "position": "absolute",
  6935. "bottom": "50px",
  6936. "right": "50px",
  6937. "zIndex": "9999",
  6938. "backgroundColor": "#2268bc",
  6939. "color": "#fff",
  6940. "padding": "12px 20px",
  6941. "cursor": "pointer",
  6942. "borderRadius": "4px",
  6943. },
  6944. "innerHTML": "提交作业"
  6945. })
  6946. let aTool = ''
  6947. let _loading = document.createElement('div')
  6948. _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;"
  6949. // _loading.id = "";
  6950. let _lchild = document.createElement('div')
  6951. let _limg = document.createElement('img')
  6952. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6953. _limg.style = "width: 26px;margin-right: 10px;"
  6954. _lchild.appendChild(_limg)
  6955. let _lspan = document.createElement('span')
  6956. _lspan.innerHTML = "上传中..."
  6957. _lchild.appendChild(_lspan)
  6958. _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%);"
  6959. _loading.appendChild(_lchild)
  6960. var _box = $$('div', {
  6961. "style": {
  6962. "position": "relative",
  6963. "width": "100%",
  6964. "height": "100%",
  6965. },
  6966. })
  6967. _box.appendChild(_loading)
  6968. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool+_userid
  6969. switch (str) {
  6970. case "CocoPi":
  6971. aTool = 57;
  6972. _iframe = $$("iframe", {
  6973. "allowpaymentrequest":"allowpaymentrequest",
  6974. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6975. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6976. "frameborder": "no",
  6977. "border": "0",
  6978. "scrolling ": "no",
  6979. "style": {
  6980. "cssText": "border:0;width:100%;height:100%"
  6981. },
  6982. "src": "https://pi.cocorobo.cn/"
  6983. })
  6984. _box.appendChild(_iframe);
  6985. _box.appendChild(_jie);
  6986. _formdiv = new U.UF.UI.form(
  6987. "CocoPi-" + _username,
  6988. _box, {
  6989. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  6990. "style": {
  6991. "width": "90%",
  6992. "height": "90%",
  6993. "overflow": 'hidden'
  6994. },
  6995. "onresize": function () { }
  6996. }, {
  6997. closecallback: function () { }
  6998. }, {
  6999. "style": {
  7000. "height": "36px"
  7001. }
  7002. }).form; //创建窗体
  7003. _taskbar = {
  7004. "id": str + _formdiv.id,
  7005. "style": {
  7006. "backgroundImage": "url(/img/icon/cocopi.png)"
  7007. },
  7008. "name": "CocoPi",
  7009. "forms": _formdiv,
  7010. "click": function () {
  7011. U.MD.D.I.openApplication(str, obj, info);
  7012. }
  7013. }
  7014. break;
  7015. }
  7016. if (_iframe) {
  7017. if (str == 'CocoPi') {
  7018. _iframe = _formdiv.querySelector('iframe')
  7019. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7020. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool,'15', _iframe)
  7021. })
  7022. if (onloadListener) {
  7023. _iframe.contentDocument.location.reload()
  7024. } else {
  7025. _iframe.contentDocument.location.reload()
  7026. }
  7027. }
  7028. _jie.onclick = async () => {
  7029. let text = ''
  7030. if (aTool == 57) {
  7031. text = _iframe.contentWindow.getLoadXmlStr()
  7032. }
  7033. _loading.style.display = 'flex'
  7034. console.log(_loading);
  7035. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7036. _loading.style.display = 'none'
  7037. let _div = document.createElement('div')
  7038. _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;"
  7039. let _inner = document.createElement('div')
  7040. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7041. _inner.innerHTML = "上传成功"
  7042. _div.appendChild(_inner)
  7043. _iframe.contentWindow.window.document.body.appendChild(_div)
  7044. _div.onclick = () => {
  7045. _iframe.contentWindow.window.document.body.removeChild(_div)
  7046. }
  7047. setTimeout(() => {
  7048. _iframe.contentWindow.window.document.body.removeChild(_div)
  7049. }, 1000);
  7050. }, [], { "type": "POST", "withCredentials": true });
  7051. }
  7052. }
  7053. }
  7054. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7055. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7056. if (res.value[0].length > 0) {
  7057. if (atool == 57) {
  7058. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7059. }
  7060. } else {
  7061. if (atool == 57) {
  7062. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7063. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7064. }
  7065. }
  7066. }, [], { "type": "POST", "withCredentials": true });
  7067. }