DeskTop.js 441 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北师大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. ];
  338. U.MD.D.I.tcOrganizerDeskIcon = [
  339. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  340. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  341. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  343. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  344. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  345. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  346. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  347. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  348. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  349. ];
  350. U.MD.D.I.szscStudentDeskIcon = [
  351. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  352. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  353. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  354. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  355. ];
  356. U.MD.D.I.szscTeacherDeskIcon = [
  357. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  358. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  359. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  360. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  361. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  362. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  363. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  364. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  365. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  366. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  367. ];
  368. U.MD.D.I.szscOrganizerDeskIcon = [
  369. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  374. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  375. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  376. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  377. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  378. ];
  379. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  380. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  381. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  382. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  383. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  384. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  385. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  386. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  387. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  388. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  389. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  390. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  391. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  392. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  393. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  394. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  395. ];
  396. U.MD.D.I.wankeAdminDeskIcon = [
  397. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  398. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  399. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  400. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  401. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  402. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  403. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  404. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  405. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  406. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  407. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  410. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  411. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. ];
  413. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  414. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  424. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  425. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  426. ];
  427. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  428. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  429. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  430. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  431. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  432. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  433. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  434. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  435. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  436. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  437. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  438. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  439. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  440. ];
  441. //明德教师桌面图标的全局变量
  442. U.MD.D.I.MingdeTeacherDeskIcon = [
  443. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  444. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  445. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  446. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  447. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  448. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  449. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  450. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  451. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  452. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  453. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  454. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  455. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  456. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  457. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  458. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  459. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  460. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  461. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  462. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  463. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  464. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  465. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  466. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  467. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  468. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  469. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  470. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  471. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  472. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  473. ];
  474. //97c4ee8b-d010-4042-986d-e9d3c217264f
  475. //教师桌面图标的全局变量
  476. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  477. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  478. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  479. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  480. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  481. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  482. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  483. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  484. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  485. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  487. ];
  488. //福田
  489. U.MD.D.I.futianTeacherDeskIcon = [
  490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  492. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  493. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  494. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  495. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  496. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  497. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  498. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  499. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  500. ];
  501. //福田
  502. U.MD.D.I.futianAdminDeskIcon = [
  503. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  504. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  505. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  506. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  507. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  508. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  509. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  510. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  511. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. ];
  513. //lotech
  514. U.MD.D.I.lotechTeacherDeskIcon = [
  515. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  516. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  517. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  518. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  519. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  520. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  521. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. ];
  524. //龙华中心小学教师桌面图标的全局变量
  525. U.MD.D.I.longhuateacherDeskIcon = [
  526. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  528. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  529. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  533. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  534. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  535. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  536. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. ];
  539. //教科院实小教师桌面图标的全局变量
  540. U.MD.D.I.siesteacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  544. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  548. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  549. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  550. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  551. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  552. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  553. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  554. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  555. ];
  556. //教科院实小教师桌面图标的全局变量
  557. U.MD.D.I.siesStudentDeskIcon = [
  558. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. ];
  562. //福田
  563. U.MD.D.I.gdjgTeacherDeskIcon = [
  564. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  565. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  566. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  567. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  568. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  569. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  570. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  571. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  572. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  573. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. ];
  575. //gdjg
  576. U.MD.D.I.gdjgAdminDeskIcon = [
  577. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  578. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  579. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  580. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  581. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  582. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  583. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  584. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  585. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //hk
  588. U.MD.D.I.hkteacherDeskIcon = [
  589. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  592. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  593. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  594. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  595. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  596. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  601. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  602. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  603. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  604. ];
  605. //hk
  606. U.MD.D.I.hkStudentDeskIcon = [
  607. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  608. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  610. ];
  611. //香海正覺蓮社佛教正覺中學
  612. U.MD.D.I.hkZJLSteacherDeskIcon = [
  613. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  614. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  615. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  616. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  617. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  618. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  619. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  622. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  623. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  624. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  625. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  626. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. ];
  628. //香海正覺蓮社佛教正覺中學
  629. U.MD.D.I.hkZJLSStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. ];
  634. //云海
  635. U.MD.D.I.yunhaiTeacherDeskIcon = [
  636. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  637. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  639. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  640. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  641. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  642. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  643. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  644. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  645. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  646. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  647. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  648. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  649. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  650. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. ];
  652. //福田
  653. U.MD.D.I.heyuanTeacherDeskIcon = [
  654. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  655. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  659. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  660. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  661. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  662. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  663. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  664. ];
  665. //福田
  666. U.MD.D.I.heyuanAdminDeskIcon = [
  667. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  670. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  671. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  672. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  673. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  674. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  675. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  676. ];
  677. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  678. U.MD.D.I.szherTeacherDeskIcon = [
  679. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  680. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  681. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  686. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  688. ];
  689. //dsei
  690. U.MD.D.I.dseiTeacherDeskIcon = [
  691. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  692. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  693. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  694. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  698. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  699. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  700. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  701. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  702. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  703. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  704. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  705. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  706. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  707. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  708. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  709. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  710. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  711. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  712. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  713. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  714. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  715. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  716. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  717. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  718. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  719. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  720. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  721. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  722. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  723. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  724. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  725. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  726. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  727. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  728. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  729. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  730. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  731. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  732. ];
  733. //dsei
  734. U.MD.D.I.dseiAdminDeskIcon = [
  735. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  736. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  737. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  738. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  739. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  740. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  741. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  742. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  743. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  744. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  745. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  746. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  747. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  748. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  749. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  750. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  751. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  752. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  753. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  754. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  755. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  756. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  757. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  758. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  759. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  760. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  761. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  762. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  763. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  764. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  765. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  766. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  767. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  768. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  769. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  770. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  771. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  772. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  773. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  774. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  775. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  776. ];
  777. //dsei
  778. U.MD.D.I.dseiStudentDeskIcon = [
  779. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  780. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  781. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  782. ];
  783. //未来教育基地
  784. U.MD.D.I.szjkyTeacherDeskIcon = [
  785. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  786. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  787. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  788. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  789. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  790. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  791. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  792. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  793. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  794. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  795. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  796. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  797. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  798. ];
  799. //未来教育基地
  800. U.MD.D.I.szjkyAdminDeskIcon = [
  801. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  802. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  803. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  806. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  807. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  808. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  809. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  810. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  811. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  812. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  813. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  814. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } }
  815. ];
  816. //未来教育基地
  817. U.MD.D.I.szjkyStudentDeskIcon = [
  818. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  819. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  820. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  821. ];
  822. //成华教育局
  823. U.MD.D.I.chjyjTeacherDeskIcon = [
  824. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  825. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  826. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  827. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  828. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  829. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  830. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  831. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  832. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  833. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  834. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  835. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  836. ];
  837. //成华教育局chjyj
  838. U.MD.D.I.chjyjAdminDeskIcon = [
  839. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  840. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  841. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  842. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  843. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  844. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  845. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  846. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  847. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  848. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  849. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  850. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  851. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  852. ];
  853. //成华教育局chjyj
  854. U.MD.D.I.chjyjStudentDeskIcon = [
  855. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  856. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  857. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  858. ];
  859. //#region 桌面初始化a
  860. /**
  861. * 初始化桌面的起始函数
  862. *
  863. */
  864. U.MD.D.I.init = function() {
  865. if ($("#U_MD_D_K")[0]) {
  866. //初始化桌面图标
  867. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  868. // var clickUrl = ':12588/requestIp.php';
  869. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  870. // U.MD.D.I.Ip = data;
  871. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  872. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  873. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  874. // })
  875. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  876. // })
  877. }
  878. }
  879. /**
  880. * 模式切换
  881. *
  882. */
  883. U.MD.D.I.ModeCheck = function(type) {
  884. if (US.Config.type == type) {
  885. return
  886. }
  887. US.Config.type = type
  888. $('.U_PBL_Check .active')[0].className = ''
  889. if (type == 1) {
  890. $('.U_PBL_Check div')[0].className = 'active'
  891. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  892. } else {
  893. $('.U_PBL_Check div')[1].className = 'active'
  894. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  895. }
  896. //初始化桌面图标
  897. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  898. if (type == 2) {
  899. U.MD.D.I.openApplication("project")
  900. }
  901. }
  902. /**
  903. * 隐藏任务栏
  904. *
  905. * @param {element} 桌面元素
  906. */
  907. U.MD.D.I.hiddenTaskbar = function(el) {
  908. //任务栏位置变小
  909. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  910. //桌面的位置变大
  911. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  912. }
  913. /**
  914. * 隐藏任务栏
  915. *
  916. * @param {element} 桌面元素
  917. */
  918. U.MD.D.I.hiddenTaskbarout = function(el) {
  919. //任务栏位置变小
  920. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  921. //任务栏位置变化
  922. U.selectEl(el).css({ "bottom": "-60px" });
  923. //桌面的位置变大
  924. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  925. }
  926. }
  927. /**
  928. * 初始化打印桌面图标
  929. *
  930. * @param {element} 桌面元素
  931. */
  932. U.MD.D.I.initDesktopIcons = function(el, type) {
  933. var i, //用于循环
  934. _content, //桌面图标元素
  935. _iconcontent, //桌面图标元素
  936. _frag = $$("frag"), //定义一个碎片元素
  937. _type = US.userInfo.type,
  938. _org = US.userInfo.org,
  939. _oid = US.userInfo.organizeid,
  940. _role = US.userInfo.role,
  941. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  942. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  943. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  944. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  945. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  946. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  947. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  948. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  949. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  950. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  951. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  952. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  953. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  954. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  955. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  956. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  957. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  958. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  959. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  960. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  961. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  962. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  963. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  964. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  965. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  966. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  967. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  968. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  969. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  970. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  971. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  972. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  973. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  974. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  975. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  976. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  977. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  978. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  979. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  980. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  981. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  982. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  983. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  984. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  985. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  986. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  987. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  988. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  989. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  990. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  991. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  992. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  993. 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'];
  994. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5','2fa75e51-189a-11ee-91d8-005056b86db5'];
  995. //清楚桌面图标
  996. el.innerHTML = "";
  997. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  998. _teacherDesktopIconInfo.push(
  999. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1000. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1001. )
  1002. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1003. }
  1004. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1005. _teacherDesktopIconInfo.push(
  1006. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1007. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1008. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1009. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1010. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1011. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1012. { "Name": "知识建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1014. )
  1015. }
  1016. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1017. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1018. if (el.Name == '项目管理') {
  1019. el.Name = 'PBL项目'
  1020. }
  1021. return el
  1022. })
  1023. }
  1024. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1025. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1026. return el.Name != '魔盒识字' && el.Name != '24点'
  1027. })
  1028. }
  1029. 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) {
  1030. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } }, )
  1031. }
  1032. //循环创建桌面图标
  1033. if (type == 1) {
  1034. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1035. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1036. _content = $$("div", {
  1037. className: "U_MD_D_KO",
  1038. "onmousedown": U.UF.C.closure(function(obj) {
  1039. //防止拖动图标即打开了桌面应用
  1040. U.MD.D.click(this, obj);
  1041. }, [_studentDesktopIconInfo[i]]),
  1042. "onclick": U.UF.C.closure(function(obj) {
  1043. //防止拖动图标即打开了桌面应用
  1044. U.MD.D.click(this, obj);
  1045. }, [_studentDesktopIconInfo[i]])
  1046. }, _frag); //
  1047. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1048. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1049. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1050. }
  1051. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1052. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1053. _content = $$("div", {
  1054. className: "U_MD_D_KO",
  1055. "onmousedown": U.UF.C.closure(function(obj) {
  1056. //防止拖动图标即打开了桌面应用
  1057. U.MD.D.click(this, obj);
  1058. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1059. "onclick": U.UF.C.closure(function(obj) {
  1060. //防止拖动图标即打开了桌面应用
  1061. U.MD.D.click(this, obj);
  1062. }, [_hkZJLSStudentDeskIconInfo[i]])
  1063. }, _frag); //
  1064. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1065. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1066. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1067. } //
  1068. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1069. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1070. _content = $$("div", {
  1071. className: "U_MD_D_KO",
  1072. "onmousedown": U.UF.C.closure(function(obj) {
  1073. //防止拖动图标即打开了桌面应用
  1074. U.MD.D.click(this, obj);
  1075. }, [_chjyjStudentDeskIconInfo[i]]),
  1076. "onclick": U.UF.C.closure(function(obj) {
  1077. //防止拖动图标即打开了桌面应用
  1078. U.MD.D.click(this, obj);
  1079. }, [_chjyjStudentDeskIconInfo[i]])
  1080. }, _frag); //
  1081. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1082. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1083. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1084. }
  1085. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1086. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1087. _content = $$("div", {
  1088. className: "U_MD_D_KO",
  1089. "onmousedown": U.UF.C.closure(function(obj) {
  1090. //防止拖动图标即打开了桌面应用
  1091. U.MD.D.click(this, obj);
  1092. }, [_szjkyStudentDeskIconInfo[i]]),
  1093. "onclick": U.UF.C.closure(function(obj) {
  1094. //防止拖动图标即打开了桌面应用
  1095. U.MD.D.click(this, obj);
  1096. }, [_szjkyStudentDeskIconInfo[i]])
  1097. }, _frag); //
  1098. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1099. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1100. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1101. }
  1102. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1103. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1104. _content = $$("div", {
  1105. className: "U_MD_D_KO",
  1106. "onmousedown": U.UF.C.closure(function(obj) {
  1107. //防止拖动图标即打开了桌面应用
  1108. U.MD.D.click(this, obj);
  1109. }, [_dseiStudentDeskIconInfo[i]]),
  1110. "onclick": U.UF.C.closure(function(obj) {
  1111. //防止拖动图标即打开了桌面应用
  1112. U.MD.D.click(this, obj);
  1113. }, [_dseiStudentDeskIconInfo[i]])
  1114. }, _frag); //
  1115. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1116. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1117. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1118. }
  1119. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1120. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1121. _content = $$("div", {
  1122. className: "U_MD_D_KO",
  1123. "onmousedown": U.UF.C.closure(function(obj) {
  1124. //防止拖动图标即打开了桌面应用
  1125. U.MD.D.click(this, obj);
  1126. }, [_siesStudentDeskIconInfo[i]]),
  1127. "onclick": U.UF.C.closure(function(obj) {
  1128. //防止拖动图标即打开了桌面应用
  1129. U.MD.D.click(this, obj);
  1130. }, [_siesStudentDeskIconInfo[i]])
  1131. }, _frag); //
  1132. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1133. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1134. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1135. }
  1136. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1137. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1138. _content = $$("div", {
  1139. className: "U_MD_D_KO",
  1140. "onmousedown": U.UF.C.closure(function(obj) {
  1141. //防止拖动图标即打开了桌面应用
  1142. U.MD.D.click(this, obj);
  1143. }, [_hkStudentDeskIconInfo[i]]),
  1144. "onclick": U.UF.C.closure(function(obj) {
  1145. //防止拖动图标即打开了桌面应用
  1146. U.MD.D.click(this, obj);
  1147. }, [_hkStudentDeskIconInfo[i]])
  1148. }, _frag); //
  1149. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1150. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1151. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1152. }
  1153. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1154. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1155. _content = $$("div", {
  1156. className: "U_MD_D_KO",
  1157. "onmousedown": U.UF.C.closure(function(obj) {
  1158. //防止拖动图标即打开了桌面应用
  1159. U.MD.D.click(this, obj);
  1160. }, [_studentDesktopIconInfo[i]]),
  1161. "onclick": U.UF.C.closure(function(obj) {
  1162. //防止拖动图标即打开了桌面应用
  1163. U.MD.D.click(this, obj);
  1164. }, [_studentDesktopIconInfo[i]])
  1165. }, _frag); //
  1166. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1167. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1168. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1169. }
  1170. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1171. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1172. _content = $$("div", {
  1173. className: "U_MD_D_KO",
  1174. "onmousedown": U.UF.C.closure(function(obj) {
  1175. //防止拖动图标即打开了桌面应用
  1176. U.MD.D.click(this, obj);
  1177. }, [_tcStudentDeskIconInfo[i]]),
  1178. "onclick": U.UF.C.closure(function(obj) {
  1179. //防止拖动图标即打开了桌面应用
  1180. U.MD.D.click(this, obj);
  1181. }, [_tcStudentDeskIconInfo[i]])
  1182. }, _frag); //
  1183. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1184. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1185. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1186. }
  1187. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1188. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1189. _content = $$("div", {
  1190. className: "U_MD_D_KO",
  1191. "onmousedown": U.UF.C.closure(function(obj) {
  1192. //防止拖动图标即打开了桌面应用
  1193. U.MD.D.click(this, obj);
  1194. }, [_szscStudentDeskIconInfo[i]]),
  1195. "onclick": U.UF.C.closure(function(obj) {
  1196. //防止拖动图标即打开了桌面应用
  1197. U.MD.D.click(this, obj);
  1198. }, [_szscStudentDeskIconInfo[i]])
  1199. }, _frag); //
  1200. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1201. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1202. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1203. }
  1204. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1205. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1206. _content = $$("div", {
  1207. className: "U_MD_D_KO",
  1208. "onmousedown": U.UF.C.closure(function(obj) {
  1209. //防止拖动图标即打开了桌面应用
  1210. U.MD.D.click(this, obj);
  1211. }, [_studentDesktopIconInfo3[i]]),
  1212. "onclick": U.UF.C.closure(function(obj) {
  1213. //防止拖动图标即打开了桌面应用
  1214. U.MD.D.click(this, obj);
  1215. }, [_studentDesktopIconInfo3[i]])
  1216. }, _frag); //
  1217. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1218. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1219. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1220. }
  1221. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1222. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1223. _content = $$("div", {
  1224. className: "U_MD_D_KO",
  1225. "onmousedown": U.UF.C.closure(function(obj) {
  1226. //防止拖动图标即打开了桌面应用
  1227. U.MD.D.click(this, obj);
  1228. }, [_studentDesktopIconInfo2[i]]),
  1229. "onclick": U.UF.C.closure(function(obj) {
  1230. //防止拖动图标即打开了桌面应用
  1231. U.MD.D.click(this, obj);
  1232. }, [_studentDesktopIconInfo2[i]])
  1233. }, _frag); //
  1234. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1235. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1236. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1237. }
  1238. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1239. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1240. _content = $$("div", {
  1241. className: "U_MD_D_KO",
  1242. "onmousedown": U.UF.C.closure(function(obj) {
  1243. //防止拖动图标即打开了桌面应用
  1244. U.MD.D.click(this, obj);
  1245. }, [_wanketeacherDesktopIconInfo[i]]),
  1246. "onclick": U.UF.C.closure(function(obj) {
  1247. //防止拖动图标即打开了桌面应用
  1248. U.MD.D.click(this, obj);
  1249. }, [_wanketeacherDesktopIconInfo[i]])
  1250. }, _frag); //
  1251. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1252. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1253. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1254. }
  1255. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1256. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1257. _content = $$("div", {
  1258. className: "U_MD_D_KO",
  1259. "onmousedown": U.UF.C.closure(function(obj) {
  1260. //防止拖动图标即打开了桌面应用
  1261. U.MD.D.click(this, obj);
  1262. }, [_wankeAdminDesktopIconInfo[i]]),
  1263. "onclick": U.UF.C.closure(function(obj) {
  1264. //防止拖动图标即打开了桌面应用
  1265. U.MD.D.click(this, obj);
  1266. }, [_wankeAdminDesktopIconInfo[i]])
  1267. }, _frag); //
  1268. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1269. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1270. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1271. }
  1272. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1273. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1274. _content = $$("div", {
  1275. className: "U_MD_D_KO",
  1276. "onmousedown": U.UF.C.closure(function(obj) {
  1277. //防止拖动图标即打开了桌面应用
  1278. U.MD.D.click(this, obj);
  1279. }, [_teacherDesktopIconInfo2[i]]),
  1280. "onclick": U.UF.C.closure(function(obj) {
  1281. //防止拖动图标即打开了桌面应用
  1282. U.MD.D.click(this, obj);
  1283. }, [_teacherDesktopIconInfo2[i]])
  1284. }, _frag); //
  1285. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1286. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1287. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1288. }
  1289. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1290. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1291. _content = $$("div", {
  1292. className: "U_MD_D_KO",
  1293. "onmousedown": U.UF.C.closure(function(obj) {
  1294. //防止拖动图标即打开了桌面应用
  1295. U.MD.D.click(this, obj);
  1296. }, [_lotechTeacherDeskIconInfo[i]]),
  1297. "onclick": U.UF.C.closure(function(obj) {
  1298. //防止拖动图标即打开了桌面应用
  1299. U.MD.D.click(this, obj);
  1300. }, [_lotechTeacherDeskIconInfo[i]])
  1301. }, _frag); //
  1302. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1303. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1304. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1305. }//
  1306. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1307. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1308. _content = $$("div", {
  1309. className: "U_MD_D_KO",
  1310. "onmousedown": U.UF.C.closure(function(obj) {
  1311. //防止拖动图标即打开了桌面应用
  1312. U.MD.D.click(this, obj);
  1313. }, [_siesTeacherDeskIconInfo[i]]),
  1314. "onclick": U.UF.C.closure(function(obj) {
  1315. //防止拖动图标即打开了桌面应用
  1316. U.MD.D.click(this, obj);
  1317. }, [_siesTeacherDeskIconInfo[i]])
  1318. }, _frag); //
  1319. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1320. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1321. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1322. }
  1323. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1324. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1325. _content = $$("div", {
  1326. className: "U_MD_D_KO",
  1327. "onmousedown": U.UF.C.closure(function(obj) {
  1328. //防止拖动图标即打开了桌面应用
  1329. U.MD.D.click(this, obj);
  1330. }, [_longhuaTeacherDeskIconInfo[i]]),
  1331. "onclick": U.UF.C.closure(function(obj) {
  1332. //防止拖动图标即打开了桌面应用
  1333. U.MD.D.click(this, obj);
  1334. }, [_longhuaTeacherDeskIconInfo[i]])
  1335. }, _frag); //
  1336. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1337. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1338. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1339. }
  1340. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1341. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1342. _content = $$("div", {
  1343. className: "U_MD_D_KO",
  1344. "onmousedown": U.UF.C.closure(function(obj) {
  1345. //防止拖动图标即打开了桌面应用
  1346. U.MD.D.click(this, obj);
  1347. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1348. "onclick": U.UF.C.closure(function(obj) {
  1349. //防止拖动图标即打开了桌面应用
  1350. U.MD.D.click(this, obj);
  1351. }, [_yunhaiTeacherDeskIconInfo[i]])
  1352. }, _frag); //
  1353. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1354. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1355. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1356. } //_hkStudentDeskIconInfo
  1357. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1358. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1359. _content = $$("div", {
  1360. className: "U_MD_D_KO",
  1361. "onmousedown": U.UF.C.closure(function(obj) {
  1362. //防止拖动图标即打开了桌面应用
  1363. U.MD.D.click(this, obj);
  1364. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1365. "onclick": U.UF.C.closure(function(obj) {
  1366. //防止拖动图标即打开了桌面应用
  1367. U.MD.D.click(this, obj);
  1368. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1369. }, _frag); //
  1370. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1371. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1372. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1373. }
  1374. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1375. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1376. _content = $$("div", {
  1377. className: "U_MD_D_KO",
  1378. "onmousedown": U.UF.C.closure(function(obj) {
  1379. //防止拖动图标即打开了桌面应用
  1380. U.MD.D.click(this, obj);
  1381. }, [_hkTeacherDeskIconInfo[i]]),
  1382. "onclick": U.UF.C.closure(function(obj) {
  1383. //防止拖动图标即打开了桌面应用
  1384. U.MD.D.click(this, obj);
  1385. }, [_hkTeacherDeskIconInfo[i]])
  1386. }, _frag); //
  1387. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1388. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1389. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1390. }
  1391. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1392. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1393. _content = $$("div", {
  1394. className: "U_MD_D_KO",
  1395. "onmousedown": U.UF.C.closure(function(obj) {
  1396. //防止拖动图标即打开了桌面应用
  1397. U.MD.D.click(this, obj);
  1398. }, [_gdjgAdminDeskIconInfo[i]]),
  1399. "onclick": U.UF.C.closure(function(obj) {
  1400. //防止拖动图标即打开了桌面应用
  1401. U.MD.D.click(this, obj);
  1402. }, [_gdjgAdminDeskIconInfo[i]])
  1403. }, _frag); //
  1404. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1405. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1406. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1407. }
  1408. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1409. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1410. _content = $$("div", {
  1411. className: "U_MD_D_KO",
  1412. "onmousedown": U.UF.C.closure(function(obj) {
  1413. //防止拖动图标即打开了桌面应用
  1414. U.MD.D.click(this, obj);
  1415. }, [_gdjgTeacherDeskIconInfo[i]]),
  1416. "onclick": U.UF.C.closure(function(obj) {
  1417. //防止拖动图标即打开了桌面应用
  1418. U.MD.D.click(this, obj);
  1419. }, [_gdjgTeacherDeskIconInfo[i]])
  1420. }, _frag); //
  1421. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1422. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1423. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1424. }
  1425. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1426. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1427. _content = $$("div", {
  1428. className: "U_MD_D_KO",
  1429. "onmousedown": U.UF.C.closure(function(obj) {
  1430. //防止拖动图标即打开了桌面应用
  1431. U.MD.D.click(this, obj);
  1432. }, [_szherTeacherDeskIconInfo[i]]),
  1433. "onclick": U.UF.C.closure(function(obj) {
  1434. //防止拖动图标即打开了桌面应用
  1435. U.MD.D.click(this, obj);
  1436. }, [_szherTeacherDeskIconInfo[i]])
  1437. }, _frag); //
  1438. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1439. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1440. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1441. }
  1442. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1443. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1444. _content = $$("div", {
  1445. className: "U_MD_D_KO",
  1446. "onmousedown": U.UF.C.closure(function(obj) {
  1447. //防止拖动图标即打开了桌面应用
  1448. U.MD.D.click(this, obj);
  1449. }, [_heyuannAdminDeskIconInfo[i]]),
  1450. "onclick": U.UF.C.closure(function(obj) {
  1451. //防止拖动图标即打开了桌面应用
  1452. U.MD.D.click(this, obj);
  1453. }, [_heyuannAdminDeskIconInfo[i]])
  1454. }, _frag); //
  1455. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1456. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1457. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1458. }
  1459. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1460. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1461. _content = $$("div", {
  1462. className: "U_MD_D_KO",
  1463. "onmousedown": U.UF.C.closure(function(obj) {
  1464. //防止拖动图标即打开了桌面应用
  1465. U.MD.D.click(this, obj);
  1466. }, [_heyuanTeacherDeskIconInfo[i]]),
  1467. "onclick": U.UF.C.closure(function(obj) {
  1468. //防止拖动图标即打开了桌面应用
  1469. U.MD.D.click(this, obj);
  1470. }, [_heyuanTeacherDeskIconInfo[i]])
  1471. }, _frag); //
  1472. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1473. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1474. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1475. } //
  1476. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1477. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1478. _content = $$("div", {
  1479. className: "U_MD_D_KO",
  1480. "onmousedown": U.UF.C.closure(function(obj) {
  1481. //防止拖动图标即打开了桌面应用
  1482. U.MD.D.click(this, obj);
  1483. }, [_dseiAdminDeskIconInfo[i]]),
  1484. "onclick": U.UF.C.closure(function(obj) {
  1485. //防止拖动图标即打开了桌面应用
  1486. U.MD.D.click(this, obj);
  1487. }, [_dseiAdminDeskIconInfo[i]])
  1488. }, _frag); //
  1489. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1490. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1491. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1492. }
  1493. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1494. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1495. _content = $$("div", {
  1496. className: "U_MD_D_KO",
  1497. "onmousedown": U.UF.C.closure(function(obj) {
  1498. //防止拖动图标即打开了桌面应用
  1499. U.MD.D.click(this, obj);
  1500. }, [_dseiTeacherDeskIconInfo[i]]),
  1501. "onclick": U.UF.C.closure(function(obj) {
  1502. //防止拖动图标即打开了桌面应用
  1503. U.MD.D.click(this, obj);
  1504. }, [_dseiTeacherDeskIconInfo[i]])
  1505. }, _frag); //
  1506. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1507. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1508. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1509. } //
  1510. }else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1511. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1512. _content = $$("div", {
  1513. className: "U_MD_D_KO",
  1514. "onmousedown": U.UF.C.closure(function(obj) {
  1515. //防止拖动图标即打开了桌面应用
  1516. U.MD.D.click(this, obj);
  1517. }, [_chjyjAdminDeskIconInfo[i]]),
  1518. "onclick": U.UF.C.closure(function(obj) {
  1519. //防止拖动图标即打开了桌面应用
  1520. U.MD.D.click(this, obj);
  1521. }, [_chjyjAdminDeskIconInfo[i]])
  1522. }, _frag); //
  1523. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1524. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1525. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1526. }//
  1527. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1528. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1529. _content = $$("div", {
  1530. className: "U_MD_D_KO",
  1531. "onmousedown": U.UF.C.closure(function(obj) {
  1532. //防止拖动图标即打开了桌面应用
  1533. U.MD.D.click(this, obj);
  1534. }, [_chjyjTeacherDeskIconInfo[i]]),
  1535. "onclick": U.UF.C.closure(function(obj) {
  1536. //防止拖动图标即打开了桌面应用
  1537. U.MD.D.click(this, obj);
  1538. }, [_chjyjTeacherDeskIconInfo[i]])
  1539. }, _frag); //
  1540. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1541. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1542. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1543. }
  1544. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1545. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1546. _content = $$("div", {
  1547. className: "U_MD_D_KO",
  1548. "onmousedown": U.UF.C.closure(function(obj) {
  1549. //防止拖动图标即打开了桌面应用
  1550. U.MD.D.click(this, obj);
  1551. }, [_szjkyAdminDeskIconInfo[i]]),
  1552. "onclick": U.UF.C.closure(function(obj) {
  1553. //防止拖动图标即打开了桌面应用
  1554. U.MD.D.click(this, obj);
  1555. }, [_szjkyAdminDeskIconInfo[i]])
  1556. }, _frag); //
  1557. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1558. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1559. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1560. }//
  1561. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1562. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1563. _content = $$("div", {
  1564. className: "U_MD_D_KO",
  1565. "onmousedown": U.UF.C.closure(function(obj) {
  1566. //防止拖动图标即打开了桌面应用
  1567. U.MD.D.click(this, obj);
  1568. }, [_szjkyTeacherDeskIconInfo[i]]),
  1569. "onclick": U.UF.C.closure(function(obj) {
  1570. //防止拖动图标即打开了桌面应用
  1571. U.MD.D.click(this, obj);
  1572. }, [_szjkyTeacherDeskIconInfo[i]])
  1573. }, _frag); //
  1574. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1575. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1576. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1577. }
  1578. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1579. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1580. _content = $$("div", {
  1581. className: "U_MD_D_KO",
  1582. "onmousedown": U.UF.C.closure(function(obj) {
  1583. //防止拖动图标即打开了桌面应用
  1584. U.MD.D.click(this, obj);
  1585. }, [_futianAdminDeskIconInfo[i]]),
  1586. "onclick": U.UF.C.closure(function(obj) {
  1587. //防止拖动图标即打开了桌面应用
  1588. U.MD.D.click(this, obj);
  1589. }, [_futianAdminDeskIconInfo[i]])
  1590. }, _frag); //
  1591. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1592. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1593. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1594. }
  1595. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1596. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1597. _content = $$("div", {
  1598. className: "U_MD_D_KO",
  1599. "onmousedown": U.UF.C.closure(function(obj) {
  1600. //防止拖动图标即打开了桌面应用
  1601. U.MD.D.click(this, obj);
  1602. }, [_futianTeacherDeskIconInfo[i]]),
  1603. "onclick": U.UF.C.closure(function(obj) {
  1604. //防止拖动图标即打开了桌面应用
  1605. U.MD.D.click(this, obj);
  1606. }, [_futianTeacherDeskIconInfo[i]])
  1607. }, _frag); //
  1608. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1609. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1610. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1611. }
  1612. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1613. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1614. _content = $$("div", {
  1615. className: "U_MD_D_KO",
  1616. "onmousedown": U.UF.C.closure(function(obj) {
  1617. //防止拖动图标即打开了桌面应用
  1618. U.MD.D.click(this, obj);
  1619. }, [_MingdeTeacherDeskIcon[i]]),
  1620. "onclick": U.UF.C.closure(function(obj) {
  1621. //防止拖动图标即打开了桌面应用
  1622. U.MD.D.click(this, obj);
  1623. }, [_MingdeTeacherDeskIcon[i]])
  1624. }, _frag); //
  1625. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1628. }
  1629. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1630. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1631. _content = $$("div", {
  1632. className: "U_MD_D_KO",
  1633. "onmousedown": U.UF.C.closure(function(obj) {
  1634. //防止拖动图标即打开了桌面应用
  1635. U.MD.D.click(this, obj);
  1636. }, [_lhsAdminDesktopIconInfo[i]]),
  1637. "onclick": U.UF.C.closure(function(obj) {
  1638. //防止拖动图标即打开了桌面应用
  1639. U.MD.D.click(this, obj);
  1640. }, [_lhsAdminDesktopIconInfo[i]])
  1641. }, _frag); //
  1642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1645. }
  1646. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1647. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1648. _content = $$("div", {
  1649. className: "U_MD_D_KO",
  1650. "onmousedown": U.UF.C.closure(function(obj) {
  1651. //防止拖动图标即打开了桌面应用
  1652. U.MD.D.click(this, obj);
  1653. }, [_lhsteacherDesktopIconInfo[i]]),
  1654. "onclick": U.UF.C.closure(function(obj) {
  1655. //防止拖动图标即打开了桌面应用
  1656. U.MD.D.click(this, obj);
  1657. }, [_lhsteacherDesktopIconInfo[i]])
  1658. }, _frag); //
  1659. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1660. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1661. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1662. }
  1663. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1664. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1665. _content = $$("div", {
  1666. className: "U_MD_D_KO",
  1667. "onmousedown": U.UF.C.closure(function(obj) {
  1668. //防止拖动图标即打开了桌面应用
  1669. U.MD.D.click(this, obj);
  1670. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1671. "onclick": U.UF.C.closure(function(obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_zhoujiateacherDesktopIconInfo[i]])
  1675. }, _frag); //
  1676. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1677. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1678. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1679. }
  1680. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1681. for (i = 0; i < _hanDeskIcon.length; i++) {
  1682. _content = $$("div", {
  1683. className: "U_MD_D_KO",
  1684. "onmousedown": U.UF.C.closure(function(obj) {
  1685. //防止拖动图标即打开了桌面应用
  1686. U.MD.D.click(this, obj);
  1687. }, [_hanDeskIcon[i]]),
  1688. "onclick": U.UF.C.closure(function(obj) {
  1689. //防止拖动图标即打开了桌面应用
  1690. U.MD.D.click(this, obj);
  1691. }, [_hanDeskIcon[i]])
  1692. }, _frag); //
  1693. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1694. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1695. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1696. }
  1697. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1698. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1699. _content = $$("div", {
  1700. className: "U_MD_D_KO",
  1701. "onmousedown": U.UF.C.closure(function(obj) {
  1702. //防止拖动图标即打开了桌面应用
  1703. U.MD.D.click(this, obj);
  1704. }, [_orgStemDeskIcon[i]]),
  1705. "onclick": U.UF.C.closure(function(obj) {
  1706. //防止拖动图标即打开了桌面应用
  1707. U.MD.D.click(this, obj);
  1708. }, [_orgStemDeskIcon[i]])
  1709. }, _frag); //
  1710. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1711. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1712. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1713. }
  1714. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1715. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1716. _content = $$("div", {
  1717. className: "U_MD_D_KO",
  1718. "onmousedown": U.UF.C.closure(function(obj) {
  1719. //防止拖动图标即打开了桌面应用
  1720. U.MD.D.click(this, obj);
  1721. }, [_szulsDeskIcon[i]]),
  1722. "onclick": U.UF.C.closure(function(obj) {
  1723. //防止拖动图标即打开了桌面应用
  1724. U.MD.D.click(this, obj);
  1725. }, [_szulsDeskIcon[i]])
  1726. }, _frag); //
  1727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1730. }
  1731. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1732. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1733. _content = $$("div", {
  1734. className: "U_MD_D_KO",
  1735. "onmousedown": U.UF.C.closure(function(obj) {
  1736. //防止拖动图标即打开了桌面应用
  1737. U.MD.D.click(this, obj);
  1738. }, [_orgDesktopIconInfo[i]]),
  1739. "onclick": U.UF.C.closure(function(obj) {
  1740. //防止拖动图标即打开了桌面应用
  1741. U.MD.D.click(this, obj);
  1742. }, [_orgDesktopIconInfo[i]])
  1743. }, _frag); //
  1744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1747. }
  1748. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1749. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1750. _content = $$("div", {
  1751. className: "U_MD_D_KO",
  1752. "onmousedown": U.UF.C.closure(function(obj) {
  1753. //防止拖动图标即打开了桌面应用
  1754. U.MD.D.click(this, obj);
  1755. }, [_schoolDesktopIconInfo[i]]),
  1756. "onclick": U.UF.C.closure(function(obj) {
  1757. //防止拖动图标即打开了桌面应用
  1758. U.MD.D.click(this, obj);
  1759. }, [_schoolDesktopIconInfo[i]])
  1760. }, _frag); //
  1761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1764. }
  1765. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1766. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1767. _content = $$("div", {
  1768. className: "U_MD_D_KO",
  1769. "onmousedown": U.UF.C.closure(function(obj) {
  1770. //防止拖动图标即打开了桌面应用
  1771. U.MD.D.click(this, obj);
  1772. }, [_GMteacherDesktopIconInfo[i]]),
  1773. "onclick": U.UF.C.closure(function(obj) {
  1774. //防止拖动图标即打开了桌面应用
  1775. U.MD.D.click(this, obj);
  1776. }, [_GMteacherDesktopIconInfo[i]])
  1777. }, _frag); //
  1778. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1779. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1780. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1781. }
  1782. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1783. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1784. _content = $$("div", {
  1785. className: "U_MD_D_KO",
  1786. "onmousedown": U.UF.C.closure(function(obj) {
  1787. //防止拖动图标即打开了桌面应用
  1788. U.MD.D.click(this, obj);
  1789. }, [_SONGteacherDesktopIconInfo[i]]),
  1790. "onclick": U.UF.C.closure(function(obj) {
  1791. //防止拖动图标即打开了桌面应用
  1792. U.MD.D.click(this, obj);
  1793. }, [_SONGteacherDesktopIconInfo[i]])
  1794. }, _frag); //
  1795. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1796. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1797. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1798. }
  1799. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1800. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1801. _content = $$("div", {
  1802. className: "U_MD_D_KO",
  1803. "onmousedown": U.UF.C.closure(function(obj) {
  1804. //防止拖动图标即打开了桌面应用
  1805. U.MD.D.click(this, obj);
  1806. }, [_GMstudentDesktopIconInfo[i]]),
  1807. "onclick": U.UF.C.closure(function(obj) {
  1808. //防止拖动图标即打开了桌面应用
  1809. U.MD.D.click(this, obj);
  1810. }, [_GMstudentDesktopIconInfo[i]])
  1811. }, _frag); //
  1812. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1813. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1814. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1815. }
  1816. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1817. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1818. _content = $$("div", {
  1819. className: "U_MD_D_KO",
  1820. "onmousedown": U.UF.C.closure(function(obj) {
  1821. //防止拖动图标即打开了桌面应用
  1822. U.MD.D.click(this, obj);
  1823. }, [_tcTeacherDeskIconInfo[i]]),
  1824. "onclick": U.UF.C.closure(function(obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_tcTeacherDeskIconInfo[i]])
  1828. }, _frag); //
  1829. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1830. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1831. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1832. }
  1833. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1834. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1835. _content = $$("div", {
  1836. className: "U_MD_D_KO",
  1837. "onmousedown": U.UF.C.closure(function(obj) {
  1838. //防止拖动图标即打开了桌面应用
  1839. U.MD.D.click(this, obj);
  1840. }, [_tcOrganizerDeskIconInfo[i]]),
  1841. "onclick": U.UF.C.closure(function(obj) {
  1842. //防止拖动图标即打开了桌面应用
  1843. U.MD.D.click(this, obj);
  1844. }, [_tcOrganizerDeskIconInfo[i]])
  1845. }, _frag); //
  1846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1849. }
  1850. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1851. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1852. _content = $$("div", {
  1853. className: "U_MD_D_KO",
  1854. "onmousedown": U.UF.C.closure(function(obj) {
  1855. //防止拖动图标即打开了桌面应用
  1856. U.MD.D.click(this, obj);
  1857. }, [_szscTeacherDeskIconInfo[i]]),
  1858. "onclick": U.UF.C.closure(function(obj) {
  1859. //防止拖动图标即打开了桌面应用
  1860. U.MD.D.click(this, obj);
  1861. }, [_szscTeacherDeskIconInfo[i]])
  1862. }, _frag); //
  1863. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1864. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1865. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1866. }
  1867. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1868. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1869. _content = $$("div", {
  1870. className: "U_MD_D_KO",
  1871. "onmousedown": U.UF.C.closure(function(obj) {
  1872. //防止拖动图标即打开了桌面应用
  1873. U.MD.D.click(this, obj);
  1874. }, [_szscOrganizerDeskIconInfo[i]]),
  1875. "onclick": U.UF.C.closure(function(obj) {
  1876. //防止拖动图标即打开了桌面应用
  1877. U.MD.D.click(this, obj);
  1878. }, [_szscOrganizerDeskIconInfo[i]])
  1879. }, _frag); //
  1880. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1881. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1882. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1883. }
  1884. } else {
  1885. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1886. _content = $$("div", {
  1887. className: "U_MD_D_KO",
  1888. "onmousedown": U.UF.C.closure(function(obj) {
  1889. //防止拖动图标即打开了桌面应用
  1890. U.MD.D.click(this, obj);
  1891. }, [_teacherDesktopIconInfo[i]]),
  1892. "onclick": U.UF.C.closure(function(obj) {
  1893. //防止拖动图标即打开了桌面应用
  1894. U.MD.D.click(this, obj);
  1895. }, [_teacherDesktopIconInfo[i]])
  1896. }, _frag); //
  1897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1900. }
  1901. }
  1902. } else {
  1903. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1904. _content = $$("div", {
  1905. className: "U_MD_D_KO",
  1906. style: { 'width': '124px', 'height': '145px' },
  1907. "onmousedown": U.UF.C.closure(function(obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_easyDesktopIconInfo[i]]),
  1911. "onclick": U.UF.C.closure(function(obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_easyDesktopIconInfo[i]])
  1915. }, _frag); //
  1916. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1917. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1918. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1919. }
  1920. }
  1921. if (type == 1) {
  1922. //加载好后给图标定位
  1923. U.MD.D.iconPostion($(_frag).Child());
  1924. } else {
  1925. //加载好后给图标定位
  1926. U.MD.D.iconPostion2($(_frag).Child());
  1927. }
  1928. //把图标加载到页面
  1929. el.appendChild(_frag);
  1930. }
  1931. /**
  1932. * 显示任务栏
  1933. *
  1934. * @param {element} 桌面元素
  1935. */
  1936. U.MD.D.I.displayTaskbar = function(el) {
  1937. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1938. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1939. //任务栏位置变化
  1940. U.selectEl(el).css({ "bottom": "0px" });
  1941. //桌面位置变话
  1942. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1943. }
  1944. }
  1945. //#region 桌面图标拖动逻辑
  1946. /**
  1947. * 桌面排列图标
  1948. *
  1949. * @param {element} 桌面元素
  1950. * @param {object} 上下相距的距离
  1951. * @param {object} 左右相距的距离
  1952. * @return {object} 命名空间
  1953. */
  1954. U.MD.D.iconPostion = function(childs, top, left) {
  1955. var i; //用于循环处理
  1956. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1957. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1958. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1959. for (i = 0; i < childs.length; i++) {
  1960. //如果竖排top超过了范围处理
  1961. if (top + 95 > US.height - 10) {
  1962. //left超过了页面范围处理,则向上重叠打印处理
  1963. if ((left + 180) > US.width) {
  1964. top -= 110;
  1965. left -= 90;
  1966. }
  1967. //没有超过范围,那么left+90添加到下一个竖排打印
  1968. else {
  1969. left += 90;
  1970. top = 15;
  1971. };
  1972. }
  1973. //给图标的位置赋值
  1974. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1975. if (i < childs.length - 1) {
  1976. //页面图标每次向下加95
  1977. top += 95;
  1978. }
  1979. }
  1980. //返回最后调用的图标的位置
  1981. return [top, left];
  1982. }
  1983. /**
  1984. * 桌面排列图标
  1985. *
  1986. * @param {element} 桌面元素
  1987. * @param {object} 上下相距的距离
  1988. * @param {object} 左右相距的距离
  1989. * @return {object} 命名空间
  1990. */
  1991. U.MD.D.iconPostion2 = function(childs, top, left) {
  1992. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1993. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1994. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1995. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1996. for (i = 0; i < childs.length; i++) {
  1997. //如果竖排top超过了范围处理
  1998. if (left + 150 > US.width - 10) {
  1999. //left超过了页面范围处理,则向上重叠打印处理
  2000. if ((top + 180) > US.Height) {
  2001. top -= 150;
  2002. left -= 150;
  2003. }
  2004. //没有超过范围,那么left+90添加到下一个竖排打印
  2005. else {
  2006. top += 150;
  2007. left = ol;
  2008. };
  2009. }
  2010. //给图标的位置赋值
  2011. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2012. if (i < childs.length - 1) {
  2013. //页面图标每次向下加95
  2014. left += 150;
  2015. }
  2016. }
  2017. //返回最后调用的图标的位置
  2018. return [top, left];
  2019. }
  2020. /**
  2021. * 桌面点击事件逻辑
  2022. *
  2023. * @param {element} 桌面元素
  2024. * @param {object} 上下相距的距离
  2025. * @param {object} 左右相距的距离
  2026. * @return {object} 命名空间
  2027. */
  2028. U.MD.D.click = function(el, obj) {
  2029. var _buttonnumber = event.button; //点击的按钮的事件值
  2030. var _userinfo = US.userInfo;
  2031. U.UF.EV.stopBubble(); //阻止向上冒泡
  2032. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2033. if (_buttonnumber < 2) {
  2034. //如果是click事件的处理
  2035. if (event.type == "click") {
  2036. //如果元素在mousemove事件中没有移动则出发click事件
  2037. if (!U.MD.D.I.IsDrag) {
  2038. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2039. U.alert("请先登录您的账号!");
  2040. setTimeout(() => {
  2041. U.MD.U.L.login();
  2042. }, 2000);
  2043. } else {
  2044. //打开应用处理
  2045. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2046. }
  2047. }
  2048. }
  2049. //如果是mouse事件的处理
  2050. else {
  2051. if (US.Config.type == '1') {
  2052. //拖动处理,添加拖动和拖动结束事件
  2053. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2054. }
  2055. }
  2056. U.MD.D.I.IsDrag = false;
  2057. }
  2058. }
  2059. /**
  2060. * 拖动的处理
  2061. *
  2062. */
  2063. U.MD.D.iconMove = function() {
  2064. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2065. U.MD.D.I.IsDrag = true;
  2066. }
  2067. /**
  2068. * 拖动结束后,这里是定位处理,以网状的形式定位
  2069. *
  2070. * @param {element} 拖动的元素
  2071. * @return {object} 命名空间
  2072. */
  2073. U.MD.D.iconUp = function(el) {
  2074. var _top = 15,
  2075. _left = 20,
  2076. _margin,
  2077. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2078. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2079. if (_positioninfo["OT"] > 15) {
  2080. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2081. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2082. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2083. }
  2084. if (_positioninfo["OL"] > 20) {
  2085. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2086. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2087. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2088. }
  2089. //while循环判断么一个重叠的元素
  2090. do {
  2091. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2092. _top = _positioninfo[0] + 95; //得到定位后的top
  2093. _left = _positioninfo[1]; //得到定位后的left
  2094. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2095. }
  2096. /**
  2097. * 判断拖动后图标是否重叠
  2098. *
  2099. * @param {element} 拖动的元素
  2100. * @param {element} 桌面所有的元素
  2101. * @param {array} 拖动元素的位置
  2102. ----------[0] 上 top
  2103. ----------[1] 左 left
  2104. * @return {object} 命名空间
  2105. */
  2106. U.MD.D.isOverlap = function(el, childs, postionarray) {
  2107. //循环所有的图标
  2108. for (var i = 0; i < childs.length; i++) {
  2109. //判断有没有和该图标诶子重叠的元素
  2110. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2111. return childs[i]; //如果有返回
  2112. }
  2113. }
  2114. }
  2115. //#endregion
  2116. //#endregion
  2117. //#region 桌面应用
  2118. /**
  2119. * 打开应用
  2120. *
  2121. * @param {string} 类型
  2122. -----------------Disk 网盘系统
  2123. -----------------PDisk 学习系统网盘
  2124. -----------------Poto 图片
  2125. -----------------Video 视频
  2126. -----------------Music 音乐
  2127. -----------------Word word
  2128. -----------------Excel excel
  2129. -----------------Txt 记事本
  2130. -----------------PB 学习系统
  2131. -----------------Blog 朋友圈系统
  2132. -----------------FTP ftp系统
  2133. -----------------Group 好友群
  2134. -----------------SY 首页系统
  2135. -----------------Set 个人设置
  2136. -----------------XSet 系统设置
  2137. -----------------App 我们所有的app
  2138. -----------------BC c.1473.cn 平台
  2139. -----------------CWeb d.1473.cn 变成平台
  2140. -----------------其他的外联系统 我们统一用iframe打开
  2141. * @param {array} 类型
  2142. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2143. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2144. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2145. 如果第一个参数为其他,则无第二个参数
  2146. * @returns {array}
  2147. */
  2148. window.addEventListener('message', function(e) { // 监听 message 事件
  2149. // alert(e.data.type);
  2150. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2151. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2152. //3是展示全部阶段 2学生 1老师 4专家
  2153. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2154. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2155. //3是展示全部阶段 2学生 1老师 4专家
  2156. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2157. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2158. //3是展示全部阶段 2学生 1老师 4专家
  2159. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2160. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2161. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2162. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2163. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2164. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2165. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2166. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2167. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2168. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2169. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2170. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2171. //3是展示全部阶段 2学生 1老师 4专家
  2172. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2173. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2174. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2175. U.MD.D.I.selectUser();
  2176. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2177. var _formel = document.getElementById("study");
  2178. U.UF.F.windowZooming(_formel);
  2179. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2180. var _formel = document.getElementById("studyDetail");
  2181. U.UF.F.windowZooming(_formel);
  2182. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2183. var _formel = document.getElementById("studyDetail");
  2184. U.UF.F.windowZooming(_formel);
  2185. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2186. var _formel = document.getElementById("studentStudy");
  2187. U.UF.F.windowZooming(_formel);
  2188. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2189. // var _formel = document.getElementById("study");
  2190. //如果最大化了,那么就把他缩小
  2191. // if (_formel.ismaximize) {
  2192. // return;
  2193. // }
  2194. // U.UF.F.windowZooming(_formel);
  2195. // U.UF.F.topWindow(_formel);
  2196. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2197. // var _formel = document.getElementById("studyDetail");
  2198. //如果最大化了,那么就把他缩小
  2199. // if (_formel.ismaximize) {
  2200. // return;
  2201. // }
  2202. // U.UF.F.windowZooming(_formel);
  2203. // U.UF.F.topWindow(_formel);
  2204. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2205. // var _formel = document.getElementById("studentStudy");
  2206. // if (_formel.ismaximize) {
  2207. // return;
  2208. // }
  2209. // U.UF.F.windowZooming(_formel);
  2210. // U.UF.F.topWindow(_formel);
  2211. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2212. var _formel = document.getElementById("study");
  2213. // if (_formel.ismaximize) {
  2214. // return;
  2215. // }
  2216. // U.UF.F.windowZooming(_formel);
  2217. U.UF.F.topWindow(_formel);
  2218. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2219. var _formel = document.getElementById("studentIndex");
  2220. U.UF.F.windowZooming(_formel);
  2221. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2222. var _formel = document.getElementById("studyDetailS");
  2223. U.UF.F.windowZooming(_formel);
  2224. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2225. var _formel = document.getElementById("studioIndex");
  2226. U.UF.F.windowZooming(_formel);
  2227. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2228. var _formel = document.getElementById("studyDetailStudio");
  2229. U.UF.F.windowZooming(_formel);
  2230. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2231. var _formel = document.getElementById("studyDetailStudio");
  2232. U.UF.F.windowZooming(_formel);
  2233. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2234. var _formel = document.getElementById("studyDetailNT");
  2235. U.UF.F.windowZooming(_formel);
  2236. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2237. var _formel = document.getElementById("studyDetailS");
  2238. U.UF.F.windowZooming(_formel);
  2239. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2240. var _formel = document.getElementById("studyDetailS");
  2241. U.UF.F.topWindow(_formel);
  2242. } else if (e.data.tools && e.data.tools == "1") {
  2243. // U.MD.D.I.openApplication("whiteboard")
  2244. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2245. } else if (e.data.tools && e.data.tools == "2") {
  2246. U.MD.D.I.openApplication("note")
  2247. } else if (e.data.tools && e.data.tools == "3") {
  2248. // U.MD.D.I.openApplication("mind")
  2249. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2250. } else if (e.data.tools && e.data.tools == "4") {
  2251. U.MD.D.I.openApplication("investigation")
  2252. } else if (e.data.tools && e.data.tools == "6") {
  2253. // U.MD.D.I.openApplication("doc")
  2254. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2255. } else if (e.data.tools && e.data.tools == "7") {
  2256. // U.MD.D.I.openApplication("mindNetwork")
  2257. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2258. } else if (e.data.tools && e.data.tools == "8") {
  2259. U.MD.D.I.openApplication("library")
  2260. } else if (e.data.tools && e.data.tools == "17") {
  2261. U.MD.D.I.openApplication("stuLibrary")
  2262. } else if (e.data.tools && e.data.tools == "18") {
  2263. U.MD.D.I.openApplication("train")
  2264. } else if (e.data.tools && e.data.tools == "21") {
  2265. U.MD.D.I.openApplication("program")
  2266. } else if (e.data.tools && e.data.tools == "22") {
  2267. U.MD.D.I.openApplication("AIprogram2")
  2268. } else if (e.data.tools && e.data.tools == "23") {
  2269. U.MD.D.I.openApplication("Pythonprogram")
  2270. } else if (e.data.tools && e.data.tools == "24") {
  2271. U.MD.D.I.openApplication("AIprogram")
  2272. } else if (e.data.tools && e.data.tools == "25") {
  2273. U.MD.D.I.openApplication("sys")
  2274. } else if (e.data.tools && e.data.tools == "26") {
  2275. // U.MD.D.I.openApplication("courseDesign")
  2276. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2277. } else if (e.data.tools && e.data.tools == "31") {
  2278. U.MD.D.I.openApplication("netWorkPanel")
  2279. } else if (e.data.tools && e.data.tools == "32") {
  2280. U.MD.D.I.openApplication("codeEdit")
  2281. } else if (e.data.tools && e.data.tools == "57") {
  2282. U.MD.D.I.openApplication("CocoPi")
  2283. } else if (e.data.tools && e.data.tools == "63") {
  2284. U.MD.D.I.openApplication("Wood")
  2285. } else if (e.data.tools && e.data.tools == "58") {
  2286. U.MD.D.I.openApplication("car")
  2287. } else if (e.data.tools && e.data.tools == "59") {
  2288. U.MD.D.I.openApplication("lineSearch")
  2289. } else if (e.data.tools && e.data.tools == "60") {
  2290. U.MD.D.I.openApplication("deepLearning")
  2291. } else if (e.data.tools && e.data.tools == "61") {
  2292. U.MD.D.I.openApplication("allHistory")
  2293. } else if (e.data.tools && e.data.tools == "28") {
  2294. U.MD.D.I.openApplication("translation")
  2295. } else if (e.data.tools && e.data.tools == "37") {
  2296. U.MD.D.I.openApplication("mohe")
  2297. } else if (e.data.tools && e.data.tools == "38") {
  2298. U.MD.D.I.openApplication("24game")
  2299. } else if (e.data.tools && e.data.tools == "39") {
  2300. U.MD.D.I.openApplication("GeoGebra")
  2301. } else if (e.data.tools && e.data.tools == "43") {
  2302. U.MD.D.I.openApplication("studentEvaluate")
  2303. } else if (e.data.tools && e.data.tools == "44") {
  2304. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2305. } else if (e.data.tools && e.data.tools == "46") {
  2306. U.MD.D.I.openApplication("project")
  2307. } else if (e.data.tools && e.data.tools == "1s") {
  2308. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2309. } else if (e.data.tools && e.data.tools == "3s") {
  2310. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2311. } else if (e.data.tools && e.data.tools == "6s") {
  2312. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2313. } else if (e.data.tools && e.data.tools == "1studio") {
  2314. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2315. } else if (e.data.tools && e.data.tools == "3studio") {
  2316. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2317. } else if (e.data.tools && e.data.tools == "6studio") {
  2318. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2319. } else if (e.data.tools && e.data.tools == "3y") {
  2320. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2321. } else if (e.data.tools && e.data.tools == "1y") {
  2322. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2323. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2324. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2325. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2326. U.MD.D.I.openApplication("AIAnalyse")
  2327. } else if (e.data.tools && e.data.tools == "1teacher") {
  2328. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2329. } else if (e.data.tools && e.data.tools == "3teacher") {
  2330. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2331. } else if (e.data.tools && e.data.tools == "7teacher") {
  2332. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2333. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2334. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2335. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2336. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2337. } else if (e.data.tools && e.data.tools == "1E") {
  2338. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2339. } else if (e.data.tools && e.data.tools == "3E") {
  2340. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2341. } else if (e.data.tools && e.data.tools == "57y") {
  2342. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2343. } else if (e.data.tools && e.data.tools == "57u") {
  2344. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2345. } else if (e.data.tools && e.data.tools == "57teacher") {
  2346. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2347. } else if (e.data.tools && e.data.tools == "64") {
  2348. U.MD.D.I.openApplication("AIChat")
  2349. } else if (e.data.tools && e.data.tools == "66") {
  2350. U.MD.D.I.openApplication("formulaEdi")
  2351. } else if (e.data.tools && e.data.tools == "67") {
  2352. U.MD.D.I.openApplication("molStr")
  2353. } else if (e.data.tools && e.data.tools == "68") {
  2354. U.MD.D.I.openApplication("timeAxis")
  2355. }
  2356. });
  2357. U.MD.D.I.selectUser = function() {
  2358. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function(res) { //US.userInfo.userid
  2359. if (res.value[0].length > 0) {
  2360. US.userInfo = res.value[0][0];
  2361. $(".userName")[0].innerHTML = US.userInfo.username;
  2362. }
  2363. }, [], { "type": "GET", "withCredentials": true });
  2364. }
  2365. U.MD.D.I.openInApplication = function(str, data, screenType, tType) {
  2366. var _userinfo = US.userInfo, //登录用户信息
  2367. _userid = US.userInfo.userid, //登录用户id
  2368. _oid = _userinfo.organizeid,
  2369. _type = US.userInfo.type,
  2370. _org = US.userInfo.org,
  2371. _role = US.userInfo.role,
  2372. _classId = US.userInfo.classid;
  2373. if (_type == 4) {
  2374. tType = 4
  2375. }
  2376. switch (str) {
  2377. case "studyDetailNT": //无终端模式
  2378. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2379. setTimeout(() => {
  2380. U.MD.U.L.login();
  2381. }, 2000);
  2382. } else {
  2383. _formdiv = new U.UF.UI.form(
  2384. "课程详情",
  2385. $$("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 }), {
  2386. "id": "studyDetailNT",
  2387. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2388. "onresize": function() {}
  2389. }, {
  2390. closecallback: function() {}
  2391. }, { "style": { "height": "36px" } }).form; //创建窗体
  2392. _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); } }
  2393. break;
  2394. }
  2395. case "studyDetail":
  2396. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2397. setTimeout(() => {
  2398. U.MD.U.L.login();
  2399. }, 2000);
  2400. } else {
  2401. _formdiv = new U.UF.UI.form(
  2402. "课程详情",
  2403. $$("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 }), {
  2404. "id": "studyDetail",
  2405. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2406. "onresize": function() {}
  2407. }, {
  2408. closecallback: function() {}
  2409. }, { "style": { "height": "36px" } }).form; //创建窗体
  2410. _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); } }
  2411. break;
  2412. }
  2413. case "studyDetailS":
  2414. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2415. setTimeout(() => {
  2416. U.MD.U.L.login();
  2417. }, 2000);
  2418. } else {
  2419. _formdiv = new U.UF.UI.form(
  2420. "项目详情",
  2421. $$("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 }), {
  2422. "id": "studyDetailS",
  2423. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2424. "onresize": function() {}
  2425. }, {
  2426. closecallback: function() {}
  2427. }, { "style": { "height": "36px" } }).form; //创建窗体
  2428. _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); } }
  2429. break;
  2430. }
  2431. case "studyDetailStudio":
  2432. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2433. setTimeout(() => {
  2434. U.MD.U.L.login();
  2435. }, 2000);
  2436. } else {
  2437. _formdiv = new U.UF.UI.form(
  2438. "工作详情",
  2439. $$("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 }), {
  2440. "id": "studyDetailStudio",
  2441. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2442. "onresize": function() {}
  2443. }, {
  2444. closecallback: function() {}
  2445. }, { "style": { "height": "36px" } }).form; //创建窗体
  2446. _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); } }
  2447. break;
  2448. }
  2449. case "studyDetailS5":
  2450. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2451. setTimeout(() => {
  2452. U.MD.U.L.login();
  2453. }, 2000);
  2454. } else {
  2455. _formdiv = new U.UF.UI.form(
  2456. "项目详情",
  2457. $$("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 }), {
  2458. "id": "studyDetailS",
  2459. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2460. "onresize": function() {}
  2461. }, {
  2462. closecallback: function() {}
  2463. }, { "style": { "height": "36px" } }).form; //创建窗体
  2464. _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); } }
  2465. break;
  2466. }
  2467. case "studyDetailGM":
  2468. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2469. setTimeout(() => {
  2470. U.MD.U.L.login();
  2471. }, 2000);
  2472. } else {
  2473. _formdiv = new U.UF.UI.form(
  2474. "课程详情",
  2475. $$("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 }), {
  2476. "id": "studyDetail",
  2477. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2478. "onresize": function() {}
  2479. }, {
  2480. closecallback: function() {}
  2481. }, { "style": { "height": "36px" } }).form; //创建窗体
  2482. _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); } }
  2483. break;
  2484. }
  2485. case "hanUrl":
  2486. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2487. setTimeout(() => {
  2488. U.MD.U.L.login();
  2489. }, 2000);
  2490. } else {
  2491. _formdiv = new U.UF.UI.form(
  2492. "汉字宫",
  2493. $$("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" }), {
  2494. "id": "hanUrl",
  2495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2496. "onresize": function() {}
  2497. }, {
  2498. closecallback: function() {}
  2499. }, { "style": { "height": "36px" } }).form; //创建窗体
  2500. _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); } }
  2501. break;
  2502. }
  2503. }
  2504. }
  2505. U.MD.D.I.openApplication = function(str, obj, info) {
  2506. obj = obj || {};
  2507. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2508. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2509. _userinfo = US.userInfo, //登录用户信息
  2510. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2511. _oid = obj.organizeid || _userinfo.organizeid,
  2512. _type = US.userInfo.type,
  2513. _org = US.userInfo.org,
  2514. _role = US.userInfo.role,
  2515. _classId = US.userInfo.classid,
  2516. _TscreenType = 1
  2517. _screenType = 2,
  2518. _SscreenType = 3;
  2519. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2520. return;
  2521. }
  2522. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2523. switch (str) {
  2524. case "studnetProject": //好友打开
  2525. _formdiv = new U.UF.UI.form(
  2526. "我的项目",
  2527. $$("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 }), {
  2528. "id": "studnetProject",
  2529. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2530. "onresize": function() {}
  2531. }, {
  2532. closecallback: function() {}
  2533. }, { "style": { "height": "36px" } }).form; //创建窗体
  2534. _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); } }
  2535. break;
  2536. case "studentEvaluate": //好友打开
  2537. _formdiv = new U.UF.UI.form(
  2538. "我的评价",
  2539. $$("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 }), {
  2540. "id": "studentEvaluate",
  2541. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2542. "onresize": function() {}
  2543. }, {
  2544. closecallback: function() {}
  2545. }, { "style": { "height": "36px" } }).form; //创建窗体
  2546. _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); } }
  2547. break;
  2548. case "my":
  2549. _formdiv = new U.UF.UI.form(
  2550. "我的资料",
  2551. $$("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 }), {
  2552. "id": "my",
  2553. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2554. "onresize": function() {}
  2555. }, {
  2556. closecallback: function() {}
  2557. }, { "style": { "height": "36px" } }).form; //创建窗体
  2558. _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); } }
  2559. break;
  2560. case "program":
  2561. _formdiv = new U.UF.UI.form(
  2562. "编程平台",
  2563. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2564. "id": "program",
  2565. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2566. "onresize": function() {}
  2567. }, {
  2568. closecallback: function() {}
  2569. }, { "style": { "height": "36px" } }).form; //创建窗体
  2570. _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); } }
  2571. break;
  2572. case "library":
  2573. _formdiv = new U.UF.UI.form(
  2574. "素材库",
  2575. $$("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 }), {
  2576. "id": "library",
  2577. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2578. "onresize": function() {}
  2579. }, {
  2580. closecallback: function() {}
  2581. }, { "style": { "height": "36px" } }).form; //创建窗体
  2582. _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); } }
  2583. break;
  2584. case "whiteboard":
  2585. _formdiv = new U.UF.UI.form(
  2586. "电子白板",
  2587. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2588. "id": "whiteboard",
  2589. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2590. "onresize": function() {}
  2591. }, {
  2592. closecallback: function() {}
  2593. }, { "style": { "height": "36px" } }).form; //创建窗体
  2594. _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); } }
  2595. break;
  2596. case "investigation":
  2597. _formdiv = new U.UF.UI.form(
  2598. "问卷调查",
  2599. $$("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 }), {
  2600. "id": "investigation",
  2601. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2602. "onresize": function() {}
  2603. }, {
  2604. closecallback: function() {}
  2605. }, { "style": { "height": "36px" } }).form; //创建窗体
  2606. _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); } }
  2607. break;
  2608. case "note":
  2609. _formdiv = new U.UF.UI.form(
  2610. "便签分类",
  2611. $$("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 }), {
  2612. "id": "note",
  2613. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2614. "onresize": function() {}
  2615. }, {
  2616. closecallback: function() {}
  2617. }, { "style": { "height": "36px" } }).form; //创建窗体
  2618. _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); } }
  2619. break;
  2620. // case "score":
  2621. // _formdiv = new U.UF.UI.form(
  2622. // "量规评分",
  2623. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2624. // "id": "score",
  2625. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2626. // "onresize": function() {}
  2627. // }, {
  2628. // closecallback: function() {}
  2629. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2630. // _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); } }
  2631. // break;
  2632. case "mind":
  2633. _formdiv = new U.UF.UI.form(
  2634. "思维导图",
  2635. $$("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"
  2636. "id": "mind",
  2637. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2638. "onresize": function() {}
  2639. }, {
  2640. closecallback: function() {}
  2641. }, { "style": { "height": "36px" } }).form; //创建窗体
  2642. _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); } }
  2643. break;
  2644. case "doc":
  2645. // U.MD.D.I.isRoom();
  2646. _formdiv = new U.UF.UI.form(
  2647. "协同文档",
  2648. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2649. "id": "doc",
  2650. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2651. "onresize": function() {}
  2652. }, {
  2653. closecallback: function() {}
  2654. }, { "style": { "height": "36px" } }).form; //创建窗体
  2655. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2656. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2657. // })
  2658. _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); } }
  2659. break;
  2660. case "studentStudy":
  2661. _formdiv = new U.UF.UI.form(
  2662. "课程中心",
  2663. $$("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
  2664. "id": "studentStudy",
  2665. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2666. "onresize": function() {}
  2667. }, {
  2668. closecallback: function() {}
  2669. }, { "style": { "height": "36px" } }).form; //创建窗体
  2670. _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); } }
  2671. break;
  2672. case "train": //好友打开
  2673. _formdiv = new U.UF.UI.form(
  2674. "训练平台",
  2675. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2676. "id": "train",
  2677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2678. "onresize": function() {}
  2679. }, {
  2680. closecallback: function() {}
  2681. }, { "style": { "height": "36px" } }).form; //创建窗体
  2682. _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); } }
  2683. break;
  2684. case "mindNetwork": //好友打开
  2685. _formdiv = new U.UF.UI.form(
  2686. "思维网格",
  2687. $$("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 }), {
  2688. "id": "mindNetwork",
  2689. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2690. "onresize": function() {}
  2691. }, {
  2692. closecallback: function() {}
  2693. }, { "style": { "height": "36px" } }).form; //创建窗体
  2694. _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); } }
  2695. break;
  2696. case "studentClassRoom": //好友打开
  2697. _formdiv = new U.UF.UI.form(
  2698. "实时课堂",
  2699. $$("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 }), {
  2700. "id": "studentClassRoom",
  2701. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2702. "onresize": function() {}
  2703. }, {
  2704. closecallback: function() {}
  2705. }, { "style": { "height": "36px" } }).form; //创建窗体
  2706. _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); } }
  2707. setTimeout(() => {
  2708. U.UF.F.windowZooming(_formdiv)
  2709. }, 0);
  2710. break;
  2711. }
  2712. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2713. switch (str) {
  2714. case "studnetProject": //好友打开
  2715. _formdiv = new U.UF.UI.form(
  2716. "我的项目",
  2717. $$("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 }), {
  2718. "id": "studnetProject",
  2719. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2720. "onresize": function() {}
  2721. }, {
  2722. closecallback: function() {}
  2723. }, { "style": { "height": "36px" } }).form; //创建窗体
  2724. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2725. break;
  2726. case "studentEvaluate": //好友打开
  2727. _formdiv = new U.UF.UI.form(
  2728. "我的评价",
  2729. $$("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 }), {
  2730. "id": "studentEvaluate",
  2731. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2732. "onresize": function() {}
  2733. }, {
  2734. closecallback: function() {}
  2735. }, { "style": { "height": "36px" } }).form; //创建窗体
  2736. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2737. break;
  2738. case "my":
  2739. _formdiv = new U.UF.UI.form(
  2740. "我的资料",
  2741. $$("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 }), {
  2742. "id": "my",
  2743. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2744. "onresize": function() {}
  2745. }, {
  2746. closecallback: function() {}
  2747. }, { "style": { "height": "36px" } }).form; //创建窗体
  2748. _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); } }
  2749. break;
  2750. case "program":
  2751. _formdiv = new U.UF.UI.form(
  2752. "编程平台",
  2753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2754. "id": "program",
  2755. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2756. "onresize": function() {}
  2757. }, {
  2758. closecallback: function() {}
  2759. }, { "style": { "height": "36px" } }).form; //创建窗体
  2760. _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); } }
  2761. break;
  2762. case "library":
  2763. _formdiv = new U.UF.UI.form(
  2764. "素材库",
  2765. $$("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 }), {
  2766. "id": "library",
  2767. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2768. "onresize": function() {}
  2769. }, {
  2770. closecallback: function() {}
  2771. }, { "style": { "height": "36px" } }).form; //创建窗体
  2772. _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); } }
  2773. break;
  2774. case "whiteboard":
  2775. _formdiv = new U.UF.UI.form(
  2776. "电子白板",
  2777. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2778. "id": "whiteboard",
  2779. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2780. "onresize": function() {}
  2781. }, {
  2782. closecallback: function() {}
  2783. }, { "style": { "height": "36px" } }).form; //创建窗体
  2784. _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); } }
  2785. break;
  2786. case "investigation":
  2787. _formdiv = new U.UF.UI.form(
  2788. "问卷调查",
  2789. $$("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 }), {
  2790. "id": "investigation",
  2791. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2792. "onresize": function() {}
  2793. }, {
  2794. closecallback: function() {}
  2795. }, { "style": { "height": "36px" } }).form; //创建窗体
  2796. _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); } }
  2797. break;
  2798. case "note":
  2799. _formdiv = new U.UF.UI.form(
  2800. "便签分类",
  2801. $$("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 }), {
  2802. "id": "note",
  2803. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2804. "onresize": function() {}
  2805. }, {
  2806. closecallback: function() {}
  2807. }, { "style": { "height": "36px" } }).form; //创建窗体
  2808. _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); } }
  2809. break;
  2810. // case "score":
  2811. // _formdiv = new U.UF.UI.form(
  2812. // "量规评分",
  2813. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2814. // "id": "score",
  2815. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2816. // "onresize": function() {}
  2817. // }, {
  2818. // closecallback: function() {}
  2819. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2820. // _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); } }
  2821. // break;
  2822. case "mind":
  2823. _formdiv = new U.UF.UI.form(
  2824. "思维导图",
  2825. $$("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"
  2826. "id": "mind",
  2827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2828. "onresize": function() {}
  2829. }, {
  2830. closecallback: function() {}
  2831. }, { "style": { "height": "36px" } }).form; //创建窗体
  2832. _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); } }
  2833. break;
  2834. case "doc":
  2835. // U.MD.D.I.isRoom();
  2836. _formdiv = new U.UF.UI.form(
  2837. "协同文档",
  2838. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2839. "id": "doc",
  2840. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2841. "onresize": function() {}
  2842. }, {
  2843. closecallback: function() {}
  2844. }, { "style": { "height": "36px" } }).form; //创建窗体
  2845. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  2846. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2847. })
  2848. _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); } }
  2849. break;
  2850. case "train": //好友打开
  2851. _formdiv = new U.UF.UI.form(
  2852. "训练平台",
  2853. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2854. "id": "train",
  2855. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2856. "onresize": function() {}
  2857. }, {
  2858. closecallback: function() {}
  2859. }, { "style": { "height": "36px" } }).form; //创建窗体
  2860. _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); } }
  2861. break;
  2862. case "studentStudy":
  2863. _formdiv = new U.UF.UI.form(
  2864. "课程中心",
  2865. $$("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
  2866. "id": "studentStudy",
  2867. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2868. "onresize": function() {}
  2869. }, {
  2870. closecallback: function() {}
  2871. }, { "style": { "height": "36px" } }).form; //创建窗体
  2872. _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); } }
  2873. break;
  2874. case "mindNetwork": //好友打开
  2875. _formdiv = new U.UF.UI.form(
  2876. "思维网格",
  2877. $$("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 }), {
  2878. "id": "mindNetwork",
  2879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2880. "onresize": function() {}
  2881. }, {
  2882. closecallback: function() {}
  2883. }, { "style": { "height": "36px" } }).form; //创建窗体
  2884. _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); } }
  2885. break;
  2886. case "studentClassRoom": //好友打开
  2887. _formdiv = new U.UF.UI.form(
  2888. "实时课堂",
  2889. $$("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 }), {
  2890. "id": "studentClassRoom",
  2891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2892. "onresize": function() {}
  2893. }, {
  2894. closecallback: function() {}
  2895. }, { "style": { "height": "36px" } }).form; //创建窗体
  2896. _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); } }
  2897. setTimeout(() => {
  2898. U.UF.F.windowZooming(_formdiv)
  2899. }, 0);
  2900. break;
  2901. }
  2902. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2903. //选择应用处理
  2904. switch (str) {
  2905. case "project": //好友打开
  2906. _formdiv = new U.UF.UI.form(
  2907. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  2908. $$("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 }), {
  2909. "id": "project",
  2910. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2911. "onresize": function() {}
  2912. }, {
  2913. closecallback: function() {}
  2914. }, { "style": { "height": "36px" } }).form; //创建窗体
  2915. _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); } }
  2916. break;
  2917. case "student":
  2918. _formdiv = new U.UF.UI.form(
  2919. "学生管理",
  2920. $$("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 }), {
  2921. "id": "student",
  2922. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2923. "onresize": function() {}
  2924. }, {
  2925. closecallback: function() {}
  2926. }, { "style": { "height": "36px" } }).form; //创建窗体
  2927. _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); } }
  2928. break;
  2929. case "evaluate":
  2930. _formdiv = new U.UF.UI.form(
  2931. "学生评价",
  2932. $$("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 }), {
  2933. "id": "evaluate",
  2934. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2935. "onresize": function() {}
  2936. }, {
  2937. closecallback: function() {}
  2938. }, { "style": { "height": "36px" } }).form; //创建窗体
  2939. _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); } }
  2940. break;
  2941. case "sys":
  2942. _formdiv = new U.UF.UI.form(
  2943. "目标管理",
  2944. $$("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 }), {
  2945. "id": "sys",
  2946. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2947. "onresize": function() {}
  2948. }, {
  2949. closecallback: function() {}
  2950. }, { "style": { "height": "36px" } }).form; //创建窗体
  2951. _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); } }
  2952. break;
  2953. case "courseDesign":
  2954. _formdiv = new U.UF.UI.form(
  2955. "项目设计",
  2956. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2957. "id": "courseDesign",
  2958. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2959. "onresize": function() {}
  2960. }, {
  2961. closecallback: function() {}
  2962. }, { "style": { "height": "36px" } }).form; //创建窗体
  2963. _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); } }
  2964. break;
  2965. case "program":
  2966. _formdiv = new U.UF.UI.form(
  2967. "编程平台",
  2968. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2969. "id": "program",
  2970. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2971. "onresize": function() {}
  2972. }, {
  2973. closecallback: function() {}
  2974. }, { "style": { "height": "36px" } }).form; //创建窗体
  2975. _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); } }
  2976. break;
  2977. case "class":
  2978. _formdiv = new U.UF.UI.form(
  2979. "班级管理",
  2980. $$("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 }), {
  2981. "id": "class",
  2982. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2983. "onresize": function() {}
  2984. }, {
  2985. closecallback: function() {}
  2986. }, { "style": { "height": "36px" } }).form; //创建窗体
  2987. _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); } }
  2988. break;
  2989. case "Grade":
  2990. _formdiv = new U.UF.UI.form(
  2991. "年级管理",
  2992. $$("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 }), {
  2993. "id": "Grade",
  2994. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2995. "onresize": function() {}
  2996. }, {
  2997. closecallback: function() {}
  2998. }, { "style": { "height": "36px" } }).form; //创建窗体
  2999. _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); } }
  3000. break;
  3001. case "teacherOffice":
  3002. _formdiv = new U.UF.UI.form(
  3003. "教研室",
  3004. $$("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 }), {
  3005. "id": "teacherOffice",
  3006. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3007. "onresize": function() {}
  3008. }, {
  3009. closecallback: function() {}
  3010. }, { "style": { "height": "36px" } }).form; //创建窗体
  3011. _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); } }
  3012. break;
  3013. case "my":
  3014. _formdiv = new U.UF.UI.form(
  3015. "我的资料",
  3016. $$("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 }), {
  3017. "id": "my",
  3018. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3019. "onresize": function() {}
  3020. }, {
  3021. closecallback: function() {}
  3022. }, { "style": { "height": "36px" } }).form; //创建窗体
  3023. _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); } }
  3024. break;
  3025. case "notice":
  3026. _formdiv = new U.UF.UI.form(
  3027. "通知公告",
  3028. $$("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 }), {
  3029. "id": "notice",
  3030. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3031. "onresize": function() {}
  3032. }, {
  3033. closecallback: function() {}
  3034. }, { "style": { "height": "36px" } }).form; //创建窗体
  3035. _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); } }
  3036. break;
  3037. case "library":
  3038. _formdiv = new U.UF.UI.form(
  3039. "素材库",
  3040. $$("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 }), {
  3041. "id": "library",
  3042. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3043. "onresize": function() {}
  3044. }, {
  3045. closecallback: function() {}
  3046. }, { "style": { "height": "36px" } }).form; //创建窗体
  3047. _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); } }
  3048. break;
  3049. case "whiteboard":
  3050. _formdiv = new U.UF.UI.form(
  3051. "电子白板",
  3052. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3053. "id": "whiteboard",
  3054. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3055. "onresize": function() {}
  3056. }, {
  3057. closecallback: function() {}
  3058. }, { "style": { "height": "36px" } }).form; //创建窗体
  3059. _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); } }
  3060. break;
  3061. case "investigation":
  3062. _formdiv = new U.UF.UI.form(
  3063. "问卷调查",
  3064. $$("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 }), {
  3065. "id": "investigation",
  3066. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3067. "onresize": function() {}
  3068. }, {
  3069. closecallback: function() {}
  3070. }, { "style": { "height": "36px" } }).form; //创建窗体
  3071. _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); } }
  3072. break;
  3073. case "note":
  3074. _formdiv = new U.UF.UI.form(
  3075. "便签分类",
  3076. $$("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 }), {
  3077. "id": "note",
  3078. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3079. "onresize": function() {}
  3080. }, {
  3081. closecallback: function() {}
  3082. }, { "style": { "height": "36px" } }).form; //创建窗体
  3083. _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); } }
  3084. break;
  3085. // case "score":
  3086. // _formdiv = new U.UF.UI.form(
  3087. // "量规评分",
  3088. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3089. // "id": "score",
  3090. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3091. // "onresize": function() {}
  3092. // }, {
  3093. // closecallback: function() {}
  3094. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3095. // _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); } }
  3096. // break;
  3097. case "mind":
  3098. _formdiv = new U.UF.UI.form(
  3099. "思维导图",
  3100. $$("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"
  3101. "id": "mind",
  3102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3103. "onresize": function() {}
  3104. }, {
  3105. closecallback: function() {}
  3106. }, { "style": { "height": "36px" } }).form; //创建窗体
  3107. _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); } }
  3108. break;
  3109. case "doc":
  3110. // U.MD.D.I.isRoom();
  3111. _formdiv = new U.UF.UI.form(
  3112. "协同文档",
  3113. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3114. "id": "doc",
  3115. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3116. "onresize": function() {}
  3117. }, {
  3118. closecallback: function() {}
  3119. }, { "style": { "height": "36px" } }).form; //创建窗体
  3120. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3121. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3122. })
  3123. _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); } }
  3124. break;
  3125. case "study":
  3126. _formdiv = new U.UF.UI.form(
  3127. "课程中心",
  3128. $$("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
  3129. "id": "study",
  3130. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3131. "onresize": function() {}
  3132. }, {
  3133. closecallback: function() {}
  3134. }, { "style": { "height": "36px" } }).form; //创建窗体
  3135. _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); } }
  3136. break;
  3137. case "mindNetwork": //好友打开
  3138. _formdiv = new U.UF.UI.form(
  3139. "思维网格",
  3140. $$("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 }), {
  3141. "id": "mindNetwork",
  3142. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function() {}
  3144. }, {
  3145. closecallback: function() {}
  3146. }, { "style": { "height": "36px" } }).form; //创建窗体
  3147. _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); } }
  3148. break;
  3149. case "train": //好友打开
  3150. _formdiv = new U.UF.UI.form(
  3151. "训练平台",
  3152. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3153. "id": "mindNetwork",
  3154. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3155. "onresize": function() {}
  3156. }, {
  3157. closecallback: function() {}
  3158. }, { "style": { "height": "36px" } }).form; //创建窗体
  3159. _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); } }
  3160. break;
  3161. case "teacherClassRoom": //好友打开
  3162. _formdiv = new U.UF.UI.form(
  3163. "实时课堂",
  3164. $$("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 }), {
  3165. "id": "teacherClassRoom",
  3166. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function() {}
  3168. }, {
  3169. closecallback: function() {}
  3170. }, { "style": { "height": "36px" } }).form; //创建窗体
  3171. _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); } }
  3172. setTimeout(() => {
  3173. U.UF.F.windowZooming(_formdiv)
  3174. }, 0);
  3175. break;
  3176. }
  3177. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3178. switch (str) {
  3179. case "project": //好友打开
  3180. _formdiv = new U.UF.UI.form(
  3181. "课程管理",
  3182. $$("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 }), {
  3183. "id": "project",
  3184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3185. "onresize": function() {}
  3186. }, {
  3187. closecallback: function() {}
  3188. }, { "style": { "height": "36px" } }).form; //创建窗体
  3189. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3190. break;
  3191. case "evaluate":
  3192. _formdiv = new U.UF.UI.form(
  3193. "学生评价",
  3194. $$("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 }), {
  3195. "id": "evaluate",
  3196. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3197. "onresize": function() {}
  3198. }, {
  3199. closecallback: function() {}
  3200. }, { "style": { "height": "36px" } }).form; //创建窗体
  3201. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3202. break;
  3203. case "notice":
  3204. _formdiv = new U.UF.UI.form(
  3205. "通知公告",
  3206. $$("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 }), {
  3207. "id": "notice",
  3208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3209. "onresize": function() {}
  3210. }, {
  3211. closecallback: function() {}
  3212. }, { "style": { "height": "36px" } }).form; //创建窗体
  3213. _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); } }
  3214. break;
  3215. case "stuLibrary":
  3216. _formdiv = new U.UF.UI.form(
  3217. "学习资料",
  3218. $$("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 }), {
  3219. "id": "stuLibrary",
  3220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3221. "onresize": function() {}
  3222. }, {
  3223. closecallback: function() {}
  3224. }, { "style": { "height": "36px" } }).form; //创建窗体
  3225. _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); } }
  3226. break;
  3227. case "program":
  3228. _formdiv = new U.UF.UI.form(
  3229. "编程平台",
  3230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3231. "id": "program",
  3232. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3233. "onresize": function() {}
  3234. }, {
  3235. closecallback: function() {}
  3236. }, { "style": { "height": "36px" } }).form; //创建窗体
  3237. _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); } }
  3238. break;
  3239. case "whiteboard":
  3240. _formdiv = new U.UF.UI.form(
  3241. "电子白板",
  3242. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3243. "id": "whiteboard",
  3244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3245. "onresize": function() {}
  3246. }, {
  3247. closecallback: function() {}
  3248. }, { "style": { "height": "36px" } }).form; //创建窗体
  3249. _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); } }
  3250. break;
  3251. case "investigation":
  3252. _formdiv = new U.UF.UI.form(
  3253. "问卷调查",
  3254. $$("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 }), {
  3255. "id": "investigation",
  3256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3257. "onresize": function() {}
  3258. }, {
  3259. closecallback: function() {}
  3260. }, { "style": { "height": "36px" } }).form; //创建窗体
  3261. _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); } }
  3262. break;
  3263. case "mind":
  3264. _formdiv = new U.UF.UI.form(
  3265. "思维导图",
  3266. $$("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"
  3267. "id": "mind",
  3268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3269. "onresize": function() {}
  3270. }, {
  3271. closecallback: function() {}
  3272. }, { "style": { "height": "36px" } }).form; //创建窗体
  3273. _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); } }
  3274. break;
  3275. case "doc":
  3276. // U.MD.D.I.isRoom();
  3277. _formdiv = new U.UF.UI.form(
  3278. "协同文档",
  3279. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3280. "id": "doc",
  3281. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3282. "onresize": function() {}
  3283. }, {
  3284. closecallback: function() {}
  3285. }, { "style": { "height": "36px" } }).form; //创建窗体
  3286. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  3287. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3288. })
  3289. _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); } }
  3290. break;
  3291. case "study":
  3292. _formdiv = new U.UF.UI.form(
  3293. "课程中心",
  3294. $$("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
  3295. "id": "study",
  3296. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3297. "onresize": function() {}
  3298. }, {
  3299. closecallback: function() {}
  3300. }, { "style": { "height": "36px" } }).form; //创建窗体
  3301. _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); } }
  3302. break;
  3303. case "mindNetwork": //好友打开
  3304. _formdiv = new U.UF.UI.form(
  3305. "思维网格",
  3306. $$("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 }), {
  3307. "id": "mindNetwork",
  3308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3309. "onresize": function() {}
  3310. }, {
  3311. closecallback: function() {}
  3312. }, { "style": { "height": "36px" } }).form; //创建窗体
  3313. _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); } }
  3314. break;
  3315. case "train": //好友打开
  3316. _formdiv = new U.UF.UI.form(
  3317. "训练平台",
  3318. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3319. "id": "train",
  3320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3321. "onresize": function() {}
  3322. }, {
  3323. closecallback: function() {}
  3324. }, { "style": { "height": "36px" } }).form; //创建窗体
  3325. _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); } }
  3326. break;
  3327. case "sys":
  3328. _formdiv = new U.UF.UI.form(
  3329. "目标管理",
  3330. $$("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 }), {
  3331. "id": "sys",
  3332. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function() {}
  3334. }, {
  3335. closecallback: function() {}
  3336. }, { "style": { "height": "36px" } }).form; //创建窗体
  3337. _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); } }
  3338. break;
  3339. case "courseDesign":
  3340. _formdiv = new U.UF.UI.form(
  3341. "项目设计",
  3342. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3343. "id": "courseDesign",
  3344. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3345. "onresize": function() {}
  3346. }, {
  3347. closecallback: function() {}
  3348. }, { "style": { "height": "36px" } }).form; //创建窗体
  3349. _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); } }
  3350. break;
  3351. }
  3352. } else if (!_type) {
  3353. switch (str) {
  3354. case "my":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3358. "id": "my",
  3359. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3365. break;
  3366. }
  3367. }
  3368. switch (str) {
  3369. // AIprogram2 AI体验 aihub.cocorobo.cn
  3370. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3371. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3372. case "formulaEdi": //公式编辑
  3373. _formdiv = new U.UF.UI.form(
  3374. "公式编辑",
  3375. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3376. "id": "formulaEdi",
  3377. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3378. "onresize": function() {}
  3379. }, {
  3380. closecallback: function() {}
  3381. }, { "style": { "height": "36px" } }).form; //创建窗体
  3382. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3383. break;
  3384. case "molStr": //分子结构
  3385. _formdiv = new U.UF.UI.form(
  3386. "分子结构",
  3387. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3388. "id": "molStr",
  3389. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3390. "onresize": function() {}
  3391. }, {
  3392. closecallback: function() {}
  3393. }, { "style": { "height": "36px" } }).form; //创建窗体
  3394. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3395. break;
  3396. case "timeAxis": //时间轴
  3397. _formdiv = new U.UF.UI.form(
  3398. "时间轴",
  3399. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3400. "id": "timeAxis",
  3401. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3402. "onresize": function() {}
  3403. }, {
  3404. closecallback: function() {}
  3405. }, { "style": { "height": "36px" } }).form; //创建窗体
  3406. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3407. break;
  3408. case "AIprogram2": //AI体验
  3409. _formdiv = new U.UF.UI.form(
  3410. "AI体验",
  3411. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3412. "id": "AIprogram2",
  3413. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3414. "onresize": function() {}
  3415. }, {
  3416. closecallback: function() {}
  3417. }, { "style": { "height": "36px" } }).form; //创建窗体
  3418. _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); } }
  3419. break;
  3420. case "Pythonprogram": //python编程
  3421. _formdiv = new U.UF.UI.form(
  3422. "Python编程",
  3423. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3424. "id": "Pythonprogram",
  3425. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3426. "onresize": function() {}
  3427. }, {
  3428. closecallback: function() {}
  3429. }, { "style": { "height": "36px" } }).form; //创建窗体
  3430. _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); } }
  3431. break;
  3432. case "AIprogram": //ai编程
  3433. _formdiv = new U.UF.UI.form(
  3434. "AI编程平台",
  3435. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3436. "id": "AIprogram",
  3437. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3438. "onresize": function() {}
  3439. }, {
  3440. closecallback: function() {}
  3441. }, { "style": { "height": "36px" } }).form; //创建窗体
  3442. _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); } }
  3443. break;
  3444. case "CocoPi": //CocoPi
  3445. _formdiv = new U.UF.UI.form(
  3446. "CocoPi",
  3447. $$("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" }), {
  3448. "id": "CocoPi",
  3449. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3450. "onresize": function() {}
  3451. }, {
  3452. closecallback: function() {}
  3453. }, { "style": { "height": "36px" } }).form; //创建窗体
  3454. _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); } }
  3455. break;
  3456. case "Wood": //Wood
  3457. _formdiv = new U.UF.UI.form(
  3458. "海龟编程",
  3459. $$("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/" }), {
  3460. "id": "Wood",
  3461. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3462. "onresize": function() {}
  3463. }, {
  3464. closecallback: function() {}
  3465. }, { "style": { "height": "36px" } }).form; //创建窗体
  3466. _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); } }
  3467. break;
  3468. case "car": //模拟驾驶
  3469. _formdiv = new U.UF.UI.form(
  3470. "模拟驾驶",
  3471. $$("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/" }), {
  3472. "id": "car",
  3473. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3474. "onresize": function() {}
  3475. }, {
  3476. closecallback: function() {}
  3477. }, { "style": { "height": "36px" } }).form; //创建窗体
  3478. _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); } }
  3479. break;
  3480. case "lineSearch": //路径搜索
  3481. _formdiv = new U.UF.UI.form(
  3482. "路径搜索",
  3483. $$("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/" }), {
  3484. "id": "lineSearch",
  3485. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3486. "onresize": function() {}
  3487. }, {
  3488. closecallback: function() {}
  3489. }, { "style": { "height": "36px" } }).form; //创建窗体
  3490. _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); } }
  3491. break;
  3492. case "deepLearning": //深度学习
  3493. _formdiv = new U.UF.UI.form(
  3494. "深度学习",
  3495. $$("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/#" }), {
  3496. "id": "deepLearning",
  3497. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3498. "onresize": function() {}
  3499. }, {
  3500. closecallback: function() {}
  3501. }, { "style": { "height": "36px" } }).form; //创建窗体
  3502. _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); } }
  3503. break;
  3504. case "allHistory": //深度学习
  3505. _formdiv = new U.UF.UI.form(
  3506. "全历史",
  3507. $$("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/" }), {
  3508. "id": "allHistory",
  3509. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3510. "onresize": function() {}
  3511. }, {
  3512. closecallback: function() {}
  3513. }, { "style": { "height": "36px" } }).form; //创建窗体
  3514. _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); } }
  3515. break;
  3516. case "chatPDF": //ai编程
  3517. _formdiv = new U.UF.UI.form(
  3518. "chatPDF",
  3519. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3520. "id": "chatPDF",
  3521. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3522. "onresize": function() {}
  3523. }, {
  3524. closecallback: function() {}
  3525. }, { "style": { "height": "36px" } }).form; //创建窗体
  3526. _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); } }
  3527. break;
  3528. case "resources": //国家教育
  3529. _formdiv = new U.UF.UI.form(
  3530. "国家教育",
  3531. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3532. "id": "resources",
  3533. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3534. "onresize": function() {}
  3535. }, {
  3536. closecallback: function() {}
  3537. }, { "style": { "height": "36px" } }).form; //创建窗体
  3538. _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); } }
  3539. break;
  3540. case "codeEdit": //源码编辑
  3541. _formdiv = new U.UF.UI.form(
  3542. "源码编辑",
  3543. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3544. "id": "codeEdit",
  3545. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3546. "onresize": function() {}
  3547. }, {
  3548. closecallback: function() {}
  3549. }, { "style": { "height": "36px" } }).form; //创建窗体
  3550. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3551. break; //
  3552. case "MindMap": //MindMap
  3553. _formdiv = new U.UF.UI.form(
  3554. "MindMap",
  3555. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3556. "id": "MindMap",
  3557. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3558. "onresize": function() {}
  3559. }, {
  3560. closecallback: function() {}
  3561. }, { "style": { "height": "36px" } }).form; //创建窗体
  3562. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3563. break;
  3564. case "netWorkPanel": //netWorkPanel
  3565. _formdiv = new U.UF.UI.form(
  3566. "netWorkPanel",
  3567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3568. "id": "netWorkPanel",
  3569. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function() {}
  3571. }, {
  3572. closecallback: function() {}
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3575. break;
  3576. case "GeoGebra": //GeoGebra
  3577. _formdiv = new U.UF.UI.form(
  3578. "GeoGebra",
  3579. $$("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" }), {
  3580. "id": "GeoGebra",
  3581. "style": { "width": "80%", "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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3587. break;
  3588. case "translation": //翻译
  3589. _formdiv = new U.UF.UI.form(
  3590. "翻译",
  3591. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3592. "id": "translation",
  3593. "style": { "width": "80%", "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/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3599. break;
  3600. case "mohe": //魔盒
  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": "//games.cocorobo.cn/view/index.html#/" }), {
  3604. "id": "mohe",
  3605. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3611. break;
  3612. case "24game": //24点
  3613. _formdiv = new U.UF.UI.form(
  3614. "24点",
  3615. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3616. "id": "24game",
  3617. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3623. break;
  3624. case "case":
  3625. _formdiv = new U.UF.UI.form(
  3626. "课程进展",
  3627. $$("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 }), {
  3628. "id": "case",
  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/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3635. break;
  3636. case "snf":
  3637. _formdiv = new U.UF.UI.form(
  3638. "赛诺梵",
  3639. $$("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" }), {
  3640. "id": "snf",
  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/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3647. break;
  3648. case "hanFamily":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3652. "id": "hanFamily",
  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/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3659. break;
  3660. case "hanClassics":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3664. "id": "hanClassics",
  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/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3671. break;
  3672. case "hanTraining":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3676. "id": "hanTraining",
  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/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3683. break;
  3684. case "hanClass":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3688. "id": "hanClass",
  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/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3695. break;
  3696. case "han":
  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": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3700. "id": "han",
  3701. "style": { "width": "90%", "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/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3707. break;
  3708. case "projectGM": //课程管理
  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/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3712. "id": "projectGM",
  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/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3719. break;
  3720. case "studyGM": //课程中心
  3721. _formdiv = new U.UF.UI.form(
  3722. "课程中心",
  3723. $$("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
  3724. "id": "study",
  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/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3731. break;
  3732. // studentGM
  3733. case "studentGM": //学生管理
  3734. _formdiv = new U.UF.UI.form(
  3735. "学生管理",
  3736. $$("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 }), {
  3737. "id": "studentGM",
  3738. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3739. "onresize": function() {}
  3740. }, {
  3741. closecallback: function() {}
  3742. }, { "style": { "height": "36px" } }).form; //创建窗体
  3743. _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); } }
  3744. break;
  3745. case "evaluateGM": //学生评价
  3746. _formdiv = new U.UF.UI.form(
  3747. "学生评价",
  3748. $$("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 }), {
  3749. "id": "evaluateGM",
  3750. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3751. "onresize": function() {}
  3752. }, {
  3753. closecallback: function() {}
  3754. }, { "style": { "height": "36px" } }).form; //创建窗体
  3755. _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); } }
  3756. break;
  3757. // classGM
  3758. case "classGM": //班级管理
  3759. _formdiv = new U.UF.UI.form(
  3760. "班级管理",
  3761. $$("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 }), {
  3762. "id": "classGM",
  3763. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3764. "onresize": function() {}
  3765. }, {
  3766. closecallback: function() {}
  3767. }, { "style": { "height": "36px" } }).form; //创建窗体
  3768. _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); } }
  3769. break;
  3770. // dataGM
  3771. case "dataGM":
  3772. _formdiv = new U.UF.UI.form(
  3773. "我的资料",
  3774. $$("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 }), {
  3775. "id": "dataGM",
  3776. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3777. "onresize": function() {}
  3778. }, {
  3779. closecallback: function() {}
  3780. }, { "style": { "height": "36px" } }).form; //创建窗体
  3781. _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); } }
  3782. break;
  3783. // caseGM
  3784. case "caseGM": //课程进展
  3785. _formdiv = new U.UF.UI.form(
  3786. "课程进展",
  3787. $$("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 }), {
  3788. "id": "caseGM",
  3789. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3790. "onresize": function() {}
  3791. }, {
  3792. closecallback: function() {}
  3793. }, { "style": { "height": "36px" } }).form; //创建窗体
  3794. _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); } }
  3795. break;
  3796. // meterialGM
  3797. case "meterialGM": //素材库
  3798. _formdiv = new U.UF.UI.form(
  3799. "素材库",
  3800. $$("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 }), {
  3801. "id": "meterialGM",
  3802. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3803. "onresize": function() {}
  3804. }, {
  3805. closecallback: function() {}
  3806. }, { "style": { "height": "36px" } }).form; //创建窗体
  3807. _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); } }
  3808. break;
  3809. // evaluateSGM
  3810. case "evaluateSGM": //我的评价
  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-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3814. "id": "evaluateSGM",
  3815. "style": { "width": "70%", "height": "90%", "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/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3821. break;
  3822. case "jupyter": //jupyter
  3823. _formdiv = new U.UF.UI.form(
  3824. "jupyter",
  3825. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3826. "id": "jupyter",
  3827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. "onresize": function() {}
  3829. }, {
  3830. closecallback: function() {}
  3831. }, { "style": { "height": "36px" } }).form; //创建窗体
  3832. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3833. break;
  3834. case "number": //数字实验室
  3835. _formdiv = new U.UF.UI.form(
  3836. "数字实验室",
  3837. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3838. "id": "number",
  3839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3840. "onresize": function() {}
  3841. }, {
  3842. closecallback: function() {}
  3843. }, { "style": { "height": "36px" } }).form; //创建窗体
  3844. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3845. break;
  3846. case "studentCourse": //项目管理 学生
  3847. _formdiv = new U.UF.UI.form(
  3848. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3849. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3850. "id": "studentCourse",
  3851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3852. "onresize": function() {}
  3853. }, {
  3854. closecallback: function() {}
  3855. }, { "style": { "height": "36px" } }).form; //创建窗体
  3856. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3857. break;
  3858. case "studentCourseS": //项目管理 老师
  3859. _formdiv = new U.UF.UI.form(
  3860. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3861. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3862. "id": "studentCourseS",
  3863. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3864. "onresize": function() {}
  3865. }, {
  3866. closecallback: function() {}
  3867. }, { "style": { "height": "36px" } }).form; //创建窗体
  3868. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3869. break;
  3870. case "studentIndex": //项目中心
  3871. _formdiv = new U.UF.UI.form(
  3872. "项目中心",
  3873. $$("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 }), {
  3874. "id": "studentIndex",
  3875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3876. "onresize": function() {}
  3877. }, {
  3878. closecallback: function() {}
  3879. }, { "style": { "height": "36px" } }).form; //创建窗体
  3880. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3881. break;
  3882. case "CaseDesignS":
  3883. _formdiv = new U.UF.UI.form(
  3884. "项目进展",
  3885. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3886. "id": "case",
  3887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3888. "onresize": function() {}
  3889. }, {
  3890. closecallback: function() {}
  3891. }, { "style": { "height": "36px" } }).form; //创建窗体
  3892. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3893. break;
  3894. case "tcStudent": //腾讯学生管理
  3895. _formdiv = new U.UF.UI.form(
  3896. "学生管理",
  3897. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3898. "id": "tcStudent",
  3899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3900. "onresize": function() {}
  3901. }, {
  3902. closecallback: function() {}
  3903. }, { "style": { "height": "36px" } }).form; //创建窗体
  3904. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3905. break;
  3906. case "tcSchool": //腾讯学校管理
  3907. _formdiv = new U.UF.UI.form(
  3908. "学校管理",
  3909. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3910. "id": "tcSchool",
  3911. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3912. "onresize": function() {}
  3913. }, {
  3914. closecallback: function() {}
  3915. }, { "style": { "height": "36px" } }).form; //创建窗体
  3916. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3917. break;
  3918. case "tcTeacher": //腾讯学校管理
  3919. _formdiv = new U.UF.UI.form(
  3920. "教师管理",
  3921. $$("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 }), {
  3922. "id": "tcTeacher",
  3923. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3924. "onresize": function() {}
  3925. }, {
  3926. closecallback: function() {}
  3927. }, { "style": { "height": "36px" } }).form; //创建窗体
  3928. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3929. break;
  3930. case "tcData": //腾讯我的资料
  3931. _formdiv = new U.UF.UI.form(
  3932. "我的资料",
  3933. $$("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 }), {
  3934. "id": "tcData",
  3935. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3936. "onresize": function() {}
  3937. }, {
  3938. closecallback: function() {}
  3939. }, { "style": { "height": "36px" } }).form; //创建窗体
  3940. _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); } }
  3941. break;
  3942. case "tcNotice": //腾讯消息通知
  3943. _formdiv = new U.UF.UI.form(
  3944. "消息通知",
  3945. $$("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 }), {
  3946. "id": "tcNotice",
  3947. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3948. "onresize": function() {}
  3949. }, {
  3950. closecallback: function() {}
  3951. }, { "style": { "height": "36px" } }).form; //创建窗体
  3952. _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); } }
  3953. break;
  3954. case "myReport": //好友打开
  3955. _formdiv = new U.UF.UI.form(
  3956. "我的评价",
  3957. $$("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 }), {
  3958. "id": "myReport",
  3959. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3960. "onresize": function() {}
  3961. }, {
  3962. closecallback: function() {}
  3963. }, { "style": { "height": "36px" } }).form; //创建窗体
  3964. _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); } }
  3965. break;
  3966. case "learnAna": //好友打开
  3967. _formdiv = new U.UF.UI.form(
  3968. "学习分析",
  3969. $$("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 }), {
  3970. "id": "learnAna",
  3971. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3972. "onresize": function() {}
  3973. }, {
  3974. closecallback: function() {}
  3975. }, { "style": { "height": "36px" } }).form; //创建窗体
  3976. _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); } }
  3977. break;
  3978. case "AIChat": //AI共创
  3979. _formdiv = new U.UF.UI.form(
  3980. "AI共创",
  3981. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3982. "id": "AIChat",
  3983. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3984. "onresize": function() {}
  3985. }, {
  3986. istop: true,
  3987. closecallback: function() { $("#aichat_icon").remove(); },
  3988. narrowcallback: function() {
  3989. if (!$("#aichat_icon")[0]) {
  3990. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function() { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3991. }
  3992. },
  3993. }, { "style": { "height": "36px" } }).form; //创建窗体
  3994. _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); } }
  3995. break;
  3996. case "ainew": //AI共创
  3997. _formdiv = new U.UF.UI.form(
  3998. "AI协同",
  3999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4000. "id": "ainew",
  4001. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4002. "onresize": function() {}
  4003. }, {
  4004. closecallback: function() {}
  4005. }, { "style": { "height": "36px" } }).form; //创建窗体
  4006. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4007. break;
  4008. case "futureClass": //AI共创
  4009. _formdiv = new U.UF.UI.form(
  4010. "知识建构",
  4011. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.cn" }), {
  4012. "id": "futureClass",
  4013. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4014. "onresize": function() {}
  4015. }, {
  4016. closecallback: function() {}
  4017. }, { "style": { "height": "36px" } }).form; //创建窗体
  4018. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "知识建构", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4019. break;
  4020. case "dataBoard": //数据看板
  4021. _formdiv = new U.UF.UI.form(
  4022. "数据看板",
  4023. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4024. "id": "dataBoard",
  4025. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4026. "onresize": function() {}
  4027. }, {
  4028. closecallback: function() {}
  4029. }, { "style": { "height": "36px" } }).form; //创建窗体
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "AIAnalyse": //AI共创
  4033. _formdiv = new U.UF.UI.form(
  4034. "AI分析",
  4035. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4036. "id": "AIAnalyse",
  4037. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4038. "onresize": function() {}
  4039. }, {
  4040. closecallback: function() {}
  4041. }, { "style": { "height": "36px" } }).form; //创建窗体
  4042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4043. break;
  4044. case "studioCourse": //AI共创
  4045. _formdiv = new U.UF.UI.form(
  4046. "工作管理",
  4047. $$("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 }), {
  4048. "id": "studioCourse",
  4049. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4050. "onresize": function() {}
  4051. }, {
  4052. closecallback: function() {}
  4053. }, { "style": { "height": "36px" } }).form; //创建窗体
  4054. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4055. break;
  4056. case "studioIndex": //AI共创
  4057. _formdiv = new U.UF.UI.form(
  4058. "工作中心",
  4059. $$("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 }), {
  4060. "id": "studioIndex",
  4061. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4062. "onresize": function() {}
  4063. }, {
  4064. closecallback: function() {}
  4065. }, { "style": { "height": "36px" } }).form; //创建窗体
  4066. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4067. break;
  4068. case "source":
  4069. _formdiv = new U.UF.UI.form(
  4070. "教学资源",
  4071. $$("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 }), {
  4072. "id": "source",
  4073. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4074. "onresize": function() {}
  4075. }, {
  4076. closecallback: function() {}
  4077. }, { "style": { "height": "36px" } }).form; //创建窗体
  4078. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4079. break;
  4080. }
  4081. //U.MD.D.I.openClick(str);
  4082. //如果有任务栏信息
  4083. if (_taskbar) {
  4084. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4085. }
  4086. }
  4087. // U.MD.D.I.openClick = function(str){
  4088. // var click = '';
  4089. // switch(str){
  4090. // case 'friend':
  4091. // click = '我的好友';
  4092. // break;
  4093. // case 'domain':
  4094. // click = '域名管理';
  4095. // break;
  4096. // case 'disk':
  4097. // click = '我的云盘';
  4098. // break;
  4099. // case 'word':
  4100. // click = 'Word';
  4101. // break;
  4102. // case 'excel':
  4103. // click = 'Execl';
  4104. // break;
  4105. // case 'txt':
  4106. // click = '文本文件';
  4107. // break;
  4108. // case 'lookupFriend':
  4109. // click = '查找好友';
  4110. // break;
  4111. // case 'ftp':
  4112. // click = 'FTP';
  4113. // break;
  4114. // case 'group':
  4115. // click = '群组';
  4116. // break;
  4117. // case 'set':
  4118. // click = '我的设置';
  4119. // break;
  4120. // case 'systemSet':
  4121. // click = '系统设置';
  4122. // break;
  4123. // case 'boomYun':
  4124. // click = '互联办公';
  4125. // break;
  4126. // case 'xz':
  4127. // click = '云端下载';
  4128. // break;
  4129. // case 'client':
  4130. // click = '有思浏览器';
  4131. // break;
  4132. // case 'backEndProgramming':
  4133. // click = '在线后台编程';
  4134. // break;
  4135. // case 'frontEndProgramming':
  4136. // click = '在线前端编程';
  4137. // break;
  4138. // default: break;
  4139. // }
  4140. // if(U.MD.D.I.Ip && click){
  4141. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4142. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4143. // })
  4144. // }
  4145. // }
  4146. /**
  4147. *函数作用:ajax简易函数,使用post格式
  4148. *@param url {data} 后台地址
  4149. *@param data {data} 参数json
  4150. *@param fn {data} 回调函数
  4151. *
  4152. */
  4153. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4154. // var xhr = new XMLHttpRequest();
  4155. // xhr.open("GET",url,true);
  4156. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4157. // xhr.onreadystatechange = function(){
  4158. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4159. // fn.call(this,xhr.responseText);
  4160. // }
  4161. // };
  4162. // xhr.send();
  4163. // }
  4164. /*判断是否是内网IP*/
  4165. // U.MD.D.I.isInnerIPFn = function(str){
  4166. // var curPageUrl = str;
  4167. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4168. // curPageUrl =curPageUrl.replace(reg1,'');
  4169. // // console.log('curPageUrl-1 '+curPageUrl);
  4170. // var reg2 = /\:+/g;//替换冒号为一点
  4171. // curPageUrl =curPageUrl.replace(reg2,'.');
  4172. // // console.log('curPageUrl-2 '+curPageUrl);
  4173. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4174. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4175. // if(curPageUrl[2] != '16'){
  4176. // return ipAddress;
  4177. // }else{
  4178. // return false;
  4179. // }
  4180. // }
  4181. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4182. // //compatibility for firefox and chrome
  4183. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4184. // var pc = new myPeerConnection({
  4185. // iceServers: []
  4186. // }),
  4187. // noop = function() {},
  4188. // localIPs = {},
  4189. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4190. // key;
  4191. // function iterateIP(ip) {
  4192. // if (!localIPs[ip]) onNewIP(ip);
  4193. // localIPs[ip] = true;
  4194. // }
  4195. // //create a bogus data channel
  4196. // pc.createDataChannel("");
  4197. // // create offer and set local description
  4198. // pc.createOffer().then(function(sdp) {
  4199. // sdp.sdp.split('\n').forEach(function(line) {
  4200. // if (line.indexOf('candidate') < 0) return;
  4201. // line.match(ipRegex).forEach(iterateIP);
  4202. // });
  4203. // pc.setLocalDescription(sdp, noop, noop);
  4204. // }).catch(function(reason) {
  4205. // // An error occurred, so handle the failure to connect
  4206. // });
  4207. // //sten for candidate events
  4208. // pc.onicecandidate = function(ice) {
  4209. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4210. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4211. // };
  4212. // }
  4213. // U.MD.D.I.getUserIpBool = function(callback){
  4214. // U.MD.D.I.getUserIP(function(ip){
  4215. // alert("Got IP! :" + ip);
  4216. // });
  4217. //}
  4218. //#endregion
  4219. U.MD.D.I.openApplicationJie = function(str, cid, stage, task, tool) {
  4220. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4221. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4222. _userinfo = US.userInfo, //登录用户信息
  4223. _userid = US.userInfo.userid //登录用户id
  4224. let _iframe;
  4225. let _cid = cid,
  4226. _stage = stage,
  4227. _task = task,
  4228. _tool = tool;
  4229. var _jie = $$("div", {
  4230. "style": {
  4231. "position": "absolute",
  4232. "bottom": "50px",
  4233. "right": "50px",
  4234. "zIndex": "9999",
  4235. "backgroundColor": "#2268bc",
  4236. "color": "#fff",
  4237. "padding": "12px 20px",
  4238. "cursor": "pointer",
  4239. "borderRadius": "4px",
  4240. },
  4241. "innerHTML": "提交作业"
  4242. })
  4243. let aTool = ''
  4244. let _loading = document.createElement('div')
  4245. _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;"
  4246. // _loading.id = "";
  4247. let _lchild = document.createElement('div')
  4248. let _limg = document.createElement('img')
  4249. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4250. _limg.style = "width: 26px;margin-right: 10px;"
  4251. _lchild.appendChild(_limg)
  4252. let _lspan = document.createElement('span')
  4253. _lspan.innerHTML = "上传中..."
  4254. _lchild.appendChild(_lspan)
  4255. _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%);"
  4256. _loading.appendChild(_lchild)
  4257. var _box = $$('div', {
  4258. "style": {
  4259. "position": "relative",
  4260. "width": "100%",
  4261. "height": "100%",
  4262. },
  4263. })
  4264. _box.appendChild(_loading)
  4265. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4266. switch (str) {
  4267. case "whiteboard":
  4268. aTool = 1;
  4269. _iframe = $$("iframe", {
  4270. "frameborder": "no",
  4271. "border": "0",
  4272. "scrolling ": "no",
  4273. "style": {
  4274. "cssText": "border:0;width:100%;height:100%"
  4275. },
  4276. "src": "https://iwb.cocorobo.cn/"
  4277. })
  4278. _box.appendChild(_iframe);
  4279. _box.appendChild(_jie);
  4280. _formdiv = new U.UF.UI.form(
  4281. "电子白板",
  4282. _box, {
  4283. "id": "whiteboard" + cid + stage + task + tool,
  4284. "style": {
  4285. "width": "90%",
  4286. "height": "90%",
  4287. "overflow": 'hidden'
  4288. },
  4289. "onresize": function() {}
  4290. }, {
  4291. closecallback: function() {}
  4292. }, {
  4293. "style": {
  4294. "height": "36px"
  4295. }
  4296. }).form; //创建窗体
  4297. _taskbar = {
  4298. "id": str + _formdiv.id,
  4299. "style": {
  4300. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4301. },
  4302. "name": "电子白板",
  4303. "forms": _formdiv,
  4304. "click": function() {
  4305. U.MD.D.I.openApplication(str, obj, info);
  4306. }
  4307. }
  4308. break;
  4309. case "mind":
  4310. aTool = 3;
  4311. _iframe = $$("iframe", {
  4312. "frameborder": "no",
  4313. "border": "0",
  4314. "scrolling ": "no",
  4315. "style": {
  4316. "cssText": "border:0;width:100%;height:100%"
  4317. },
  4318. "src": "/kityminder-editor/dist/index.html"
  4319. })
  4320. _box.appendChild(_iframe);
  4321. _box.appendChild(_jie);
  4322. _formdiv = new U.UF.UI.form(
  4323. "思维导图",
  4324. _box, { //"/jsmind/example/demo.html"
  4325. "id": "mind" + cid + stage + task + tool,
  4326. "style": {
  4327. "width": "90%",
  4328. "height": "90%",
  4329. "overflow": 'hidden'
  4330. },
  4331. "onresize": function() {}
  4332. }, {
  4333. closecallback: function() {}
  4334. }, {
  4335. "style": {
  4336. "height": "36px"
  4337. }
  4338. }).form; //创建窗体
  4339. _taskbar = {
  4340. "id": str + _formdiv.id,
  4341. "style": {
  4342. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4343. },
  4344. "name": "思维导图",
  4345. "forms": _formdiv,
  4346. "click": function() {
  4347. U.MD.D.I.openApplication(str, obj, info);
  4348. }
  4349. }
  4350. break;
  4351. case "MindMap":
  4352. aTool = 3;
  4353. _iframe = $$("iframe", {
  4354. "frameborder": "no",
  4355. "border": "0",
  4356. "scrolling ": "no",
  4357. "style": {
  4358. "cssText": "border:0;width:100%;height:100%"
  4359. },
  4360. "src": "//cloud.cocorobo.cn/mind/"
  4361. })
  4362. _box.appendChild(_iframe);
  4363. _box.appendChild(_jie);
  4364. _formdiv = new U.UF.UI.form(
  4365. "思维导图",
  4366. _box, { //"/jsmind/example/demo.html"
  4367. "id": "mind" + cid + stage + task + tool,
  4368. "style": {
  4369. "width": "90%",
  4370. "height": "90%",
  4371. "overflow": 'hidden'
  4372. },
  4373. "onresize": function() {}
  4374. }, {
  4375. closecallback: function() {}
  4376. }, {
  4377. "style": {
  4378. "height": "36px"
  4379. }
  4380. }).form; //创建窗体
  4381. _taskbar = {
  4382. "id": str + _formdiv.id,
  4383. "style": {
  4384. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4385. },
  4386. "name": "思维导图",
  4387. "forms": _formdiv,
  4388. "click": function() {
  4389. U.MD.D.I.openApplication(str, obj, info);
  4390. }
  4391. }
  4392. break;
  4393. case "doc":
  4394. aTool = 6;
  4395. _iframe = $$("iframe", {
  4396. "frameborder": "no",
  4397. "border": "0",
  4398. "scrolling ": "no",
  4399. "style": {
  4400. "cssText": "border:0;width:100%;height:100%"
  4401. },
  4402. "src": "/Office/Word/WordEditArea.htm"
  4403. })
  4404. _box.appendChild(_iframe);
  4405. _box.appendChild(_jie);
  4406. _formdiv = new U.UF.UI.form(
  4407. "协同文档",
  4408. _box, {
  4409. "id": "doc" + cid + stage + task + tool,
  4410. "style": {
  4411. "width": "90%",
  4412. "height": "90%",
  4413. "overflow": 'hidden'
  4414. },
  4415. "onresize": function() {}
  4416. }, {
  4417. closecallback: function() {}
  4418. }, {
  4419. "style": {
  4420. "height": "36px"
  4421. }
  4422. }).form; //创建窗体
  4423. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4424. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4425. })
  4426. _taskbar = {
  4427. "id": str + _formdiv.id,
  4428. "style": {
  4429. "backgroundImage": "url(/img/icon/doc.png)"
  4430. },
  4431. "name": "协同文档",
  4432. "forms": _formdiv,
  4433. "click": function() {
  4434. U.MD.D.I.openApplication(str, obj, info);
  4435. }
  4436. }
  4437. break;
  4438. case "mindNetwork": //好友打开
  4439. aTool = 7;
  4440. _iframe = $$("iframe", {
  4441. "webkitallowfullscreen": "",
  4442. "mozallowfullscreen": "",
  4443. "allowfullscreen": "",
  4444. "frameborder": "no",
  4445. "border": "0",
  4446. "scrolling ": "no",
  4447. "style": {
  4448. "cssText": "border:0; width:100%; height:100%;"
  4449. },
  4450. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4451. })
  4452. _box.appendChild(_iframe);
  4453. _box.appendChild(_jie);
  4454. _formdiv = new U.UF.UI.form(
  4455. "思维网格",
  4456. _box, {
  4457. "id": "mindNetwork" + cid + stage + task + tool,
  4458. "style": {
  4459. "width": "90%",
  4460. "height": "90%",
  4461. "overflow": 'hidden'
  4462. },
  4463. "onresize": function() {}
  4464. }, {
  4465. closecallback: function() {}
  4466. }, {
  4467. "style": {
  4468. "height": "36px"
  4469. }
  4470. }).form; //创建窗体
  4471. _taskbar = {
  4472. "id": str + _formdiv.id,
  4473. "style": {
  4474. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4475. },
  4476. "name": "思维网格",
  4477. "forms": _formdiv,
  4478. "click": function() {
  4479. U.MD.D.I.openApplication(str, obj, info);
  4480. }
  4481. }
  4482. break;
  4483. case "courseDesign":
  4484. _iframe = $$("iframe", {
  4485. "webkitallowfullscreen": "",
  4486. "mozallowfullscreen": "",
  4487. "allowfullscreen": "",
  4488. "frameborder": "no",
  4489. "border": "0",
  4490. "scrolling ": "no",
  4491. "style": {
  4492. "cssText": "border:0; width:100%; height:100%;"
  4493. },
  4494. "src": "/course-design-vue"
  4495. })
  4496. _box.appendChild(_iframe);
  4497. _box.appendChild(_jie);
  4498. _formdiv = new U.UF.UI.form(
  4499. "项目设计",
  4500. _box, {
  4501. "id": "courseDesign" + cid + stage + task + tool,
  4502. "style": {
  4503. "width": "90%",
  4504. "height": "90%",
  4505. "overflow": 'hidden'
  4506. },
  4507. "onresize": function() {}
  4508. }, {
  4509. closecallback: function() {}
  4510. }, {
  4511. "style": {
  4512. "height": "36px"
  4513. }
  4514. }).form; //创建窗体
  4515. _taskbar = {
  4516. "id": str + _formdiv.id,
  4517. "style": {
  4518. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4519. },
  4520. "name": "项目设计",
  4521. "forms": _formdiv,
  4522. "click": function() {
  4523. U.MD.D.I.openApplication(str, obj, info);
  4524. }
  4525. }
  4526. break;
  4527. }
  4528. const script1 = document.createElement("script");
  4529. script1.type = "text/javascript";
  4530. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4531. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4532. const script2 = document.createElement("script");
  4533. script2.type = "text/javascript";
  4534. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4535. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4536. const script3 = document.createElement("script");
  4537. script3.type = "text/javascript";
  4538. script3.charset = "UTF-8";
  4539. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4540. const script4 = document.createElement("script");
  4541. script4.type = "text/javascript";
  4542. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4543. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4544. if (_iframe) {
  4545. if (str == 'doc') {
  4546. _iframe = _formdiv.querySelector('iframe')
  4547. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4548. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4549. _iframe.contentWindow.document.body.appendChild(script1);
  4550. _iframe.contentWindow.document.body.appendChild(script2);
  4551. // _iframe.contentWindow.document.body.appendChild(script3);
  4552. _iframe.contentWindow.document.body.appendChild(script4);
  4553. })
  4554. if (onloadListener) {
  4555. _iframe.contentDocument.location.reload()
  4556. } else {
  4557. _iframe.contentDocument.location.reload()
  4558. }
  4559. } else if (str == 'courseDesign') {
  4560. U.UF.DL.iframeLoad(_iframe, function() {
  4561. // _iframe.contentWindow.U.MD.O.W.load();
  4562. // _iframe.contentWindow.document.body.appendChild(script1);
  4563. _iframe.contentWindow.document.body.appendChild(script2);
  4564. _iframe.contentWindow.document.body.appendChild(script4);
  4565. })
  4566. } else if (str == 'mind') {
  4567. _iframe = _formdiv.querySelector('iframe')
  4568. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  4569. //
  4570. _iframe.contentWindow.document.body.appendChild(script1);
  4571. _iframe.contentWindow.document.body.appendChild(script2);
  4572. _iframe.contentWindow.document.body.appendChild(script4);
  4573. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4574. })
  4575. if (onloadListener) {
  4576. _iframe.contentDocument.location.reload()
  4577. } else {
  4578. _iframe.contentDocument.location.reload()
  4579. }
  4580. } else if (str == 'whiteboard') {
  4581. _iframe = _formdiv.querySelector('iframe')
  4582. let onloadListener = _iframe.onload = () => {
  4583. _iframe.contentWindow.document.body.appendChild(script1);
  4584. _iframe.contentWindow.document.body.appendChild(script2);
  4585. _iframe.contentWindow.document.body.appendChild(script4);
  4586. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4587. };
  4588. if (onloadListener) {
  4589. _iframe.contentDocument.location.reload()
  4590. } else {
  4591. _iframe.contentDocument.location.reload()
  4592. }
  4593. } else {
  4594. _iframe.onload = () => {
  4595. _iframe.contentWindow.document.body.appendChild(script1);
  4596. _iframe.contentWindow.document.body.appendChild(script2);
  4597. // _iframe.contentWindow.document.body.appendChild(script3);
  4598. _iframe.contentWindow.document.body.appendChild(script4);
  4599. };
  4600. }
  4601. _jie.onclick = async() => {
  4602. let text = ''
  4603. if (aTool == 1) {
  4604. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4605. } else if (aTool == 6) {
  4606. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4607. } else if (aTool == 3) {
  4608. text = await U.MD.D.I.getEditorContent(_iframe);
  4609. }
  4610. _loading.style.display = 'flex'
  4611. console.log(_loading);
  4612. var _ajs = _iframe.contentWindow.document.createElement("script");
  4613. _ajs.type = "text/javascript";
  4614. _ajs.innerHTML =
  4615. // 'console.log(' + _loading + ');\n' +
  4616. 'var _js = document.createElement("script");\n' +
  4617. '_js.type="text/javascript";\n' +
  4618. '_js.charset="UTF-8";\n' +
  4619. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4620. "_js.onload = function(){\n" +
  4621. ' var a = document.getElementsByTagName("img")\n' +
  4622. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4623. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4624. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4625. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4626. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4627. "beforeUpload_shishi(file," +
  4628. "'" +
  4629. _userid +
  4630. "'" +
  4631. ", " +
  4632. "'" +
  4633. _cid +
  4634. "'" +
  4635. ", " +
  4636. "'" +
  4637. _stage +
  4638. "'" +
  4639. ", " +
  4640. "'" +
  4641. _task +
  4642. "'" +
  4643. ", " +
  4644. "'" +
  4645. _tool +
  4646. "'" +
  4647. ", " +
  4648. "'" +
  4649. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4650. "'" +
  4651. ", " +
  4652. "'" +
  4653. aTool +
  4654. "'" +
  4655. ", " +
  4656. "`" +
  4657. text +
  4658. "`" +
  4659. ")\n" +
  4660. " });\n" +
  4661. "}\n" +
  4662. "document.head.appendChild(_js);\n";
  4663. _iframe.contentWindow.document.head.appendChild(_ajs);
  4664. }
  4665. }
  4666. //U.MD.D.I.openClick(str);
  4667. //如果有任务栏信息
  4668. // if (_taskbar) {
  4669. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4670. // }
  4671. }
  4672. U.MD.D.I.openApplicationJieE = function(str, cid, stage, task, tool) {
  4673. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4674. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4675. _userinfo = US.userInfo, //登录用户信息
  4676. _userid = US.userInfo.userid //登录用户id
  4677. let _iframe;
  4678. let _cid = cid,
  4679. _stage = stage,
  4680. _task = task,
  4681. _tool = tool;
  4682. var _jie = $$("div", {
  4683. "style": {
  4684. "position": "absolute",
  4685. "bottom": "50px",
  4686. "right": "50px",
  4687. "zIndex": "9999",
  4688. "backgroundColor": "#2268bc",
  4689. "color": "#fff",
  4690. "padding": "12px 20px",
  4691. "cursor": "pointer",
  4692. "borderRadius": "4px",
  4693. },
  4694. "innerHTML": "提交作业"
  4695. })
  4696. let aTool = ''
  4697. let _loading = document.createElement('div')
  4698. _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;"
  4699. // _loading.id = "";
  4700. let _lchild = document.createElement('div')
  4701. let _limg = document.createElement('img')
  4702. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4703. _limg.style = "width: 26px;margin-right: 10px;"
  4704. _lchild.appendChild(_limg)
  4705. let _lspan = document.createElement('span')
  4706. _lspan.innerHTML = "上传中..."
  4707. _lchild.appendChild(_lspan)
  4708. _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%);"
  4709. _loading.appendChild(_lchild)
  4710. var _box = $$('div', {
  4711. "style": {
  4712. "position": "relative",
  4713. "width": "100%",
  4714. "height": "100%",
  4715. },
  4716. })
  4717. _box.appendChild(_loading)
  4718. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4719. switch (str) {
  4720. case "whiteboard":
  4721. aTool = 1;
  4722. _iframe = $$("iframe", {
  4723. "frameborder": "no",
  4724. "border": "0",
  4725. "scrolling ": "no",
  4726. "style": {
  4727. "cssText": "border:0;width:100%;height:100%"
  4728. },
  4729. "src": "https://iwb.cocorobo.cn/"
  4730. })
  4731. _box.appendChild(_iframe);
  4732. _box.appendChild(_jie);
  4733. _formdiv = new U.UF.UI.form(
  4734. "电子白板",
  4735. _box, {
  4736. "id": "whiteboard" + cid + stage + task + tool,
  4737. "style": {
  4738. "width": "90%",
  4739. "height": "90%",
  4740. "overflow": 'hidden'
  4741. },
  4742. "onresize": function() {}
  4743. }, {
  4744. closecallback: function() {}
  4745. }, {
  4746. "style": {
  4747. "height": "36px"
  4748. }
  4749. }).form; //创建窗体
  4750. _taskbar = {
  4751. "id": str + _formdiv.id,
  4752. "style": {
  4753. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4754. },
  4755. "name": "电子白板",
  4756. "forms": _formdiv,
  4757. "click": function() {
  4758. U.MD.D.I.openApplication(str, obj, info);
  4759. }
  4760. }
  4761. break;
  4762. case "mind":
  4763. aTool = 3;
  4764. _iframe = $$("iframe", {
  4765. "frameborder": "no",
  4766. "border": "0",
  4767. "scrolling ": "no",
  4768. "style": {
  4769. "cssText": "border:0;width:100%;height:100%"
  4770. },
  4771. "src": "/kityminder-editor/dist/index.html"
  4772. })
  4773. _box.appendChild(_iframe);
  4774. _box.appendChild(_jie);
  4775. _formdiv = new U.UF.UI.form(
  4776. "思维导图",
  4777. _box, { //"/jsmind/example/demo.html"
  4778. "id": "mind" + cid + stage + task + tool,
  4779. "style": {
  4780. "width": "90%",
  4781. "height": "90%",
  4782. "overflow": 'hidden'
  4783. },
  4784. "onresize": function() {}
  4785. }, {
  4786. closecallback: function() {}
  4787. }, {
  4788. "style": {
  4789. "height": "36px"
  4790. }
  4791. }).form; //创建窗体
  4792. _taskbar = {
  4793. "id": str + _formdiv.id,
  4794. "style": {
  4795. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4796. },
  4797. "name": "思维导图",
  4798. "forms": _formdiv,
  4799. "click": function() {
  4800. U.MD.D.I.openApplication(str, obj, info);
  4801. }
  4802. }
  4803. break;
  4804. case "MindMap":
  4805. aTool = 3;
  4806. _iframe = $$("iframe", {
  4807. "frameborder": "no",
  4808. "border": "0",
  4809. "scrolling ": "no",
  4810. "style": {
  4811. "cssText": "border:0;width:100%;height:100%"
  4812. },
  4813. "src": "//cloud.cocorobo.cn/mind/"
  4814. })
  4815. _box.appendChild(_iframe);
  4816. _box.appendChild(_jie);
  4817. _formdiv = new U.UF.UI.form(
  4818. "思维导图",
  4819. _box, { //"/jsmind/example/demo.html"
  4820. "id": "mind" + cid + stage + task + tool,
  4821. "style": {
  4822. "width": "90%",
  4823. "height": "90%",
  4824. "overflow": 'hidden'
  4825. },
  4826. "onresize": function() {}
  4827. }, {
  4828. closecallback: function() {}
  4829. }, {
  4830. "style": {
  4831. "height": "36px"
  4832. }
  4833. }).form; //创建窗体
  4834. _taskbar = {
  4835. "id": str + _formdiv.id,
  4836. "style": {
  4837. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4838. },
  4839. "name": "思维导图",
  4840. "forms": _formdiv,
  4841. "click": function() {
  4842. U.MD.D.I.openApplication(str, obj, info);
  4843. }
  4844. }
  4845. break;
  4846. case "doc":
  4847. aTool = 6;
  4848. _iframe = $$("iframe", {
  4849. "frameborder": "no",
  4850. "border": "0",
  4851. "scrolling ": "no",
  4852. "style": {
  4853. "cssText": "border:0;width:100%;height:100%"
  4854. },
  4855. "src": "/Office/Word/WordEditArea.htm"
  4856. })
  4857. _box.appendChild(_iframe);
  4858. _box.appendChild(_jie);
  4859. _formdiv = new U.UF.UI.form(
  4860. "协同文档",
  4861. _box, {
  4862. "id": "doc" + cid + stage + task + tool,
  4863. "style": {
  4864. "width": "90%",
  4865. "height": "90%",
  4866. "overflow": 'hidden'
  4867. },
  4868. "onresize": function() {}
  4869. }, {
  4870. closecallback: function() {}
  4871. }, {
  4872. "style": {
  4873. "height": "36px"
  4874. }
  4875. }).form; //创建窗体
  4876. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  4877. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4878. })
  4879. _taskbar = {
  4880. "id": str + _formdiv.id,
  4881. "style": {
  4882. "backgroundImage": "url(/img/icon/doc.png)"
  4883. },
  4884. "name": "协同文档",
  4885. "forms": _formdiv,
  4886. "click": function() {
  4887. U.MD.D.I.openApplication(str, obj, info);
  4888. }
  4889. }
  4890. break;
  4891. case "mindNetwork": //好友打开
  4892. aTool = 7;
  4893. _iframe = $$("iframe", {
  4894. "webkitallowfullscreen": "",
  4895. "mozallowfullscreen": "",
  4896. "allowfullscreen": "",
  4897. "frameborder": "no",
  4898. "border": "0",
  4899. "scrolling ": "no",
  4900. "style": {
  4901. "cssText": "border:0; width:100%; height:100%;"
  4902. },
  4903. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4904. })
  4905. _box.appendChild(_iframe);
  4906. _box.appendChild(_jie);
  4907. _formdiv = new U.UF.UI.form(
  4908. "思维网格",
  4909. _box, {
  4910. "id": "mindNetwork" + cid + stage + task + tool,
  4911. "style": {
  4912. "width": "90%",
  4913. "height": "90%",
  4914. "overflow": 'hidden'
  4915. },
  4916. "onresize": function() {}
  4917. }, {
  4918. closecallback: function() {}
  4919. }, {
  4920. "style": {
  4921. "height": "36px"
  4922. }
  4923. }).form; //创建窗体
  4924. _taskbar = {
  4925. "id": str + _formdiv.id,
  4926. "style": {
  4927. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4928. },
  4929. "name": "思维网格",
  4930. "forms": _formdiv,
  4931. "click": function() {
  4932. U.MD.D.I.openApplication(str, obj, info);
  4933. }
  4934. }
  4935. break;
  4936. case "courseDesign":
  4937. _iframe = $$("iframe", {
  4938. "webkitallowfullscreen": "",
  4939. "mozallowfullscreen": "",
  4940. "allowfullscreen": "",
  4941. "frameborder": "no",
  4942. "border": "0",
  4943. "scrolling ": "no",
  4944. "style": {
  4945. "cssText": "border:0; width:100%; height:100%;"
  4946. },
  4947. "src": "/course-design-vue"
  4948. })
  4949. _box.appendChild(_iframe);
  4950. _box.appendChild(_jie);
  4951. _formdiv = new U.UF.UI.form(
  4952. "项目设计",
  4953. _box, {
  4954. "id": "courseDesign" + cid + stage + task + tool,
  4955. "style": {
  4956. "width": "90%",
  4957. "height": "90%",
  4958. "overflow": 'hidden'
  4959. },
  4960. "onresize": function() {}
  4961. }, {
  4962. closecallback: function() {}
  4963. }, {
  4964. "style": {
  4965. "height": "36px"
  4966. }
  4967. }).form; //创建窗体
  4968. _taskbar = {
  4969. "id": str + _formdiv.id,
  4970. "style": {
  4971. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4972. },
  4973. "name": "项目设计",
  4974. "forms": _formdiv,
  4975. "click": function() {
  4976. U.MD.D.I.openApplication(str, obj, info);
  4977. }
  4978. }
  4979. break;
  4980. }
  4981. const script1 = document.createElement("script");
  4982. script1.type = "text/javascript";
  4983. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4984. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4985. const script2 = document.createElement("script");
  4986. script2.type = "text/javascript";
  4987. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4988. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4989. const script3 = document.createElement("script");
  4990. script3.type = "text/javascript";
  4991. script3.charset = "UTF-8";
  4992. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4993. const script4 = document.createElement("script");
  4994. script4.type = "text/javascript";
  4995. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4996. script4.src = window.origin + "/js/Common/jietu2E.js";
  4997. if (_iframe) {
  4998. if (str == 'doc') {
  4999. _iframe = _formdiv.querySelector('iframe')
  5000. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5001. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5002. _iframe.contentWindow.document.body.appendChild(script1);
  5003. _iframe.contentWindow.document.body.appendChild(script2);
  5004. // _iframe.contentWindow.document.body.appendChild(script3);
  5005. _iframe.contentWindow.document.body.appendChild(script4);
  5006. })
  5007. if (onloadListener) {
  5008. _iframe.contentDocument.location.reload()
  5009. } else {
  5010. _iframe.contentDocument.location.reload()
  5011. }
  5012. } else if (str == 'courseDesign') {
  5013. U.UF.DL.iframeLoad(_iframe, function() {
  5014. // _iframe.contentWindow.U.MD.O.W.load();
  5015. // _iframe.contentWindow.document.body.appendChild(script1);
  5016. _iframe.contentWindow.document.body.appendChild(script2);
  5017. _iframe.contentWindow.document.body.appendChild(script4);
  5018. })
  5019. } else if (str == 'mind') {
  5020. _iframe = _formdiv.querySelector('iframe')
  5021. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5022. //
  5023. _iframe.contentWindow.document.body.appendChild(script1);
  5024. _iframe.contentWindow.document.body.appendChild(script2);
  5025. _iframe.contentWindow.document.body.appendChild(script4);
  5026. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5027. })
  5028. if (onloadListener) {
  5029. _iframe.contentDocument.location.reload()
  5030. } else {
  5031. _iframe.contentDocument.location.reload()
  5032. }
  5033. } else if (str == 'whiteboard') {
  5034. _iframe = _formdiv.querySelector('iframe')
  5035. let onloadListener = _iframe.onload = () => {
  5036. _iframe.contentWindow.document.body.appendChild(script1);
  5037. _iframe.contentWindow.document.body.appendChild(script2);
  5038. _iframe.contentWindow.document.body.appendChild(script4);
  5039. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5040. };
  5041. if (onloadListener) {
  5042. _iframe.contentDocument.location.reload()
  5043. } else {
  5044. _iframe.contentDocument.location.reload()
  5045. }
  5046. } else {
  5047. _iframe.onload = () => {
  5048. _iframe.contentWindow.document.body.appendChild(script1);
  5049. _iframe.contentWindow.document.body.appendChild(script2);
  5050. // _iframe.contentWindow.document.body.appendChild(script3);
  5051. _iframe.contentWindow.document.body.appendChild(script4);
  5052. };
  5053. }
  5054. _jie.onclick = async() => {
  5055. let text = ''
  5056. if (aTool == 1) {
  5057. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5058. } else if (aTool == 6) {
  5059. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5060. } else if (aTool == 3) {
  5061. text = await U.MD.D.I.getEditorContent(_iframe);
  5062. }
  5063. _loading.style.display = 'flex'
  5064. console.log(_loading);
  5065. var _ajs = _iframe.contentWindow.document.createElement("script");
  5066. _ajs.type = "text/javascript";
  5067. _ajs.innerHTML =
  5068. // 'console.log(' + _loading + ');\n' +
  5069. 'var _js = document.createElement("script");\n' +
  5070. '_js.type="text/javascript";\n' +
  5071. '_js.charset="UTF-8";\n' +
  5072. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5073. "_js.onload = function(){\n" +
  5074. ' var a = document.getElementsByTagName("img")\n' +
  5075. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5076. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5077. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5078. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5079. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5080. "beforeUpload_shishi(file," +
  5081. "'" +
  5082. _userid +
  5083. "'" +
  5084. ", " +
  5085. "'" +
  5086. _cid +
  5087. "'" +
  5088. ", " +
  5089. "'" +
  5090. _stage +
  5091. "'" +
  5092. ", " +
  5093. "'" +
  5094. _task +
  5095. "'" +
  5096. ", " +
  5097. "'" +
  5098. _tool +
  5099. "'" +
  5100. ", " +
  5101. "'" +
  5102. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5103. "'" +
  5104. ", " +
  5105. "'" +
  5106. aTool +
  5107. "'" +
  5108. ", " +
  5109. "`" +
  5110. text +
  5111. "`" +
  5112. ")\n" +
  5113. " });\n" +
  5114. "}\n" +
  5115. "document.head.appendChild(_js);\n";
  5116. _iframe.contentWindow.document.head.appendChild(_ajs);
  5117. }
  5118. }
  5119. //U.MD.D.I.openClick(str);
  5120. //如果有任务栏信息
  5121. // if (_taskbar) {
  5122. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5123. // }
  5124. }
  5125. U.MD.D.I.openApplicationJieTeacher = function(str, cid, stage, task, tool, student) {
  5126. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5127. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5128. _userid = student.userid, //登录用户id
  5129. _username = student.student //用户名字
  5130. let _iframe;
  5131. let _cid = cid,
  5132. _stage = stage,
  5133. _task = task,
  5134. _tool = tool;
  5135. var _jie = $$("div", {
  5136. "style": {
  5137. "position": "absolute",
  5138. "bottom": "50px",
  5139. "right": "50px",
  5140. "zIndex": "9999",
  5141. "backgroundColor": "#2268bc",
  5142. "color": "#fff",
  5143. "padding": "12px 20px",
  5144. "cursor": "pointer",
  5145. "borderRadius": "4px",
  5146. },
  5147. "innerHTML": "提交作业"
  5148. })
  5149. let aTool = ''
  5150. let _loading = document.createElement('div')
  5151. _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;"
  5152. // _loading.id = "";
  5153. let _lchild = document.createElement('div')
  5154. let _limg = document.createElement('img')
  5155. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5156. _limg.style = "width: 26px;margin-right: 10px;"
  5157. _lchild.appendChild(_limg)
  5158. let _lspan = document.createElement('span')
  5159. _lspan.innerHTML = "上传中..."
  5160. _lchild.appendChild(_lspan)
  5161. _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%);"
  5162. _loading.appendChild(_lchild)
  5163. var _box = $$('div', {
  5164. "style": {
  5165. "position": "relative",
  5166. "width": "100%",
  5167. "height": "100%",
  5168. },
  5169. })
  5170. _box.appendChild(_loading)
  5171. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5172. switch (str) {
  5173. case "whiteboard":
  5174. aTool = 1;
  5175. _iframe = $$("iframe", {
  5176. "frameborder": "no",
  5177. "border": "0",
  5178. "scrolling ": "no",
  5179. "style": {
  5180. "cssText": "border:0;width:100%;height:100%"
  5181. },
  5182. "src": "https://iwb.cocorobo.cn/"
  5183. })
  5184. _box.appendChild(_iframe);
  5185. _box.appendChild(_jie);
  5186. _formdiv = new U.UF.UI.form(
  5187. "电子白板-" + _username,
  5188. _box, {
  5189. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5190. "style": {
  5191. "width": "90%",
  5192. "height": "90%",
  5193. "overflow": 'hidden'
  5194. },
  5195. "onresize": function() {}
  5196. }, {
  5197. closecallback: function() {}
  5198. }, {
  5199. "style": {
  5200. "height": "36px"
  5201. }
  5202. }).form; //创建窗体
  5203. _taskbar = {
  5204. "id": str + _formdiv.id,
  5205. "style": {
  5206. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5207. },
  5208. "name": "电子白板",
  5209. "forms": _formdiv,
  5210. "click": function() {
  5211. U.MD.D.I.openApplication(str, obj, info);
  5212. }
  5213. }
  5214. break;
  5215. case "mind":
  5216. aTool = 3;
  5217. _iframe = $$("iframe", {
  5218. "frameborder": "no",
  5219. "border": "0",
  5220. "scrolling ": "no",
  5221. "style": {
  5222. "cssText": "border:0;width:100%;height:100%"
  5223. },
  5224. "src": "/kityminder-editor/dist/index.html"
  5225. })
  5226. _box.appendChild(_iframe);
  5227. _box.appendChild(_jie);
  5228. _formdiv = new U.UF.UI.form(
  5229. "思维导图-" + _username,
  5230. _box, { //"/jsmind/example/demo.html"
  5231. "id": "mind" + cid + stage + task + tool + _userid,
  5232. "style": {
  5233. "width": "90%",
  5234. "height": "90%",
  5235. "overflow": 'hidden'
  5236. },
  5237. "onresize": function() {}
  5238. }, {
  5239. closecallback: function() {}
  5240. }, {
  5241. "style": {
  5242. "height": "36px"
  5243. }
  5244. }).form; //创建窗体
  5245. _taskbar = {
  5246. "id": str + _formdiv.id,
  5247. "style": {
  5248. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5249. },
  5250. "name": "思维导图",
  5251. "forms": _formdiv,
  5252. "click": function() {
  5253. U.MD.D.I.openApplication(str, obj, info);
  5254. }
  5255. }
  5256. break;
  5257. case "MindMap":
  5258. aTool = 3;
  5259. _iframe = $$("iframe", {
  5260. "frameborder": "no",
  5261. "border": "0",
  5262. "scrolling ": "no",
  5263. "style": {
  5264. "cssText": "border:0;width:100%;height:100%"
  5265. },
  5266. "src": "//cloud.cocorobo.cn/mind/"
  5267. })
  5268. _box.appendChild(_iframe);
  5269. _box.appendChild(_jie);
  5270. _formdiv = new U.UF.UI.form(
  5271. "思维导图-" + _username,
  5272. _box, { //"/jsmind/example/demo.html"
  5273. "id": "mind" + cid + stage + task + tool + _userid,
  5274. "style": {
  5275. "width": "90%",
  5276. "height": "90%",
  5277. "overflow": 'hidden'
  5278. },
  5279. "onresize": function() {}
  5280. }, {
  5281. closecallback: function() {}
  5282. }, {
  5283. "style": {
  5284. "height": "36px"
  5285. }
  5286. }).form; //创建窗体
  5287. _taskbar = {
  5288. "id": str + _formdiv.id,
  5289. "style": {
  5290. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5291. },
  5292. "name": "思维导图",
  5293. "forms": _formdiv,
  5294. "click": function() {
  5295. U.MD.D.I.openApplication(str, obj, info);
  5296. }
  5297. }
  5298. break;
  5299. case "doc":
  5300. aTool = 6;
  5301. _iframe = $$("iframe", {
  5302. "frameborder": "no",
  5303. "border": "0",
  5304. "scrolling ": "no",
  5305. "style": {
  5306. "cssText": "border:0;width:100%;height:100%"
  5307. },
  5308. "src": "/Office/Word/WordEditArea.htm"
  5309. })
  5310. _box.appendChild(_iframe);
  5311. _box.appendChild(_jie);
  5312. _formdiv = new U.UF.UI.form(
  5313. "协同文档-" + _username,
  5314. _box, {
  5315. "id": "doc" + cid + stage + task + tool + _userid,
  5316. "style": {
  5317. "width": "90%",
  5318. "height": "90%",
  5319. "overflow": 'hidden'
  5320. },
  5321. "onresize": function() {}
  5322. }, {
  5323. closecallback: function() {}
  5324. }, {
  5325. "style": {
  5326. "height": "36px"
  5327. }
  5328. }).form; //创建窗体
  5329. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5330. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5331. })
  5332. _taskbar = {
  5333. "id": str + _formdiv.id,
  5334. "style": {
  5335. "backgroundImage": "url(/img/icon/doc.png)"
  5336. },
  5337. "name": "协同文档",
  5338. "forms": _formdiv,
  5339. "click": function() {
  5340. U.MD.D.I.openApplication(str, obj, info);
  5341. }
  5342. }
  5343. break;
  5344. case "mindNetwork": //好友打开
  5345. aTool = 7;
  5346. _iframe = $$("iframe", {
  5347. "webkitallowfullscreen": "",
  5348. "mozallowfullscreen": "",
  5349. "allowfullscreen": "",
  5350. "frameborder": "no",
  5351. "border": "0",
  5352. "scrolling ": "no",
  5353. "style": {
  5354. "cssText": "border:0; width:100%; height:100%;"
  5355. },
  5356. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5357. })
  5358. _box.appendChild(_iframe);
  5359. _box.appendChild(_jie);
  5360. _formdiv = new U.UF.UI.form(
  5361. "思维网格-" + _username,
  5362. _box, {
  5363. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5364. "style": {
  5365. "width": "90%",
  5366. "height": "90%",
  5367. "overflow": 'hidden'
  5368. },
  5369. "onresize": function() {}
  5370. }, {
  5371. closecallback: function() {}
  5372. }, {
  5373. "style": {
  5374. "height": "36px"
  5375. }
  5376. }).form; //创建窗体
  5377. _taskbar = {
  5378. "id": str + _formdiv.id,
  5379. "style": {
  5380. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5381. },
  5382. "name": "思维网格",
  5383. "forms": _formdiv,
  5384. "click": function() {
  5385. U.MD.D.I.openApplication(str, obj, info);
  5386. }
  5387. }
  5388. break;
  5389. case "courseDesign":
  5390. _iframe = $$("iframe", {
  5391. "webkitallowfullscreen": "",
  5392. "mozallowfullscreen": "",
  5393. "allowfullscreen": "",
  5394. "frameborder": "no",
  5395. "border": "0",
  5396. "scrolling ": "no",
  5397. "style": {
  5398. "cssText": "border:0; width:100%; height:100%;"
  5399. },
  5400. "src": "/course-design-vue"
  5401. })
  5402. _box.appendChild(_iframe);
  5403. _box.appendChild(_jie);
  5404. _formdiv = new U.UF.UI.form(
  5405. "项目设计-" + _username,
  5406. _box, {
  5407. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5408. "style": {
  5409. "width": "90%",
  5410. "height": "90%",
  5411. "overflow": 'hidden'
  5412. },
  5413. "onresize": function() {}
  5414. }, {
  5415. closecallback: function() {}
  5416. }, {
  5417. "style": {
  5418. "height": "36px"
  5419. }
  5420. }).form; //创建窗体
  5421. _taskbar = {
  5422. "id": str + _formdiv.id,
  5423. "style": {
  5424. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5425. },
  5426. "name": "项目设计",
  5427. "forms": _formdiv,
  5428. "click": function() {
  5429. U.MD.D.I.openApplication(str, obj, info);
  5430. }
  5431. }
  5432. break;
  5433. }
  5434. const script1 = document.createElement("script");
  5435. script1.type = "text/javascript";
  5436. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5437. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5438. const script2 = document.createElement("script");
  5439. script2.type = "text/javascript";
  5440. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5441. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5442. const script3 = document.createElement("script");
  5443. script3.type = "text/javascript";
  5444. script3.charset = "UTF-8";
  5445. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5446. const script4 = document.createElement("script");
  5447. script4.type = "text/javascript";
  5448. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5449. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5450. if (_iframe) {
  5451. if (str == 'doc') {
  5452. _iframe = _formdiv.querySelector('iframe')
  5453. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5454. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5455. _iframe.contentWindow.document.body.appendChild(script1);
  5456. _iframe.contentWindow.document.body.appendChild(script2);
  5457. // _iframe.contentWindow.document.body.appendChild(script3);
  5458. _iframe.contentWindow.document.body.appendChild(script4);
  5459. })
  5460. if (onloadListener) {
  5461. _iframe.contentDocument.location.reload()
  5462. } else {
  5463. _iframe.contentDocument.location.reload()
  5464. }
  5465. } else if (str == 'courseDesign') {
  5466. U.UF.DL.iframeLoad(_iframe, function() {
  5467. // _iframe.contentWindow.U.MD.O.W.load();
  5468. // _iframe.contentWindow.document.body.appendChild(script1);
  5469. _iframe.contentWindow.document.body.appendChild(script2);
  5470. _iframe.contentWindow.document.body.appendChild(script4);
  5471. })
  5472. } else if (str == 'mind') {
  5473. _iframe = _formdiv.querySelector('iframe')
  5474. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5475. //
  5476. _iframe.contentWindow.document.body.appendChild(script1);
  5477. _iframe.contentWindow.document.body.appendChild(script2);
  5478. _iframe.contentWindow.document.body.appendChild(script4);
  5479. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5480. })
  5481. if (onloadListener) {
  5482. _iframe.contentDocument.location.reload()
  5483. } else {
  5484. _iframe.contentDocument.location.reload()
  5485. }
  5486. } else if (str == 'whiteboard') {
  5487. _iframe = _formdiv.querySelector('iframe')
  5488. let onloadListener = _iframe.onload = () => {
  5489. _iframe.contentWindow.document.body.appendChild(script1);
  5490. _iframe.contentWindow.document.body.appendChild(script2);
  5491. _iframe.contentWindow.document.body.appendChild(script4);
  5492. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5493. };
  5494. if (onloadListener) {
  5495. _iframe.contentDocument.location.reload()
  5496. } else {
  5497. _iframe.contentDocument.location.reload()
  5498. }
  5499. } else {
  5500. _iframe.onload = () => {
  5501. _iframe.contentWindow.document.body.appendChild(script1);
  5502. _iframe.contentWindow.document.body.appendChild(script2);
  5503. // _iframe.contentWindow.document.body.appendChild(script3);
  5504. _iframe.contentWindow.document.body.appendChild(script4);
  5505. };
  5506. }
  5507. _jie.onclick = async() => {
  5508. let text = ''
  5509. if (aTool == 1) {
  5510. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5511. } else if (aTool == 6) {
  5512. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5513. } else if (aTool == 3) {
  5514. text = await U.MD.D.I.getEditorContent(_iframe);
  5515. }
  5516. _loading.style.display = 'flex'
  5517. console.log(_loading);
  5518. var _ajs = _iframe.contentWindow.document.createElement("script");
  5519. _ajs.type = "text/javascript";
  5520. _ajs.innerHTML =
  5521. // 'console.log(' + _loading + ');\n' +
  5522. 'var _js = document.createElement("script");\n' +
  5523. '_js.type="text/javascript";\n' +
  5524. '_js.charset="UTF-8";\n' +
  5525. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5526. "_js.onload = function(){\n" +
  5527. ' var a = document.getElementsByTagName("img")\n' +
  5528. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5529. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5530. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5531. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5532. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5533. "beforeUpload_shishi(file," +
  5534. "'" +
  5535. _userid +
  5536. "'" +
  5537. ", " +
  5538. "'" +
  5539. _cid +
  5540. "'" +
  5541. ", " +
  5542. "'" +
  5543. _stage +
  5544. "'" +
  5545. ", " +
  5546. "'" +
  5547. _task +
  5548. "'" +
  5549. ", " +
  5550. "'" +
  5551. _tool +
  5552. "'" +
  5553. ", " +
  5554. "'" +
  5555. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5556. "'" +
  5557. ", " +
  5558. "'" +
  5559. aTool +
  5560. "'" +
  5561. ", " +
  5562. "`" +
  5563. text +
  5564. "`" +
  5565. ")\n" +
  5566. " });\n" +
  5567. "}\n" +
  5568. "document.head.appendChild(_js);\n";
  5569. _iframe.contentWindow.document.head.appendChild(_ajs);
  5570. }
  5571. }
  5572. }
  5573. U.MD.D.I.openApplicationJieTeacherE = function(str, cid, stage, task, tool, student) {
  5574. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5575. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5576. _userid = student.userid, //登录用户id
  5577. _username = student.student //用户名字
  5578. let _iframe;
  5579. let _cid = cid,
  5580. _stage = stage,
  5581. _task = task,
  5582. _tool = tool;
  5583. var _jie = $$("div", {
  5584. "style": {
  5585. "position": "absolute",
  5586. "bottom": "50px",
  5587. "right": "50px",
  5588. "zIndex": "9999",
  5589. "backgroundColor": "#2268bc",
  5590. "color": "#fff",
  5591. "padding": "12px 20px",
  5592. "cursor": "pointer",
  5593. "borderRadius": "4px",
  5594. },
  5595. "innerHTML": "提交作业"
  5596. })
  5597. let aTool = ''
  5598. let _loading = document.createElement('div')
  5599. _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;"
  5600. // _loading.id = "";
  5601. let _lchild = document.createElement('div')
  5602. let _limg = document.createElement('img')
  5603. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5604. _limg.style = "width: 26px;margin-right: 10px;"
  5605. _lchild.appendChild(_limg)
  5606. let _lspan = document.createElement('span')
  5607. _lspan.innerHTML = "上传中..."
  5608. _lchild.appendChild(_lspan)
  5609. _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%);"
  5610. _loading.appendChild(_lchild)
  5611. var _box = $$('div', {
  5612. "style": {
  5613. "position": "relative",
  5614. "width": "100%",
  5615. "height": "100%",
  5616. },
  5617. })
  5618. _box.appendChild(_loading)
  5619. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5620. switch (str) {
  5621. case "whiteboard":
  5622. aTool = 1;
  5623. _iframe = $$("iframe", {
  5624. "frameborder": "no",
  5625. "border": "0",
  5626. "scrolling ": "no",
  5627. "style": {
  5628. "cssText": "border:0;width:100%;height:100%"
  5629. },
  5630. "src": "https://iwb.cocorobo.cn/"
  5631. })
  5632. _box.appendChild(_iframe);
  5633. _box.appendChild(_jie);
  5634. _formdiv = new U.UF.UI.form(
  5635. "电子白板-" + _username,
  5636. _box, {
  5637. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5638. "style": {
  5639. "width": "90%",
  5640. "height": "90%",
  5641. "overflow": 'hidden'
  5642. },
  5643. "onresize": function() {}
  5644. }, {
  5645. closecallback: function() {}
  5646. }, {
  5647. "style": {
  5648. "height": "36px"
  5649. }
  5650. }).form; //创建窗体
  5651. _taskbar = {
  5652. "id": str + _formdiv.id,
  5653. "style": {
  5654. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5655. },
  5656. "name": "电子白板",
  5657. "forms": _formdiv,
  5658. "click": function() {
  5659. U.MD.D.I.openApplication(str, obj, info);
  5660. }
  5661. }
  5662. break;
  5663. case "mind":
  5664. aTool = 3;
  5665. _iframe = $$("iframe", {
  5666. "frameborder": "no",
  5667. "border": "0",
  5668. "scrolling ": "no",
  5669. "style": {
  5670. "cssText": "border:0;width:100%;height:100%"
  5671. },
  5672. "src": "/kityminder-editor/dist/index.html"
  5673. })
  5674. _box.appendChild(_iframe);
  5675. _box.appendChild(_jie);
  5676. _formdiv = new U.UF.UI.form(
  5677. "思维导图-" + _username,
  5678. _box, { //"/jsmind/example/demo.html"
  5679. "id": "mind" + cid + stage + task + tool + _userid,
  5680. "style": {
  5681. "width": "90%",
  5682. "height": "90%",
  5683. "overflow": 'hidden'
  5684. },
  5685. "onresize": function() {}
  5686. }, {
  5687. closecallback: function() {}
  5688. }, {
  5689. "style": {
  5690. "height": "36px"
  5691. }
  5692. }).form; //创建窗体
  5693. _taskbar = {
  5694. "id": str + _formdiv.id,
  5695. "style": {
  5696. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5697. },
  5698. "name": "思维导图",
  5699. "forms": _formdiv,
  5700. "click": function() {
  5701. U.MD.D.I.openApplication(str, obj, info);
  5702. }
  5703. }
  5704. break;
  5705. case "MindMap":
  5706. aTool = 3;
  5707. _iframe = $$("iframe", {
  5708. "frameborder": "no",
  5709. "border": "0",
  5710. "scrolling ": "no",
  5711. "style": {
  5712. "cssText": "border:0;width:100%;height:100%"
  5713. },
  5714. "src": "//cloud.cocorobo.cn/mind/"
  5715. })
  5716. _box.appendChild(_iframe);
  5717. _box.appendChild(_jie);
  5718. _formdiv = new U.UF.UI.form(
  5719. "思维导图-" + _username,
  5720. _box, { //"/jsmind/example/demo.html"
  5721. "id": "mind" + cid + stage + task + tool + _userid,
  5722. "style": {
  5723. "width": "90%",
  5724. "height": "90%",
  5725. "overflow": 'hidden'
  5726. },
  5727. "onresize": function() {}
  5728. }, {
  5729. closecallback: function() {}
  5730. }, {
  5731. "style": {
  5732. "height": "36px"
  5733. }
  5734. }).form; //创建窗体
  5735. _taskbar = {
  5736. "id": str + _formdiv.id,
  5737. "style": {
  5738. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5739. },
  5740. "name": "思维导图",
  5741. "forms": _formdiv,
  5742. "click": function() {
  5743. U.MD.D.I.openApplication(str, obj, info);
  5744. }
  5745. }
  5746. break;
  5747. case "doc":
  5748. aTool = 6;
  5749. _iframe = $$("iframe", {
  5750. "frameborder": "no",
  5751. "border": "0",
  5752. "scrolling ": "no",
  5753. "style": {
  5754. "cssText": "border:0;width:100%;height:100%"
  5755. },
  5756. "src": "/Office/Word/WordEditArea.htm"
  5757. })
  5758. _box.appendChild(_iframe);
  5759. _box.appendChild(_jie);
  5760. _formdiv = new U.UF.UI.form(
  5761. "协同文档-" + _username,
  5762. _box, {
  5763. "id": "doc" + cid + stage + task + tool + _userid,
  5764. "style": {
  5765. "width": "90%",
  5766. "height": "90%",
  5767. "overflow": 'hidden'
  5768. },
  5769. "onresize": function() {}
  5770. }, {
  5771. closecallback: function() {}
  5772. }, {
  5773. "style": {
  5774. "height": "36px"
  5775. }
  5776. }).form; //创建窗体
  5777. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  5778. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5779. })
  5780. _taskbar = {
  5781. "id": str + _formdiv.id,
  5782. "style": {
  5783. "backgroundImage": "url(/img/icon/doc.png)"
  5784. },
  5785. "name": "协同文档",
  5786. "forms": _formdiv,
  5787. "click": function() {
  5788. U.MD.D.I.openApplication(str, obj, info);
  5789. }
  5790. }
  5791. break;
  5792. case "mindNetwork": //好友打开
  5793. aTool = 7;
  5794. _iframe = $$("iframe", {
  5795. "webkitallowfullscreen": "",
  5796. "mozallowfullscreen": "",
  5797. "allowfullscreen": "",
  5798. "frameborder": "no",
  5799. "border": "0",
  5800. "scrolling ": "no",
  5801. "style": {
  5802. "cssText": "border:0; width:100%; height:100%;"
  5803. },
  5804. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5805. })
  5806. _box.appendChild(_iframe);
  5807. _box.appendChild(_jie);
  5808. _formdiv = new U.UF.UI.form(
  5809. "思维网格-" + _username,
  5810. _box, {
  5811. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5812. "style": {
  5813. "width": "90%",
  5814. "height": "90%",
  5815. "overflow": 'hidden'
  5816. },
  5817. "onresize": function() {}
  5818. }, {
  5819. closecallback: function() {}
  5820. }, {
  5821. "style": {
  5822. "height": "36px"
  5823. }
  5824. }).form; //创建窗体
  5825. _taskbar = {
  5826. "id": str + _formdiv.id,
  5827. "style": {
  5828. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5829. },
  5830. "name": "思维网格",
  5831. "forms": _formdiv,
  5832. "click": function() {
  5833. U.MD.D.I.openApplication(str, obj, info);
  5834. }
  5835. }
  5836. break;
  5837. case "courseDesign":
  5838. _iframe = $$("iframe", {
  5839. "webkitallowfullscreen": "",
  5840. "mozallowfullscreen": "",
  5841. "allowfullscreen": "",
  5842. "frameborder": "no",
  5843. "border": "0",
  5844. "scrolling ": "no",
  5845. "style": {
  5846. "cssText": "border:0; width:100%; height:100%;"
  5847. },
  5848. "src": "/course-design-vue"
  5849. })
  5850. _box.appendChild(_iframe);
  5851. _box.appendChild(_jie);
  5852. _formdiv = new U.UF.UI.form(
  5853. "项目设计-" + _username,
  5854. _box, {
  5855. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5856. "style": {
  5857. "width": "90%",
  5858. "height": "90%",
  5859. "overflow": 'hidden'
  5860. },
  5861. "onresize": function() {}
  5862. }, {
  5863. closecallback: function() {}
  5864. }, {
  5865. "style": {
  5866. "height": "36px"
  5867. }
  5868. }).form; //创建窗体
  5869. _taskbar = {
  5870. "id": str + _formdiv.id,
  5871. "style": {
  5872. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5873. },
  5874. "name": "项目设计",
  5875. "forms": _formdiv,
  5876. "click": function() {
  5877. U.MD.D.I.openApplication(str, obj, info);
  5878. }
  5879. }
  5880. break;
  5881. }
  5882. const script1 = document.createElement("script");
  5883. script1.type = "text/javascript";
  5884. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5885. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5886. const script2 = document.createElement("script");
  5887. script2.type = "text/javascript";
  5888. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5889. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5890. const script3 = document.createElement("script");
  5891. script3.type = "text/javascript";
  5892. script3.charset = "UTF-8";
  5893. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5894. const script4 = document.createElement("script");
  5895. script4.type = "text/javascript";
  5896. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5897. script4.src = window.origin + "/js/Common/jietu2E.js";
  5898. if (_iframe) {
  5899. if (str == 'doc') {
  5900. _iframe = _formdiv.querySelector('iframe')
  5901. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5902. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5903. _iframe.contentWindow.document.body.appendChild(script1);
  5904. _iframe.contentWindow.document.body.appendChild(script2);
  5905. // _iframe.contentWindow.document.body.appendChild(script3);
  5906. _iframe.contentWindow.document.body.appendChild(script4);
  5907. })
  5908. if (onloadListener) {
  5909. _iframe.contentDocument.location.reload()
  5910. } else {
  5911. _iframe.contentDocument.location.reload()
  5912. }
  5913. } else if (str == 'courseDesign') {
  5914. U.UF.DL.iframeLoad(_iframe, function() {
  5915. // _iframe.contentWindow.U.MD.O.W.load();
  5916. // _iframe.contentWindow.document.body.appendChild(script1);
  5917. _iframe.contentWindow.document.body.appendChild(script2);
  5918. _iframe.contentWindow.document.body.appendChild(script4);
  5919. })
  5920. } else if (str == 'mind') {
  5921. _iframe = _formdiv.querySelector('iframe')
  5922. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  5923. //
  5924. _iframe.contentWindow.document.body.appendChild(script1);
  5925. _iframe.contentWindow.document.body.appendChild(script2);
  5926. _iframe.contentWindow.document.body.appendChild(script4);
  5927. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5928. })
  5929. if (onloadListener) {
  5930. _iframe.contentDocument.location.reload()
  5931. } else {
  5932. _iframe.contentDocument.location.reload()
  5933. }
  5934. } else if (str == 'whiteboard') {
  5935. _iframe = _formdiv.querySelector('iframe')
  5936. let onloadListener = _iframe.onload = () => {
  5937. _iframe.contentWindow.document.body.appendChild(script1);
  5938. _iframe.contentWindow.document.body.appendChild(script2);
  5939. _iframe.contentWindow.document.body.appendChild(script4);
  5940. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5941. };
  5942. if (onloadListener) {
  5943. _iframe.contentDocument.location.reload()
  5944. } else {
  5945. _iframe.contentDocument.location.reload()
  5946. }
  5947. } else {
  5948. _iframe.onload = () => {
  5949. _iframe.contentWindow.document.body.appendChild(script1);
  5950. _iframe.contentWindow.document.body.appendChild(script2);
  5951. // _iframe.contentWindow.document.body.appendChild(script3);
  5952. _iframe.contentWindow.document.body.appendChild(script4);
  5953. };
  5954. }
  5955. _jie.onclick = async() => {
  5956. let text = ''
  5957. if (aTool == 1) {
  5958. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5959. } else if (aTool == 6) {
  5960. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5961. } else if (aTool == 3) {
  5962. text = await U.MD.D.I.getEditorContent(_iframe);
  5963. }
  5964. _loading.style.display = 'flex'
  5965. console.log(_loading);
  5966. var _ajs = _iframe.contentWindow.document.createElement("script");
  5967. _ajs.type = "text/javascript";
  5968. _ajs.innerHTML =
  5969. // 'console.log(' + _loading + ');\n' +
  5970. 'var _js = document.createElement("script");\n' +
  5971. '_js.type="text/javascript";\n' +
  5972. '_js.charset="UTF-8";\n' +
  5973. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5974. "_js.onload = function(){\n" +
  5975. ' var a = document.getElementsByTagName("img")\n' +
  5976. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5977. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5978. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5979. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5980. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5981. "beforeUpload_shishi(file," +
  5982. "'" +
  5983. _userid +
  5984. "'" +
  5985. ", " +
  5986. "'" +
  5987. _cid +
  5988. "'" +
  5989. ", " +
  5990. "'" +
  5991. _stage +
  5992. "'" +
  5993. ", " +
  5994. "'" +
  5995. _task +
  5996. "'" +
  5997. ", " +
  5998. "'" +
  5999. _tool +
  6000. "'" +
  6001. ", " +
  6002. "'" +
  6003. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6004. "'" +
  6005. ", " +
  6006. "'" +
  6007. aTool +
  6008. "'" +
  6009. ", " +
  6010. "`" +
  6011. text +
  6012. "`" +
  6013. ")\n" +
  6014. " });\n" +
  6015. "}\n" +
  6016. "document.head.appendChild(_js);\n";
  6017. _iframe.contentWindow.document.head.appendChild(_ajs);
  6018. }
  6019. }
  6020. }
  6021. U.MD.D.I.getEditorContent = function(iframe) {
  6022. return new Promise((resolve, reject) => {
  6023. iframe.contentWindow.editor.minder.exportData('json').then(function(content) {
  6024. console.log(content);
  6025. resolve(content)
  6026. });
  6027. });
  6028. }
  6029. U.MD.D.I.getContent = function(cid, s, task, t, uid, type, iframe) {
  6030. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6031. // if (res.value[0].length > 0) {
  6032. // // resolve(res.value[0][0].text);
  6033. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6034. // $(fileInput).val('');
  6035. // });
  6036. // }
  6037. // }, [], { "type": "GET", "withCredentials": true });
  6038. var xmlhttp;
  6039. var Mac, Sn, DeviceId
  6040. if (window.XMLHttpRequest) {
  6041. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6042. xmlhttp = new XMLHttpRequest();
  6043. } else {
  6044. // IE6, IE5 浏览器执行代码
  6045. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6046. }
  6047. xmlhttp.onreadystatechange = function() {
  6048. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6049. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6050. // resolve(res.value[0][0].text);
  6051. if (type == '2') {
  6052. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6053. } else if (type == '3') {
  6054. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6055. }
  6056. } else {
  6057. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6058. }
  6059. }
  6060. }
  6061. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6062. xmlhttp.send();
  6063. }
  6064. U.MD.D.I.openApplicationJieS = function(str, cid, stage, task, tool) {
  6065. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6066. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6067. _userinfo = US.userInfo, //登录用户信息
  6068. _userid = US.userInfo.userid //登录用户id
  6069. let _iframe;
  6070. let _cid = cid,
  6071. _stage = stage,
  6072. _task = task,
  6073. _tool = tool;
  6074. var _jie = $$("div", {
  6075. "style": {
  6076. "position": "absolute",
  6077. "bottom": "50px",
  6078. "right": "50px",
  6079. "zIndex": "9999",
  6080. "backgroundColor": "#2268bc",
  6081. "color": "#fff",
  6082. "padding": "12px 20px",
  6083. "cursor": "pointer",
  6084. "borderRadius": "4px",
  6085. },
  6086. "innerHTML": "确认并提交"
  6087. })
  6088. let aTool = ''
  6089. let _loading = document.createElement('div')
  6090. _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;"
  6091. // _loading.id = "";
  6092. let _lchild = document.createElement('div')
  6093. let _limg = document.createElement('img')
  6094. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6095. _limg.style = "width: 26px;margin-right: 10px;"
  6096. _lchild.appendChild(_limg)
  6097. let _lspan = document.createElement('span')
  6098. _lspan.innerHTML = "上传中..."
  6099. _lchild.appendChild(_lspan)
  6100. _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%);"
  6101. _loading.appendChild(_lchild)
  6102. var _box = $$('div', {
  6103. "style": {
  6104. "position": "relative",
  6105. "width": "100%",
  6106. "height": "100%",
  6107. },
  6108. })
  6109. _box.appendChild(_loading)
  6110. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6111. switch (str) {
  6112. case "whiteboard":
  6113. aTool = 1;
  6114. _iframe = $$("iframe", {
  6115. "frameborder": "no",
  6116. "border": "0",
  6117. "scrolling ": "no",
  6118. "style": {
  6119. "cssText": "border:0;width:100%;height:100%"
  6120. },
  6121. "src": "https://iwb.cocorobo.cn/"
  6122. })
  6123. _box.appendChild(_iframe);
  6124. _box.appendChild(_jie);
  6125. _formdiv = new U.UF.UI.form(
  6126. "电子白板",
  6127. _box, {
  6128. "id": "whiteboards" + cid + stage + task + tool,
  6129. "style": {
  6130. "width": "90%",
  6131. "height": "90%",
  6132. "overflow": 'hidden'
  6133. },
  6134. "onresize": function() {}
  6135. }, {
  6136. closecallback: function() {}
  6137. }, {
  6138. "style": {
  6139. "height": "36px"
  6140. }
  6141. }).form; //创建窗体
  6142. _taskbar = {
  6143. "id": str + _formdiv.id,
  6144. "style": {
  6145. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6146. },
  6147. "name": "电子白板",
  6148. "forms": _formdiv,
  6149. "click": function() {
  6150. U.MD.D.I.openApplication(str, obj, info);
  6151. }
  6152. }
  6153. break;
  6154. case "mind":
  6155. aTool = 3;
  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": "/kityminder-editor/dist/index.html"
  6164. });
  6165. _box.appendChild(_iframe);
  6166. _box.appendChild(_jie);
  6167. _formdiv = new U.UF.UI.form(
  6168. "思维导图",
  6169. _box, { //"/jsmind/example/demo.html"
  6170. "id": "minds" + 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/mindMapping.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 "doc":
  6197. aTool = 6;
  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": "/Office/Word/WordEditArea.htm"
  6206. })
  6207. _box.appendChild(_iframe);
  6208. _box.appendChild(_jie);
  6209. _formdiv = new U.UF.UI.form(
  6210. "协同文档",
  6211. _box, {
  6212. "id": "docs" + 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. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6227. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6228. })
  6229. _taskbar = {
  6230. "id": str + _formdiv.id,
  6231. "style": {
  6232. "backgroundImage": "url(/img/icon/doc.png)"
  6233. },
  6234. "name": "协同文档",
  6235. "forms": _formdiv,
  6236. "click": function() {
  6237. U.MD.D.I.openApplication(str, obj, info);
  6238. }
  6239. }
  6240. break;
  6241. }
  6242. const script1 = document.createElement("script");
  6243. script1.type = "text/javascript";
  6244. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6245. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6246. const script2 = document.createElement("script");
  6247. script2.type = "text/javascript";
  6248. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6249. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6250. const script3 = document.createElement("script");
  6251. script3.type = "text/javascript";
  6252. script3.charset = "UTF-8";
  6253. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6254. const script4 = document.createElement("script");
  6255. script4.type = "text/javascript";
  6256. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6257. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6258. if (_iframe) {
  6259. if (str == 'doc') {
  6260. _iframe = _formdiv.querySelector('iframe')
  6261. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6262. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6263. _iframe.contentWindow.document.body.appendChild(script1);
  6264. _iframe.contentWindow.document.body.appendChild(script2);
  6265. // _iframe.contentWindow.document.body.appendChild(script3);
  6266. _iframe.contentWindow.document.body.appendChild(script4);
  6267. })
  6268. if (onloadListener) {
  6269. _iframe.contentDocument.location.reload()
  6270. } else {
  6271. _iframe.contentDocument.location.reload()
  6272. }
  6273. } else if (str == 'mind') {
  6274. _iframe = _formdiv.querySelector('iframe')
  6275. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6276. _iframe.contentWindow.document.body.appendChild(script1);
  6277. _iframe.contentWindow.document.body.appendChild(script2);
  6278. _iframe.contentWindow.document.body.appendChild(script4);
  6279. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6280. })
  6281. if (onloadListener) {
  6282. _iframe.contentDocument.location.reload()
  6283. } else {
  6284. _iframe.contentDocument.location.reload()
  6285. }
  6286. } else {
  6287. _iframe.onload = () => {
  6288. _iframe.contentWindow.document.body.appendChild(script1);
  6289. _iframe.contentWindow.document.body.appendChild(script2);
  6290. // _iframe.contentWindow.document.body.appendChild(script3);
  6291. _iframe.contentWindow.document.body.appendChild(script4);
  6292. };
  6293. }
  6294. _jie.onclick = async() => {
  6295. let text = ''
  6296. if (aTool == 6) {
  6297. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6298. } else if (aTool == 3) {
  6299. text = await U.MD.D.I.getEditorContent(_iframe);
  6300. }
  6301. _loading.style.display = 'flex'
  6302. console.log(_loading);
  6303. var _ajs = _iframe.contentWindow.document.createElement("script");
  6304. _ajs.type = "text/javascript";
  6305. _ajs.innerHTML =
  6306. // 'console.log(' + _loading + ');\n' +
  6307. 'var _js = document.createElement("script");\n' +
  6308. '_js.type="text/javascript";\n' +
  6309. '_js.charset="UTF-8";\n' +
  6310. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6311. "_js.onload = function(){\n" +
  6312. ' var a = document.getElementsByTagName("img")\n' +
  6313. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6314. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6315. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6316. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6317. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6318. "beforeUpload_shishi(file," +
  6319. "'" +
  6320. _userid +
  6321. "'" +
  6322. ", " +
  6323. "'" +
  6324. _cid +
  6325. "'" +
  6326. ", " +
  6327. "'" +
  6328. _stage +
  6329. "'" +
  6330. ", " +
  6331. "'" +
  6332. _task +
  6333. "'" +
  6334. ", " +
  6335. "'" +
  6336. _tool +
  6337. "'" +
  6338. ", " +
  6339. "'" +
  6340. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6341. "'" +
  6342. ", " +
  6343. "'" +
  6344. aTool +
  6345. "'" +
  6346. ", " +
  6347. "`" +
  6348. text +
  6349. "`" +
  6350. ")\n" +
  6351. " });\n" +
  6352. "}\n" +
  6353. "document.head.appendChild(_js);\n";
  6354. _iframe.contentWindow.document.head.appendChild(_ajs);
  6355. }
  6356. }
  6357. //U.MD.D.I.openClick(str);
  6358. //如果有任务栏信息
  6359. // if (_taskbar) {
  6360. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6361. // }
  6362. }
  6363. U.MD.D.I.openApplicationJieStudio = function(str, cid, stage, task, tool) {
  6364. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6365. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6366. _userinfo = US.userInfo, //登录用户信息
  6367. _userid = US.userInfo.userid //登录用户id
  6368. let _iframe;
  6369. let _cid = cid,
  6370. _stage = stage,
  6371. _task = task,
  6372. _tool = tool;
  6373. var _jie = $$("div", {
  6374. "style": {
  6375. "position": "absolute",
  6376. "bottom": "50px",
  6377. "right": "50px",
  6378. "zIndex": "9999",
  6379. "backgroundColor": "#2268bc",
  6380. "color": "#fff",
  6381. "padding": "12px 20px",
  6382. "cursor": "pointer",
  6383. "borderRadius": "4px",
  6384. },
  6385. "innerHTML": "确认并提交"
  6386. })
  6387. let aTool = ''
  6388. let _loading = document.createElement('div')
  6389. _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;"
  6390. // _loading.id = "";
  6391. let _lchild = document.createElement('div')
  6392. let _limg = document.createElement('img')
  6393. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6394. _limg.style = "width: 26px;margin-right: 10px;"
  6395. _lchild.appendChild(_limg)
  6396. let _lspan = document.createElement('span')
  6397. _lspan.innerHTML = "上传中..."
  6398. _lchild.appendChild(_lspan)
  6399. _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%);"
  6400. _loading.appendChild(_lchild)
  6401. var _box = $$('div', {
  6402. "style": {
  6403. "position": "relative",
  6404. "width": "100%",
  6405. "height": "100%",
  6406. },
  6407. })
  6408. _box.appendChild(_loading)
  6409. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6410. switch (str) {
  6411. case "whiteboard":
  6412. aTool = 1;
  6413. _iframe = $$("iframe", {
  6414. "frameborder": "no",
  6415. "border": "0",
  6416. "scrolling ": "no",
  6417. "style": {
  6418. "cssText": "border:0;width:100%;height:100%"
  6419. },
  6420. "src": "https://iwb.cocorobo.cn/"
  6421. })
  6422. _box.appendChild(_iframe);
  6423. _box.appendChild(_jie);
  6424. _formdiv = new U.UF.UI.form(
  6425. "电子白板",
  6426. _box, {
  6427. "id": "whiteboards" + cid + stage + task + tool,
  6428. "style": {
  6429. "width": "90%",
  6430. "height": "90%",
  6431. "overflow": 'hidden'
  6432. },
  6433. "onresize": function() {}
  6434. }, {
  6435. closecallback: function() {}
  6436. }, {
  6437. "style": {
  6438. "height": "36px"
  6439. }
  6440. }).form; //创建窗体
  6441. _taskbar = {
  6442. "id": str + _formdiv.id,
  6443. "style": {
  6444. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6445. },
  6446. "name": "电子白板",
  6447. "forms": _formdiv,
  6448. "click": function() {
  6449. U.MD.D.I.openApplication(str, obj, info);
  6450. }
  6451. }
  6452. break;
  6453. case "mind":
  6454. aTool = 3;
  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": "/kityminder-editor/dist/index.html"
  6463. });
  6464. _box.appendChild(_iframe);
  6465. _box.appendChild(_jie);
  6466. _formdiv = new U.UF.UI.form(
  6467. "思维导图",
  6468. _box, { //"/jsmind/example/demo.html"
  6469. "id": "minds" + 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/mindMapping.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 "doc":
  6496. aTool = 6;
  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": "/Office/Word/WordEditArea.htm"
  6505. })
  6506. _box.appendChild(_iframe);
  6507. _box.appendChild(_jie);
  6508. _formdiv = new U.UF.UI.form(
  6509. "协同文档",
  6510. _box, {
  6511. "id": "docs" + 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. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6526. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6527. })
  6528. _taskbar = {
  6529. "id": str + _formdiv.id,
  6530. "style": {
  6531. "backgroundImage": "url(/img/icon/doc.png)"
  6532. },
  6533. "name": "协同文档",
  6534. "forms": _formdiv,
  6535. "click": function() {
  6536. U.MD.D.I.openApplication(str, obj, info);
  6537. }
  6538. }
  6539. break;
  6540. }
  6541. const script1 = document.createElement("script");
  6542. script1.type = "text/javascript";
  6543. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6544. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6545. const script2 = document.createElement("script");
  6546. script2.type = "text/javascript";
  6547. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6548. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6549. const script3 = document.createElement("script");
  6550. script3.type = "text/javascript";
  6551. script3.charset = "UTF-8";
  6552. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6553. const script4 = document.createElement("script");
  6554. script4.type = "text/javascript";
  6555. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6556. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6557. if (_iframe) {
  6558. if (str == 'doc') {
  6559. _iframe = _formdiv.querySelector('iframe')
  6560. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6561. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6562. _iframe.contentWindow.document.body.appendChild(script1);
  6563. _iframe.contentWindow.document.body.appendChild(script2);
  6564. // _iframe.contentWindow.document.body.appendChild(script3);
  6565. _iframe.contentWindow.document.body.appendChild(script4);
  6566. })
  6567. if (onloadListener) {
  6568. _iframe.contentDocument.location.reload()
  6569. } else {
  6570. _iframe.contentDocument.location.reload()
  6571. }
  6572. } else if (str == 'mind') {
  6573. _iframe = _formdiv.querySelector('iframe')
  6574. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6575. _iframe.contentWindow.document.body.appendChild(script1);
  6576. _iframe.contentWindow.document.body.appendChild(script2);
  6577. _iframe.contentWindow.document.body.appendChild(script4);
  6578. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6579. })
  6580. if (onloadListener) {
  6581. _iframe.contentDocument.location.reload()
  6582. } else {
  6583. _iframe.contentDocument.location.reload()
  6584. }
  6585. } else {
  6586. _iframe.onload = () => {
  6587. _iframe.contentWindow.document.body.appendChild(script1);
  6588. _iframe.contentWindow.document.body.appendChild(script2);
  6589. // _iframe.contentWindow.document.body.appendChild(script3);
  6590. _iframe.contentWindow.document.body.appendChild(script4);
  6591. };
  6592. }
  6593. _jie.onclick = async() => {
  6594. let text = ''
  6595. if (aTool == 6) {
  6596. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6597. } else if (aTool == 3) {
  6598. text = await U.MD.D.I.getEditorContent(_iframe);
  6599. }
  6600. _loading.style.display = 'flex'
  6601. console.log(_loading);
  6602. var _ajs = _iframe.contentWindow.document.createElement("script");
  6603. _ajs.type = "text/javascript";
  6604. _ajs.innerHTML =
  6605. // 'console.log(' + _loading + ');\n' +
  6606. 'var _js = document.createElement("script");\n' +
  6607. '_js.type="text/javascript";\n' +
  6608. '_js.charset="UTF-8";\n' +
  6609. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6610. "_js.onload = function(){\n" +
  6611. ' var a = document.getElementsByTagName("img")\n' +
  6612. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6613. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6614. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6615. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6616. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6617. "beforeUpload_shishi(file," +
  6618. "'" +
  6619. _userid +
  6620. "'" +
  6621. ", " +
  6622. "'" +
  6623. _cid +
  6624. "'" +
  6625. ", " +
  6626. "'" +
  6627. _stage +
  6628. "'" +
  6629. ", " +
  6630. "'" +
  6631. _task +
  6632. "'" +
  6633. ", " +
  6634. "'" +
  6635. _tool +
  6636. "'" +
  6637. ", " +
  6638. "'" +
  6639. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6640. "'" +
  6641. ", " +
  6642. "'" +
  6643. aTool +
  6644. "'" +
  6645. ", " +
  6646. "`" +
  6647. text +
  6648. "`" +
  6649. ")\n" +
  6650. " });\n" +
  6651. "}\n" +
  6652. "document.head.appendChild(_js);\n";
  6653. _iframe.contentWindow.document.head.appendChild(_ajs);
  6654. }
  6655. }
  6656. //U.MD.D.I.openClick(str);
  6657. //如果有任务栏信息
  6658. // if (_taskbar) {
  6659. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6660. // }
  6661. }
  6662. U.MD.D.I.openApplicationYu = function(str, cid, stage, task, tool) {
  6663. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6664. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6665. _userinfo = US.userInfo, //登录用户信息
  6666. _userid = US.userInfo.userid //登录用户id
  6667. let _iframe;
  6668. let _cid = cid,
  6669. _stage = stage,
  6670. _task = task,
  6671. _tool = tool;
  6672. var _jie = $$("div", {
  6673. "style": {
  6674. "position": "absolute",
  6675. "bottom": "50px",
  6676. "right": "50px",
  6677. "zIndex": "9999",
  6678. "backgroundColor": "#2268bc",
  6679. "color": "#fff",
  6680. "padding": "12px 20px",
  6681. "cursor": "pointer",
  6682. "borderRadius": "4px",
  6683. },
  6684. "innerHTML": "上传模板"
  6685. })
  6686. let aTool = ''
  6687. let _loading = document.createElement('div')
  6688. _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;"
  6689. // _loading.id = "";
  6690. let _lchild = document.createElement('div')
  6691. let _limg = document.createElement('img')
  6692. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6693. _limg.style = "width: 26px;margin-right: 10px;"
  6694. _lchild.appendChild(_limg)
  6695. let _lspan = document.createElement('span')
  6696. _lspan.innerHTML = "上传中..."
  6697. _lchild.appendChild(_lspan)
  6698. _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%);"
  6699. _loading.appendChild(_lchild)
  6700. var _box = $$('div', {
  6701. "style": {
  6702. "position": "relative",
  6703. "width": "100%",
  6704. "height": "100%",
  6705. },
  6706. })
  6707. _box.appendChild(_loading)
  6708. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6709. switch (str) {
  6710. case "whiteboard":
  6711. aTool = 1;
  6712. _iframe = $$("iframe", {
  6713. "frameborder": "no",
  6714. "border": "0",
  6715. "scrolling ": "no",
  6716. "style": {
  6717. "cssText": "border:0;width:100%;height:100%"
  6718. },
  6719. "src": "https://iwb.cocorobo.cn/"
  6720. })
  6721. _box.appendChild(_iframe);
  6722. _box.appendChild(_jie);
  6723. _formdiv = new U.UF.UI.form(
  6724. "电子白板",
  6725. _box, {
  6726. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6727. "style": {
  6728. "width": "90%",
  6729. "height": "90%",
  6730. "overflow": 'hidden'
  6731. },
  6732. "onresize": function() {}
  6733. }, {
  6734. closecallback: function() {}
  6735. }, {
  6736. "style": {
  6737. "height": "36px"
  6738. }
  6739. }).form; //创建窗体
  6740. _taskbar = {
  6741. "id": str + _formdiv.id,
  6742. "style": {
  6743. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6744. },
  6745. "name": "电子白板",
  6746. "forms": _formdiv,
  6747. "click": function() {
  6748. U.MD.D.I.openApplication(str, obj, info);
  6749. }
  6750. }
  6751. break;
  6752. case "mind":
  6753. aTool = 3;
  6754. _iframe = $$("iframe", {
  6755. "frameborder": "no",
  6756. "border": "0",
  6757. "scrolling ": "no",
  6758. "style": {
  6759. "cssText": "border:0;width:100%;height:100%"
  6760. },
  6761. "src": "/kityminder-editor/dist/index.html"
  6762. });
  6763. _box.appendChild(_iframe);
  6764. _box.appendChild(_jie);
  6765. _formdiv = new U.UF.UI.form(
  6766. "思维导图",
  6767. _box, { //"/jsmind/example/demo.html"
  6768. "id": "minds_Yu" + cid + stage + task + tool,
  6769. "style": {
  6770. "width": "90%",
  6771. "height": "90%",
  6772. "overflow": 'hidden'
  6773. },
  6774. "onresize": function() {}
  6775. }, {
  6776. closecallback: function() {}
  6777. }, {
  6778. "style": {
  6779. "height": "36px"
  6780. }
  6781. }).form; //创建窗体
  6782. _taskbar = {
  6783. "id": str + _formdiv.id,
  6784. "style": {
  6785. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6786. },
  6787. "name": "思维导图",
  6788. "forms": _formdiv,
  6789. "click": function() {
  6790. U.MD.D.I.openApplication(str, obj, info);
  6791. }
  6792. }
  6793. break;
  6794. case "doc":
  6795. aTool = 6;
  6796. _iframe = $$("iframe", {
  6797. "frameborder": "no",
  6798. "border": "0",
  6799. "scrolling ": "no",
  6800. "style": {
  6801. "cssText": "border:0;width:100%;height:100%"
  6802. },
  6803. "src": "/Office/Word/WordEditArea.htm"
  6804. })
  6805. _box.appendChild(_iframe);
  6806. _box.appendChild(_jie);
  6807. _formdiv = new U.UF.UI.form(
  6808. "协同文档",
  6809. _box, {
  6810. "id": "docs_Yu" + cid + stage + task + tool,
  6811. "style": {
  6812. "width": "90%",
  6813. "height": "90%",
  6814. "overflow": 'hidden'
  6815. },
  6816. "onresize": function() {}
  6817. }, {
  6818. closecallback: function() {}
  6819. }, {
  6820. "style": {
  6821. "height": "36px"
  6822. }
  6823. }).form; //创建窗体
  6824. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function() {
  6825. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6826. })
  6827. _taskbar = {
  6828. "id": str + _formdiv.id,
  6829. "style": {
  6830. "backgroundImage": "url(/img/icon/doc.png)"
  6831. },
  6832. "name": "协同文档",
  6833. "forms": _formdiv,
  6834. "click": function() {
  6835. U.MD.D.I.openApplication(str, obj, info);
  6836. }
  6837. }
  6838. break;
  6839. case "CocoPi":
  6840. aTool = 57;
  6841. _iframe = $$("iframe", {
  6842. "allowpaymentrequest": "allowpaymentrequest",
  6843. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6844. "webkitallowfullscreen": "",
  6845. "mozallowfullscreen": "",
  6846. "frameborder": "no",
  6847. "border": "0",
  6848. "scrolling ": "no",
  6849. "style": {
  6850. "cssText": "border:0;width:100%;height:100%"
  6851. },
  6852. "src": "https://pi.cocorobo.cn/"
  6853. })
  6854. _box.appendChild(_iframe);
  6855. _box.appendChild(_jie);
  6856. _formdiv = new U.UF.UI.form(
  6857. "CocoPi",
  6858. _box, {
  6859. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6860. "style": {
  6861. "width": "90%",
  6862. "height": "90%",
  6863. "overflow": 'hidden'
  6864. },
  6865. "onresize": function() {}
  6866. }, {
  6867. closecallback: function() {}
  6868. }, {
  6869. "style": {
  6870. "height": "36px"
  6871. }
  6872. }).form; //创建窗体
  6873. _taskbar = {
  6874. "id": str + _formdiv.id,
  6875. "style": {
  6876. "backgroundImage": "url(/img/icon/cocopi.png)"
  6877. },
  6878. "name": "CocoPi",
  6879. "forms": _formdiv,
  6880. "click": function() {
  6881. U.MD.D.I.openApplication(str, obj, info);
  6882. }
  6883. }
  6884. break;
  6885. }
  6886. if (_iframe) {
  6887. if (str == 'doc') {
  6888. _iframe = _formdiv.querySelector('iframe')
  6889. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6890. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6891. })
  6892. if (onloadListener) {
  6893. _iframe.contentDocument.location.reload()
  6894. } else {
  6895. _iframe.contentDocument.location.reload()
  6896. }
  6897. } else if (str == 'mind') {
  6898. _iframe = _formdiv.querySelector('iframe')
  6899. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6900. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6901. })
  6902. if (onloadListener) {
  6903. _iframe.contentDocument.location.reload()
  6904. } else {
  6905. _iframe.contentDocument.location.reload()
  6906. }
  6907. } else if (str == 'whiteboard') {
  6908. _iframe = _formdiv.querySelector('iframe')
  6909. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6910. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6911. })
  6912. if (onloadListener) {
  6913. _iframe.contentDocument.location.reload()
  6914. } else {
  6915. _iframe.contentDocument.location.reload()
  6916. }
  6917. } else if (str == 'CocoPi') {
  6918. _iframe = _formdiv.querySelector('iframe')
  6919. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  6920. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6921. })
  6922. if (onloadListener) {
  6923. _iframe.contentDocument.location.reload()
  6924. } else {
  6925. _iframe.contentDocument.location.reload()
  6926. }
  6927. } else {
  6928. _iframe.onload = () => {};
  6929. }
  6930. _jie.onclick = async() => {
  6931. let text = ''
  6932. let type = '2'
  6933. if (aTool == 1) {
  6934. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6935. type = '3'
  6936. } else if (aTool == 6) {
  6937. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6938. type = '1'
  6939. } else if (aTool == 3) {
  6940. text = await U.MD.D.I.getEditorContent(_iframe);
  6941. type = '2'
  6942. } else if (aTool == 57) {
  6943. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6944. type = '4'
  6945. }
  6946. _loading.style.display = 'flex'
  6947. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6948. }
  6949. }
  6950. //U.MD.D.I.openClick(str);
  6951. //如果有任务栏信息
  6952. // if (_taskbar) {
  6953. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6954. // }
  6955. }
  6956. U.MD.D.I.getContents = function(cid, s, task, t, uid, type, iframe) {
  6957. var xmlhttp;
  6958. var Mac, Sn, DeviceId
  6959. if (window.XMLHttpRequest) {
  6960. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6961. xmlhttp = new XMLHttpRequest();
  6962. } else {
  6963. // IE6, IE5 浏览器执行代码
  6964. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6965. }
  6966. xmlhttp.onreadystatechange = function() {
  6967. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6968. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6969. // resolve(res.value[0][0].text);
  6970. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6971. }
  6972. }
  6973. }
  6974. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6975. xmlhttp.send();
  6976. }
  6977. U.MD.D.I.getContents2 = function(cid, s, task, t, uid, type, iframe) {
  6978. var xmlhttp;
  6979. var Mac, Sn, DeviceId
  6980. if (window.XMLHttpRequest) {
  6981. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6982. xmlhttp = new XMLHttpRequest();
  6983. } else {
  6984. // IE6, IE5 浏览器执行代码
  6985. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6986. }
  6987. xmlhttp.onreadystatechange = function() {
  6988. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6989. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6990. // resolve(res.value[0][0].text);
  6991. if (type == '2') {
  6992. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6993. } else if (type == '3') {
  6994. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6995. } else if (type == '4') {
  6996. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6997. }
  6998. } else {
  6999. if (type == '2') {
  7000. iframe.contentWindow.editor.minder.importData('json', '')
  7001. } else if (type == '3') {
  7002. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7003. } else if (type == '4') {
  7004. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7005. }
  7006. }
  7007. }
  7008. }
  7009. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7010. xmlhttp.send();
  7011. }
  7012. U.MD.D.I.setContents = function(cid, s, task, t, uid, type, text, loading, span) {
  7013. var xmlhttp;
  7014. var Mac, Sn, DeviceId
  7015. if (window.XMLHttpRequest) {
  7016. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7017. xmlhttp = new XMLHttpRequest();
  7018. } else {
  7019. // IE6, IE5 浏览器执行代码
  7020. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7021. }
  7022. xmlhttp.onreadystatechange = function() {
  7023. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7024. if (xmlhttp.response) {
  7025. // resolve(res.value[0][0].text);
  7026. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7027. // $(fileInput).val('');
  7028. // });
  7029. span.innerHTML = '上传成功'
  7030. setTimeout(() => {
  7031. loading.style.display = 'none'
  7032. }, 1000);
  7033. }
  7034. }
  7035. }
  7036. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7037. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7038. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7039. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7040. // 设置请求头,表示请求体的编码格式
  7041. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7042. // 设置请求体,使用url-encoded格式的数据
  7043. }
  7044. U.MD.D.I.openApplicationUpload = function(str, cid, stage, task, tool) {
  7045. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7046. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7047. _userinfo = US.userInfo, //登录用户信息
  7048. _userid = US.userInfo.userid //登录用户id
  7049. let _iframe;
  7050. let _cid = cid,
  7051. _stage = stage,
  7052. _task = task,
  7053. _tool = tool;
  7054. var _jie = $$("div", {
  7055. "style": {
  7056. "position": "absolute",
  7057. "bottom": "50px",
  7058. "right": "50px",
  7059. "zIndex": "9999",
  7060. "backgroundColor": "#2268bc",
  7061. "color": "#fff",
  7062. "padding": "12px 20px",
  7063. "cursor": "pointer",
  7064. "borderRadius": "4px",
  7065. },
  7066. "innerHTML": "提交作业"
  7067. })
  7068. let aTool = ''
  7069. let _loading = document.createElement('div')
  7070. _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;"
  7071. // _loading.id = "";
  7072. let _lchild = document.createElement('div')
  7073. let _limg = document.createElement('img')
  7074. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7075. _limg.style = "width: 26px;margin-right: 10px;"
  7076. _lchild.appendChild(_limg)
  7077. let _lspan = document.createElement('span')
  7078. _lspan.innerHTML = "上传中..."
  7079. _lchild.appendChild(_lspan)
  7080. _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%);"
  7081. _loading.appendChild(_lchild)
  7082. var _box = $$('div', {
  7083. "style": {
  7084. "position": "relative",
  7085. "width": "100%",
  7086. "height": "100%",
  7087. },
  7088. })
  7089. _box.appendChild(_loading)
  7090. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7091. switch (str) {
  7092. case "CocoPi":
  7093. aTool = 57;
  7094. _iframe = $$("iframe", {
  7095. "allowpaymentrequest": "allowpaymentrequest",
  7096. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7097. "webkitallowfullscreen": "",
  7098. "mozallowfullscreen": "",
  7099. "frameborder": "no",
  7100. "border": "0",
  7101. "scrolling ": "no",
  7102. "style": {
  7103. "cssText": "border:0;width:100%;height:100%"
  7104. },
  7105. "src": "https://pi.cocorobo.cn/"
  7106. })
  7107. _box.appendChild(_iframe);
  7108. _box.appendChild(_jie);
  7109. _formdiv = new U.UF.UI.form(
  7110. "CocoPi",
  7111. _box, {
  7112. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7113. "style": {
  7114. "width": "90%",
  7115. "height": "90%",
  7116. "overflow": 'hidden'
  7117. },
  7118. "onresize": function() {}
  7119. }, {
  7120. closecallback: function() {}
  7121. }, {
  7122. "style": {
  7123. "height": "36px"
  7124. }
  7125. }).form; //创建窗体
  7126. _taskbar = {
  7127. "id": str + _formdiv.id,
  7128. "style": {
  7129. "backgroundImage": "url(/img/icon/cocopi.png)"
  7130. },
  7131. "name": "CocoPi",
  7132. "forms": _formdiv,
  7133. "click": function() {
  7134. U.MD.D.I.openApplication(str, obj, info);
  7135. }
  7136. }
  7137. break;
  7138. }
  7139. if (_iframe) {
  7140. if (str == 'CocoPi') {
  7141. _iframe = _formdiv.querySelector('iframe')
  7142. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7143. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7144. })
  7145. if (onloadListener) {
  7146. _iframe.contentDocument.location.reload()
  7147. } else {
  7148. _iframe.contentDocument.location.reload()
  7149. }
  7150. }
  7151. _jie.onclick = async() => {
  7152. let text = ''
  7153. if (aTool == 57) {
  7154. text = _iframe.contentWindow.getLoadXmlStr()
  7155. }
  7156. _loading.style.display = 'flex'
  7157. console.log(_loading);
  7158. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7159. _loading.style.display = 'none'
  7160. let _div = document.createElement('div')
  7161. _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;"
  7162. let _inner = document.createElement('div')
  7163. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7164. _inner.innerHTML = "上传成功"
  7165. _div.appendChild(_inner)
  7166. _iframe.contentWindow.window.document.body.appendChild(_div)
  7167. _div.onclick = () => {
  7168. _iframe.contentWindow.window.document.body.removeChild(_div)
  7169. }
  7170. setTimeout(() => {
  7171. _iframe.contentWindow.window.document.body.removeChild(_div)
  7172. }, 1000);
  7173. }, [], { "type": "POST", "withCredentials": true });
  7174. }
  7175. }
  7176. }
  7177. U.MD.D.I.openApplicationTeacherUpload = function(str, cid, stage, task, tool, student) {
  7178. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7179. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7180. _userid = student.userid, //登录用户id
  7181. _username = student.student //用户名字
  7182. let _iframe;
  7183. let _cid = cid,
  7184. _stage = stage,
  7185. _task = task,
  7186. _tool = tool;
  7187. var _jie = $$("div", {
  7188. "style": {
  7189. "position": "absolute",
  7190. "bottom": "50px",
  7191. "right": "50px",
  7192. "zIndex": "9999",
  7193. "backgroundColor": "#2268bc",
  7194. "color": "#fff",
  7195. "padding": "12px 20px",
  7196. "cursor": "pointer",
  7197. "borderRadius": "4px",
  7198. },
  7199. "innerHTML": "提交作业"
  7200. })
  7201. let aTool = ''
  7202. let _loading = document.createElement('div')
  7203. _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;"
  7204. // _loading.id = "";
  7205. let _lchild = document.createElement('div')
  7206. let _limg = document.createElement('img')
  7207. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7208. _limg.style = "width: 26px;margin-right: 10px;"
  7209. _lchild.appendChild(_limg)
  7210. let _lspan = document.createElement('span')
  7211. _lspan.innerHTML = "上传中..."
  7212. _lchild.appendChild(_lspan)
  7213. _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%);"
  7214. _loading.appendChild(_lchild)
  7215. var _box = $$('div', {
  7216. "style": {
  7217. "position": "relative",
  7218. "width": "100%",
  7219. "height": "100%",
  7220. },
  7221. })
  7222. _box.appendChild(_loading)
  7223. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7224. switch (str) {
  7225. case "CocoPi":
  7226. aTool = 57;
  7227. _iframe = $$("iframe", {
  7228. "allowpaymentrequest": "allowpaymentrequest",
  7229. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7230. "webkitallowfullscreen": "",
  7231. "mozallowfullscreen": "",
  7232. "frameborder": "no",
  7233. "border": "0",
  7234. "scrolling ": "no",
  7235. "style": {
  7236. "cssText": "border:0;width:100%;height:100%"
  7237. },
  7238. "src": "https://pi.cocorobo.cn/"
  7239. })
  7240. _box.appendChild(_iframe);
  7241. _box.appendChild(_jie);
  7242. _formdiv = new U.UF.UI.form(
  7243. "CocoPi-" + _username,
  7244. _box, {
  7245. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7246. "style": {
  7247. "width": "90%",
  7248. "height": "90%",
  7249. "overflow": 'hidden'
  7250. },
  7251. "onresize": function() {}
  7252. }, {
  7253. closecallback: function() {}
  7254. }, {
  7255. "style": {
  7256. "height": "36px"
  7257. }
  7258. }).form; //创建窗体
  7259. _taskbar = {
  7260. "id": str + _formdiv.id,
  7261. "style": {
  7262. "backgroundImage": "url(/img/icon/cocopi.png)"
  7263. },
  7264. "name": "CocoPi",
  7265. "forms": _formdiv,
  7266. "click": function() {
  7267. U.MD.D.I.openApplication(str, obj, info);
  7268. }
  7269. }
  7270. break;
  7271. }
  7272. if (_iframe) {
  7273. if (str == 'CocoPi') {
  7274. _iframe = _formdiv.querySelector('iframe')
  7275. let onloadListener = U.UF.DL.iframeLoad(_iframe, function() {
  7276. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7277. })
  7278. if (onloadListener) {
  7279. _iframe.contentDocument.location.reload()
  7280. } else {
  7281. _iframe.contentDocument.location.reload()
  7282. }
  7283. }
  7284. _jie.onclick = async() => {
  7285. let text = ''
  7286. if (aTool == 57) {
  7287. text = _iframe.contentWindow.getLoadXmlStr()
  7288. }
  7289. _loading.style.display = 'flex'
  7290. console.log(_loading);
  7291. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function(res) {
  7292. _loading.style.display = 'none'
  7293. let _div = document.createElement('div')
  7294. _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;"
  7295. let _inner = document.createElement('div')
  7296. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7297. _inner.innerHTML = "上传成功"
  7298. _div.appendChild(_inner)
  7299. _iframe.contentWindow.window.document.body.appendChild(_div)
  7300. _div.onclick = () => {
  7301. _iframe.contentWindow.window.document.body.removeChild(_div)
  7302. }
  7303. setTimeout(() => {
  7304. _iframe.contentWindow.window.document.body.removeChild(_div)
  7305. }, 1000);
  7306. }, [], { "type": "POST", "withCredentials": true });
  7307. }
  7308. }
  7309. }
  7310. U.MD.D.I.getUploadContent = function(cid, s, task, t, uid, atool, type, iframe) {
  7311. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function(res) {
  7312. if (res.value[0].length > 0) {
  7313. if (atool == 57) {
  7314. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7315. }
  7316. } else {
  7317. if (atool == 57) {
  7318. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7319. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7320. }
  7321. }
  7322. }, [], { "type": "POST", "withCredentials": true });
  7323. }