DeskTop.js 414 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300
  1. /*
  2. 此处为桌面系统启动应用区域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面应用处理
  5. //判断图片是否在拖拽,如果是拖拽图标的过程是不会打开图片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教师桌面图标的全局变量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. ];
  51. //极简模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教师桌面图标的全局变量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "项目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. ];
  176. U.MD.D.I.orgStemDeskIcon = [
  177. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  178. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  179. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  180. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  181. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  182. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  183. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  184. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  185. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  186. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  187. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  188. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  189. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  190. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  191. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  192. ];
  193. U.MD.D.I.szulsDeskIcon = [
  194. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  195. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  196. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  197. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  198. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  199. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  200. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  201. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  202. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  203. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  204. ];
  205. U.MD.D.I.hanDeskIcon = [
  206. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  207. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  208. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  209. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  210. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  211. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  212. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  213. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  214. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  215. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  216. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  217. ];
  218. U.MD.D.I.GMteacherDeskIcon = [
  219. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  220. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  221. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  222. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  223. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  224. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  225. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  226. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  227. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  228. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  229. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  230. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  231. ];
  232. U.MD.D.I.GMstudentDeskIcon = [
  233. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  234. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  235. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  236. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  237. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  238. ];
  239. //北师大
  240. U.MD.D.I.BSDNSteacherDeskIcon = [
  241. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  242. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  243. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  244. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  245. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  246. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  247. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  248. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  249. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  250. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  251. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  252. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  253. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  254. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  255. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  256. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  257. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  258. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  259. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  260. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  261. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  262. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  263. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  264. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  265. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  266. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  267. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  268. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  269. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  270. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  271. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  272. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  273. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  274. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  275. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  276. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  277. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  278. ];
  279. //松山湖
  280. U.MD.D.I.SONGteacherDeskIcon = [
  281. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  282. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  283. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  284. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  285. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  286. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  287. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  288. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  289. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  290. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  291. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  292. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  293. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  294. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  295. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  296. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  297. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  298. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  299. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  300. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  301. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  302. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  303. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  304. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  305. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  306. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  307. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  308. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  309. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  310. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  311. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  312. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  313. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  314. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  315. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  316. ];
  317. U.MD.D.I.tcStudentDeskIcon = [
  318. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  319. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  320. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  321. ];
  322. U.MD.D.I.tcTeacherDeskIcon = [
  323. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  324. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  325. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  326. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  327. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  328. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  329. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  330. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  331. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  332. ];
  333. U.MD.D.I.tcOrganizerDeskIcon = [
  334. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  335. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  336. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  337. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  338. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  339. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  340. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  341. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  342. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  343. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  344. ];
  345. U.MD.D.I.szscStudentDeskIcon = [
  346. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  347. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  348. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. ];
  351. U.MD.D.I.szscTeacherDeskIcon = [
  352. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  353. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  354. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  355. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  356. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  357. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  358. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  359. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  360. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. ];
  363. U.MD.D.I.szscOrganizerDeskIcon = [
  364. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  365. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  366. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  367. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  368. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  369. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  370. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  371. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  372. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  373. ];
  374. U.MD.D.I.wankeTeacherDeskIcon = [//1c3b9def-8fbe-11ed-b13d-005056b86db5
  375. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  378. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  379. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  380. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  381. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  382. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  383. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  384. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  387. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  388. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  389. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  390. ];
  391. U.MD.D.I.wankeAdminDeskIcon = [
  392. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  393. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  394. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  395. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  396. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  397. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  398. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  399. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  400. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  401. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  402. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  403. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  404. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  405. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  406. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  407. ];
  408. U.MD.D.I.lhsTeacherDeskIcon = [//未来小学
  409. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  410. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  411. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  412. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  413. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  414. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  415. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  416. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  417. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  418. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  419. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  420. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  421. ];
  422. U.MD.D.I.lhsAdminDeskIcon = [//未来小学admin
  423. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  424. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  425. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  426. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  427. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  428. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  429. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  430. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  431. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  432. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  433. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  434. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  435. ];
  436. //明德教师桌面图标的全局变量
  437. U.MD.D.I.MingdeTeacherDeskIcon = [
  438. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  450. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  451. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  452. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  453. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  454. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  455. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  456. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  457. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  458. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  459. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  460. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  461. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  462. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  463. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  464. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  465. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  466. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  467. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  468. ];
  469. //97c4ee8b-d010-4042-986d-e9d3c217264f
  470. //教师桌面图标的全局变量
  471. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  472. { "Name": "工作项目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  473. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  474. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  475. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  476. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  477. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  478. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  479. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  480. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  481. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  482. ];
  483. //福田
  484. U.MD.D.I.futianTeacherDeskIcon = [
  485. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  486. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  487. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  488. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  489. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  490. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  491. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  492. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  493. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  494. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  495. ];
  496. //福田
  497. U.MD.D.I.futianAdminDeskIcon = [
  498. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  499. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  500. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  501. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  502. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  503. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  504. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  505. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  506. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  507. ];
  508. //lotech
  509. U.MD.D.I.lotechTeacherDeskIcon = [
  510. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  511. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  512. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  513. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  514. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  515. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  516. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  517. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  518. ];
  519. //龙华中心小学教师桌面图标的全局变量
  520. U.MD.D.I.longhuateacherDeskIcon = [
  521. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  522. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  523. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  524. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  525. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  526. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  527. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  528. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  529. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  531. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  532. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  533. ];
  534. //教科院实小教师桌面图标的全局变量
  535. U.MD.D.I.siesteacherDeskIcon = [
  536. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  537. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  538. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  539. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  540. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  541. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  542. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  543. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  544. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  545. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  546. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  547. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. ];
  551. //教科院实小教师桌面图标的全局变量
  552. U.MD.D.I.siesStudentDeskIcon = [
  553. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  554. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  555. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.gdjgTeacherDeskIcon = [
  559. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  568. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. ];
  570. //gdjg
  571. U.MD.D.I.gdjgAdminDeskIcon = [
  572. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  573. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  574. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  575. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  576. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  577. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  578. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  579. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  580. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. ];
  582. //hk
  583. U.MD.D.I.hkteacherDeskIcon = [
  584. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  585. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  586. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  587. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  588. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  589. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  590. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  591. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  592. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  593. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  594. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  595. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  596. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  597. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  599. ];
  600. //hk
  601. U.MD.D.I.hkStudentDeskIcon = [
  602. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  604. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  605. ];
  606. //香海正覺蓮社佛教正覺中學
  607. U.MD.D.I.hkZJLSteacherDeskIcon = [
  608. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  609. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  611. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  612. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  615. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  616. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  617. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  618. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  619. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  620. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  621. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. ];
  623. //香海正覺蓮社佛教正覺中學
  624. U.MD.D.I.hkZJLSStudentDeskIcon = [
  625. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  626. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  627. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  628. ];
  629. //云海
  630. U.MD.D.I.yunhaiTeacherDeskIcon = [
  631. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  632. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  633. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  634. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  635. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  636. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  637. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  638. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  639. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  640. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  641. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  642. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  643. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  644. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  645. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  646. ];
  647. //福田
  648. U.MD.D.I.heyuanTeacherDeskIcon = [
  649. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  650. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  651. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  652. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  653. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  654. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  655. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  656. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  657. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  658. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  659. ];
  660. //福田
  661. U.MD.D.I.heyuanAdminDeskIcon = [
  662. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. ];
  672. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  673. U.MD.D.I.szherTeacherDeskIcon = [
  674. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  675. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  676. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  677. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  678. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  679. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  680. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  681. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  682. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  683. ];
  684. //dsei
  685. U.MD.D.I.dseiTeacherDeskIcon = [
  686. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  687. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  688. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  689. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  690. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  693. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  694. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  695. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  696. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  697. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  698. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  699. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  700. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  701. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  702. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  703. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  704. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  705. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  706. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  707. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  708. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  709. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  710. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  711. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  712. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  713. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  714. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  715. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  716. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  717. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  718. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  719. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  720. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  721. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  722. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  723. ];
  724. //dsei
  725. U.MD.D.I.dseiAdminDeskIcon = [
  726. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  727. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  729. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  730. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  731. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  732. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  733. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  734. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  735. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  736. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  737. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  738. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  739. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  740. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  741. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  742. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  743. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  744. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  745. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  746. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  747. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  748. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  749. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  750. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  751. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  752. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  753. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  754. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  755. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  756. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  757. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  758. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  759. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  760. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  761. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  762. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  763. ];
  764. //#region 桌面初始化a
  765. /**
  766. * 初始化桌面的起始函数
  767. *
  768. */
  769. U.MD.D.I.init = function () {
  770. if ($("#U_MD_D_K")[0]) {
  771. //初始化桌面图标
  772. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  773. // var clickUrl = ':12588/requestIp.php';
  774. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  775. // U.MD.D.I.Ip = data;
  776. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  777. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  778. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  779. // })
  780. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  781. // })
  782. }
  783. }
  784. /**
  785. * 模式切换
  786. *
  787. */
  788. U.MD.D.I.ModeCheck = function (type) {
  789. if (US.Config.type == type) {
  790. return
  791. }
  792. US.Config.type = type
  793. $('.U_PBL_Check .active')[0].className = ''
  794. if (type == 1) {
  795. $('.U_PBL_Check div')[0].className = 'active'
  796. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  797. } else {
  798. $('.U_PBL_Check div')[1].className = 'active'
  799. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  800. }
  801. //初始化桌面图标
  802. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  803. if(type == 2){
  804. U.MD.D.I.openApplication("project")
  805. }
  806. }
  807. /**
  808. * 隐藏任务栏
  809. *
  810. * @param {element} 桌面元素
  811. */
  812. U.MD.D.I.hiddenTaskbar = function (el) {
  813. //任务栏位置变小
  814. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  815. //桌面的位置变大
  816. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  817. }
  818. /**
  819. * 隐藏任务栏
  820. *
  821. * @param {element} 桌面元素
  822. */
  823. U.MD.D.I.hiddenTaskbarout = function (el) {
  824. //任务栏位置变小
  825. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  826. //任务栏位置变化
  827. U.selectEl(el).css({ "bottom": "-60px" });
  828. //桌面的位置变大
  829. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  830. }
  831. }
  832. /**
  833. * 初始化打印桌面图标
  834. *
  835. * @param {element} 桌面元素
  836. */
  837. U.MD.D.I.initDesktopIcons = function (el, type) {
  838. var i, //用于循环
  839. _content, //桌面图标元素
  840. _iconcontent, //桌面图标元素
  841. _frag = $$("frag"), //定义一个碎片元素
  842. _type = US.userInfo.type,
  843. _org = US.userInfo.org,
  844. _oid = US.userInfo.organizeid,
  845. _role = US.userInfo.role,
  846. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  847. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  848. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  849. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  850. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  851. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  852. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  853. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  854. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  855. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  856. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  857. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon,//获取北师大
  858. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon,//获取周佳名工作室
  859. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon,//获取松山湖
  860. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon,//获取万科双语
  861. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon,//获取万科双语
  862. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon,//获取万科双语
  863. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon,//获取未来小学
  864. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon,//获取未来小学
  865. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  866. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  867. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon,//腾讯学生
  868. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon,//腾讯学生
  869. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon,//福田
  870. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon,//福田
  871. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon,//福田
  872. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon,//福田
  873. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon,//福田
  874. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon,//福田
  875. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon,//szher
  876. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon,//
  877. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon,//
  878. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon,//lotech
  879. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon,//龙华中心
  880. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon,//sies
  881. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon,//sies
  882. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon,//腾讯学生
  883. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon,//hk
  884. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon,//hk
  885. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon,//hk
  886. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon,//hk
  887. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon,//云海
  888. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon,//网络夏令营
  889. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon,//网络夏令营
  890. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon;//网络夏令营
  891. 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'];
  892. 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'];
  893. //清楚桌面图标
  894. el.innerHTML = "";
  895. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  896. _teacherDesktopIconInfo.push(
  897. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  898. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  899. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  900. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  901. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  902. )
  903. _easyDesktopIconInfo.push(
  904. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } }
  905. )
  906. }
  907. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  908. _teacherDesktopIconInfo.push(
  909. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  910. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  911. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  914. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  915. )
  916. }
  917. if(_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5'){
  918. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  919. if(el.Name == '项目管理'){
  920. el.Name = 'PBL项目'
  921. }
  922. return el
  923. })
  924. }
  925. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  926. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  927. return el.Name != '魔盒识字' && el.Name != '24点'
  928. })
  929. }
  930. 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) {
  931. _studentDesktopIconInfo.push(
  932. { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  933. )
  934. }
  935. //循环创建桌面图标
  936. if (type == 1) {
  937. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  938. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  939. _content = $$("div", {
  940. className: "U_MD_D_KO",
  941. "onmousedown": U.UF.C.closure(function (obj) {
  942. //防止拖动图标即打开了桌面应用
  943. U.MD.D.click(this, obj);
  944. }, [_studentDesktopIconInfo[i]]),
  945. "onclick": U.UF.C.closure(function (obj) {
  946. //防止拖动图标即打开了桌面应用
  947. U.MD.D.click(this, obj);
  948. }, [_studentDesktopIconInfo[i]])
  949. }, _frag); //
  950. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  951. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  952. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  953. }
  954. }else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  955. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  956. _content = $$("div", {
  957. className: "U_MD_D_KO",
  958. "onmousedown": U.UF.C.closure(function (obj) {
  959. //防止拖动图标即打开了桌面应用
  960. U.MD.D.click(this, obj);
  961. }, [_hkZJLSStudentDeskIconInfo[i]]),
  962. "onclick": U.UF.C.closure(function (obj) {
  963. //防止拖动图标即打开了桌面应用
  964. U.MD.D.click(this, obj);
  965. }, [_hkZJLSStudentDeskIconInfo[i]])
  966. }, _frag); //
  967. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  968. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  969. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  970. }
  971. }else if (_type == 2 && (_org == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  972. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  973. _content = $$("div", {
  974. className: "U_MD_D_KO",
  975. "onmousedown": U.UF.C.closure(function (obj) {
  976. //防止拖动图标即打开了桌面应用
  977. U.MD.D.click(this, obj);
  978. }, [_siesStudentDeskIconInfo[i]]),
  979. "onclick": U.UF.C.closure(function (obj) {
  980. //防止拖动图标即打开了桌面应用
  981. U.MD.D.click(this, obj);
  982. }, [_siesStudentDeskIconInfo[i]])
  983. }, _frag); //
  984. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  985. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  986. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  987. }
  988. }else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  989. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  990. _content = $$("div", {
  991. className: "U_MD_D_KO",
  992. "onmousedown": U.UF.C.closure(function (obj) {
  993. //防止拖动图标即打开了桌面应用
  994. U.MD.D.click(this, obj);
  995. }, [_hkStudentDeskIconInfo[i]]),
  996. "onclick": U.UF.C.closure(function (obj) {
  997. //防止拖动图标即打开了桌面应用
  998. U.MD.D.click(this, obj);
  999. }, [_hkStudentDeskIconInfo[i]])
  1000. }, _frag); //
  1001. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1002. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1003. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1004. }
  1005. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1006. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1007. _content = $$("div", {
  1008. className: "U_MD_D_KO",
  1009. "onmousedown": U.UF.C.closure(function (obj) {
  1010. //防止拖动图标即打开了桌面应用
  1011. U.MD.D.click(this, obj);
  1012. }, [_studentDesktopIconInfo[i]]),
  1013. "onclick": U.UF.C.closure(function (obj) {
  1014. //防止拖动图标即打开了桌面应用
  1015. U.MD.D.click(this, obj);
  1016. }, [_studentDesktopIconInfo[i]])
  1017. }, _frag); //
  1018. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1019. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1020. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1021. }
  1022. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1023. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1024. _content = $$("div", {
  1025. className: "U_MD_D_KO",
  1026. "onmousedown": U.UF.C.closure(function (obj) {
  1027. //防止拖动图标即打开了桌面应用
  1028. U.MD.D.click(this, obj);
  1029. }, [_tcStudentDeskIconInfo[i]]),
  1030. "onclick": U.UF.C.closure(function (obj) {
  1031. //防止拖动图标即打开了桌面应用
  1032. U.MD.D.click(this, obj);
  1033. }, [_tcStudentDeskIconInfo[i]])
  1034. }, _frag); //
  1035. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1036. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1037. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1038. }
  1039. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1040. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1041. _content = $$("div", {
  1042. className: "U_MD_D_KO",
  1043. "onmousedown": U.UF.C.closure(function (obj) {
  1044. //防止拖动图标即打开了桌面应用
  1045. U.MD.D.click(this, obj);
  1046. }, [_szscStudentDeskIconInfo[i]]),
  1047. "onclick": U.UF.C.closure(function (obj) {
  1048. //防止拖动图标即打开了桌面应用
  1049. U.MD.D.click(this, obj);
  1050. }, [_szscStudentDeskIconInfo[i]])
  1051. }, _frag); //
  1052. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1053. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1054. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1055. }
  1056. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1057. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1058. _content = $$("div", {
  1059. className: "U_MD_D_KO",
  1060. "onmousedown": U.UF.C.closure(function (obj) {
  1061. //防止拖动图标即打开了桌面应用
  1062. U.MD.D.click(this, obj);
  1063. }, [_studentDesktopIconInfo3[i]]),
  1064. "onclick": U.UF.C.closure(function (obj) {
  1065. //防止拖动图标即打开了桌面应用
  1066. U.MD.D.click(this, obj);
  1067. }, [_studentDesktopIconInfo3[i]])
  1068. }, _frag); //
  1069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1072. }
  1073. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1074. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1075. _content = $$("div", {
  1076. className: "U_MD_D_KO",
  1077. "onmousedown": U.UF.C.closure(function (obj) {
  1078. //防止拖动图标即打开了桌面应用
  1079. U.MD.D.click(this, obj);
  1080. }, [_studentDesktopIconInfo2[i]]),
  1081. "onclick": U.UF.C.closure(function (obj) {
  1082. //防止拖动图标即打开了桌面应用
  1083. U.MD.D.click(this, obj);
  1084. }, [_studentDesktopIconInfo2[i]])
  1085. }, _frag); //
  1086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1089. }
  1090. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1091. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1092. _content = $$("div", {
  1093. className: "U_MD_D_KO",
  1094. "onmousedown": U.UF.C.closure(function (obj) {
  1095. //防止拖动图标即打开了桌面应用
  1096. U.MD.D.click(this, obj);
  1097. }, [_wanketeacherDesktopIconInfo[i]]),
  1098. "onclick": U.UF.C.closure(function (obj) {
  1099. //防止拖动图标即打开了桌面应用
  1100. U.MD.D.click(this, obj);
  1101. }, [_wanketeacherDesktopIconInfo[i]])
  1102. }, _frag); //
  1103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1106. }
  1107. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1108. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1109. _content = $$("div", {
  1110. className: "U_MD_D_KO",
  1111. "onmousedown": U.UF.C.closure(function (obj) {
  1112. //防止拖动图标即打开了桌面应用
  1113. U.MD.D.click(this, obj);
  1114. }, [_wankeAdminDesktopIconInfo[i]]),
  1115. "onclick": U.UF.C.closure(function (obj) {
  1116. //防止拖动图标即打开了桌面应用
  1117. U.MD.D.click(this, obj);
  1118. }, [_wankeAdminDesktopIconInfo[i]])
  1119. }, _frag); //
  1120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1123. }
  1124. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1125. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1126. _content = $$("div", {
  1127. className: "U_MD_D_KO",
  1128. "onmousedown": U.UF.C.closure(function (obj) {
  1129. //防止拖动图标即打开了桌面应用
  1130. U.MD.D.click(this, obj);
  1131. }, [_teacherDesktopIconInfo2[i]]),
  1132. "onclick": U.UF.C.closure(function (obj) {
  1133. //防止拖动图标即打开了桌面应用
  1134. U.MD.D.click(this, obj);
  1135. }, [_teacherDesktopIconInfo2[i]])
  1136. }, _frag); //
  1137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1140. }
  1141. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1142. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1143. _content = $$("div", {
  1144. className: "U_MD_D_KO",
  1145. "onmousedown": U.UF.C.closure(function (obj) {
  1146. //防止拖动图标即打开了桌面应用
  1147. U.MD.D.click(this, obj);
  1148. }, [_lotechTeacherDeskIconInfo[i]]),
  1149. "onclick": U.UF.C.closure(function (obj) {
  1150. //防止拖动图标即打开了桌面应用
  1151. U.MD.D.click(this, obj);
  1152. }, [_lotechTeacherDeskIconInfo[i]])
  1153. }, _frag); //
  1154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1157. }
  1158. }else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1159. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1160. _content = $$("div", {
  1161. className: "U_MD_D_KO",
  1162. "onmousedown": U.UF.C.closure(function (obj) {
  1163. //防止拖动图标即打开了桌面应用
  1164. U.MD.D.click(this, obj);
  1165. }, [_siesTeacherDeskIconInfo[i]]),
  1166. "onclick": U.UF.C.closure(function (obj) {
  1167. //防止拖动图标即打开了桌面应用
  1168. U.MD.D.click(this, obj);
  1169. }, [_siesTeacherDeskIconInfo[i]])
  1170. }, _frag); //
  1171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1174. }
  1175. }else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1176. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1177. _content = $$("div", {
  1178. className: "U_MD_D_KO",
  1179. "onmousedown": U.UF.C.closure(function (obj) {
  1180. //防止拖动图标即打开了桌面应用
  1181. U.MD.D.click(this, obj);
  1182. }, [_longhuaTeacherDeskIconInfo[i]]),
  1183. "onclick": U.UF.C.closure(function (obj) {
  1184. //防止拖动图标即打开了桌面应用
  1185. U.MD.D.click(this, obj);
  1186. }, [_longhuaTeacherDeskIconInfo[i]])
  1187. }, _frag); //
  1188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1191. }
  1192. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1193. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1194. _content = $$("div", {
  1195. className: "U_MD_D_KO",
  1196. "onmousedown": U.UF.C.closure(function (obj) {
  1197. //防止拖动图标即打开了桌面应用
  1198. U.MD.D.click(this, obj);
  1199. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1200. "onclick": U.UF.C.closure(function (obj) {
  1201. //防止拖动图标即打开了桌面应用
  1202. U.MD.D.click(this, obj);
  1203. }, [_yunhaiTeacherDeskIconInfo[i]])
  1204. }, _frag); //
  1205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1208. }//_hkStudentDeskIconInfo
  1209. }else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1210. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1211. _content = $$("div", {
  1212. className: "U_MD_D_KO",
  1213. "onmousedown": U.UF.C.closure(function (obj) {
  1214. //防止拖动图标即打开了桌面应用
  1215. U.MD.D.click(this, obj);
  1216. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1217. "onclick": U.UF.C.closure(function (obj) {
  1218. //防止拖动图标即打开了桌面应用
  1219. U.MD.D.click(this, obj);
  1220. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1221. }, _frag); //
  1222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1225. }
  1226. }else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1227. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1228. _content = $$("div", {
  1229. className: "U_MD_D_KO",
  1230. "onmousedown": U.UF.C.closure(function (obj) {
  1231. //防止拖动图标即打开了桌面应用
  1232. U.MD.D.click(this, obj);
  1233. }, [_hkTeacherDeskIconInfo[i]]),
  1234. "onclick": U.UF.C.closure(function (obj) {
  1235. //防止拖动图标即打开了桌面应用
  1236. U.MD.D.click(this, obj);
  1237. }, [_hkTeacherDeskIconInfo[i]])
  1238. }, _frag); //
  1239. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1240. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1241. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1242. }
  1243. }else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1244. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1245. _content = $$("div", {
  1246. className: "U_MD_D_KO",
  1247. "onmousedown": U.UF.C.closure(function (obj) {
  1248. //防止拖动图标即打开了桌面应用
  1249. U.MD.D.click(this, obj);
  1250. }, [_gdjgAdminDeskIconInfo[i]]),
  1251. "onclick": U.UF.C.closure(function (obj) {
  1252. //防止拖动图标即打开了桌面应用
  1253. U.MD.D.click(this, obj);
  1254. }, [_gdjgAdminDeskIconInfo[i]])
  1255. }, _frag); //
  1256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1259. }
  1260. }else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1261. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1262. _content = $$("div", {
  1263. className: "U_MD_D_KO",
  1264. "onmousedown": U.UF.C.closure(function (obj) {
  1265. //防止拖动图标即打开了桌面应用
  1266. U.MD.D.click(this, obj);
  1267. }, [_gdjgTeacherDeskIconInfo[i]]),
  1268. "onclick": U.UF.C.closure(function (obj) {
  1269. //防止拖动图标即打开了桌面应用
  1270. U.MD.D.click(this, obj);
  1271. }, [_gdjgTeacherDeskIconInfo[i]])
  1272. }, _frag); //
  1273. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1274. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1275. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1276. }
  1277. }else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1278. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1279. _content = $$("div", {
  1280. className: "U_MD_D_KO",
  1281. "onmousedown": U.UF.C.closure(function (obj) {
  1282. //防止拖动图标即打开了桌面应用
  1283. U.MD.D.click(this, obj);
  1284. }, [_szherTeacherDeskIconInfo[i]]),
  1285. "onclick": U.UF.C.closure(function (obj) {
  1286. //防止拖动图标即打开了桌面应用
  1287. U.MD.D.click(this, obj);
  1288. }, [_szherTeacherDeskIconInfo[i]])
  1289. }, _frag); //
  1290. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1291. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1292. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1293. }
  1294. }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1295. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1296. _content = $$("div", {
  1297. className: "U_MD_D_KO",
  1298. "onmousedown": U.UF.C.closure(function (obj) {
  1299. //防止拖动图标即打开了桌面应用
  1300. U.MD.D.click(this, obj);
  1301. }, [_heyuannAdminDeskIconInfo[i]]),
  1302. "onclick": U.UF.C.closure(function (obj) {
  1303. //防止拖动图标即打开了桌面应用
  1304. U.MD.D.click(this, obj);
  1305. }, [_heyuannAdminDeskIconInfo[i]])
  1306. }, _frag); //
  1307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1310. }
  1311. }else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1312. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1313. _content = $$("div", {
  1314. className: "U_MD_D_KO",
  1315. "onmousedown": U.UF.C.closure(function (obj) {
  1316. //防止拖动图标即打开了桌面应用
  1317. U.MD.D.click(this, obj);
  1318. }, [_heyuanTeacherDeskIconInfo[i]]),
  1319. "onclick": U.UF.C.closure(function (obj) {
  1320. //防止拖动图标即打开了桌面应用
  1321. U.MD.D.click(this, obj);
  1322. }, [_heyuanTeacherDeskIconInfo[i]])
  1323. }, _frag); //
  1324. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1325. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1326. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1327. }//
  1328. }else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1329. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1330. _content = $$("div", {
  1331. className: "U_MD_D_KO",
  1332. "onmousedown": U.UF.C.closure(function (obj) {
  1333. //防止拖动图标即打开了桌面应用
  1334. U.MD.D.click(this, obj);
  1335. }, [_dseiAdminDeskIconInfo[i]]),
  1336. "onclick": U.UF.C.closure(function (obj) {
  1337. //防止拖动图标即打开了桌面应用
  1338. U.MD.D.click(this, obj);
  1339. }, [_dseiAdminDeskIconInfo[i]])
  1340. }, _frag); //
  1341. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1342. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1343. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1344. }
  1345. }else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1346. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1347. _content = $$("div", {
  1348. className: "U_MD_D_KO",
  1349. "onmousedown": U.UF.C.closure(function (obj) {
  1350. //防止拖动图标即打开了桌面应用
  1351. U.MD.D.click(this, obj);
  1352. }, [_dseiTeacherDeskIconInfo[i]]),
  1353. "onclick": U.UF.C.closure(function (obj) {
  1354. //防止拖动图标即打开了桌面应用
  1355. U.MD.D.click(this, obj);
  1356. }, [_dseiTeacherDeskIconInfo[i]])
  1357. }, _frag); //
  1358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1361. }
  1362. }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1363. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1364. _content = $$("div", {
  1365. className: "U_MD_D_KO",
  1366. "onmousedown": U.UF.C.closure(function (obj) {
  1367. //防止拖动图标即打开了桌面应用
  1368. U.MD.D.click(this, obj);
  1369. }, [_futianAdminDeskIconInfo[i]]),
  1370. "onclick": U.UF.C.closure(function (obj) {
  1371. //防止拖动图标即打开了桌面应用
  1372. U.MD.D.click(this, obj);
  1373. }, [_futianAdminDeskIconInfo[i]])
  1374. }, _frag); //
  1375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1378. }
  1379. }else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1380. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1381. _content = $$("div", {
  1382. className: "U_MD_D_KO",
  1383. "onmousedown": U.UF.C.closure(function (obj) {
  1384. //防止拖动图标即打开了桌面应用
  1385. U.MD.D.click(this, obj);
  1386. }, [_futianTeacherDeskIconInfo[i]]),
  1387. "onclick": U.UF.C.closure(function (obj) {
  1388. //防止拖动图标即打开了桌面应用
  1389. U.MD.D.click(this, obj);
  1390. }, [_futianTeacherDeskIconInfo[i]])
  1391. }, _frag); //
  1392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1395. }
  1396. }else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1397. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1398. _content = $$("div", {
  1399. className: "U_MD_D_KO",
  1400. "onmousedown": U.UF.C.closure(function (obj) {
  1401. //防止拖动图标即打开了桌面应用
  1402. U.MD.D.click(this, obj);
  1403. }, [_MingdeTeacherDeskIcon[i]]),
  1404. "onclick": U.UF.C.closure(function (obj) {
  1405. //防止拖动图标即打开了桌面应用
  1406. U.MD.D.click(this, obj);
  1407. }, [_MingdeTeacherDeskIcon[i]])
  1408. }, _frag); //
  1409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1412. }
  1413. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1414. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1415. _content = $$("div", {
  1416. className: "U_MD_D_KO",
  1417. "onmousedown": U.UF.C.closure(function (obj) {
  1418. //防止拖动图标即打开了桌面应用
  1419. U.MD.D.click(this, obj);
  1420. }, [_lhsAdminDesktopIconInfo[i]]),
  1421. "onclick": U.UF.C.closure(function (obj) {
  1422. //防止拖动图标即打开了桌面应用
  1423. U.MD.D.click(this, obj);
  1424. }, [_lhsAdminDesktopIconInfo[i]])
  1425. }, _frag); //
  1426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1429. }
  1430. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1431. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1432. _content = $$("div", {
  1433. className: "U_MD_D_KO",
  1434. "onmousedown": U.UF.C.closure(function (obj) {
  1435. //防止拖动图标即打开了桌面应用
  1436. U.MD.D.click(this, obj);
  1437. }, [_lhsteacherDesktopIconInfo[i]]),
  1438. "onclick": U.UF.C.closure(function (obj) {
  1439. //防止拖动图标即打开了桌面应用
  1440. U.MD.D.click(this, obj);
  1441. }, [_lhsteacherDesktopIconInfo[i]])
  1442. }, _frag); //
  1443. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1444. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1445. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1446. }
  1447. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1448. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function (obj) {
  1452. //防止拖动图标即打开了桌面应用
  1453. U.MD.D.click(this, obj);
  1454. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function (obj) {
  1456. //防止拖动图标即打开了桌面应用
  1457. U.MD.D.click(this, obj);
  1458. }, [_zhoujiateacherDesktopIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1465. for (i = 0; i < _hanDeskIcon.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function (obj) {
  1469. //防止拖动图标即打开了桌面应用
  1470. U.MD.D.click(this, obj);
  1471. }, [_hanDeskIcon[i]]),
  1472. "onclick": U.UF.C.closure(function (obj) {
  1473. //防止拖动图标即打开了桌面应用
  1474. U.MD.D.click(this, obj);
  1475. }, [_hanDeskIcon[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1480. }
  1481. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1482. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function (obj) {
  1486. //防止拖动图标即打开了桌面应用
  1487. U.MD.D.click(this, obj);
  1488. }, [_orgStemDeskIcon[i]]),
  1489. "onclick": U.UF.C.closure(function (obj) {
  1490. //防止拖动图标即打开了桌面应用
  1491. U.MD.D.click(this, obj);
  1492. }, [_orgStemDeskIcon[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1497. }
  1498. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1499. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function (obj) {
  1503. //防止拖动图标即打开了桌面应用
  1504. U.MD.D.click(this, obj);
  1505. }, [_szulsDeskIcon[i]]),
  1506. "onclick": U.UF.C.closure(function (obj) {
  1507. //防止拖动图标即打开了桌面应用
  1508. U.MD.D.click(this, obj);
  1509. }, [_szulsDeskIcon[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1514. }
  1515. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1516. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function (obj) {
  1520. //防止拖动图标即打开了桌面应用
  1521. U.MD.D.click(this, obj);
  1522. }, [_orgDesktopIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function (obj) {
  1524. //防止拖动图标即打开了桌面应用
  1525. U.MD.D.click(this, obj);
  1526. }, [_orgDesktopIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1531. }
  1532. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1533. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function (obj) {
  1537. //防止拖动图标即打开了桌面应用
  1538. U.MD.D.click(this, obj);
  1539. }, [_schoolDesktopIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function (obj) {
  1541. //防止拖动图标即打开了桌面应用
  1542. U.MD.D.click(this, obj);
  1543. }, [_schoolDesktopIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1548. }
  1549. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1550. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function (obj) {
  1554. //防止拖动图标即打开了桌面应用
  1555. U.MD.D.click(this, obj);
  1556. }, [_GMteacherDesktopIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function (obj) {
  1558. //防止拖动图标即打开了桌面应用
  1559. U.MD.D.click(this, obj);
  1560. }, [_GMteacherDesktopIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1565. }
  1566. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1567. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function (obj) {
  1571. //防止拖动图标即打开了桌面应用
  1572. U.MD.D.click(this, obj);
  1573. }, [_SONGteacherDesktopIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function (obj) {
  1575. //防止拖动图标即打开了桌面应用
  1576. U.MD.D.click(this, obj);
  1577. }, [_SONGteacherDesktopIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1582. }
  1583. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1584. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function (obj) {
  1588. //防止拖动图标即打开了桌面应用
  1589. U.MD.D.click(this, obj);
  1590. }, [_GMstudentDesktopIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function (obj) {
  1592. //防止拖动图标即打开了桌面应用
  1593. U.MD.D.click(this, obj);
  1594. }, [_GMstudentDesktopIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1599. }
  1600. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1601. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function (obj) {
  1605. //防止拖动图标即打开了桌面应用
  1606. U.MD.D.click(this, obj);
  1607. }, [_tcTeacherDeskIconInfo[i]]),
  1608. "onclick": U.UF.C.closure(function (obj) {
  1609. //防止拖动图标即打开了桌面应用
  1610. U.MD.D.click(this, obj);
  1611. }, [_tcTeacherDeskIconInfo[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1616. }
  1617. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1618. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function (obj) {
  1622. //防止拖动图标即打开了桌面应用
  1623. U.MD.D.click(this, obj);
  1624. }, [_tcOrganizerDeskIconInfo[i]]),
  1625. "onclick": U.UF.C.closure(function (obj) {
  1626. //防止拖动图标即打开了桌面应用
  1627. U.MD.D.click(this, obj);
  1628. }, [_tcOrganizerDeskIconInfo[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1633. }
  1634. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1635. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function (obj) {
  1639. //防止拖动图标即打开了桌面应用
  1640. U.MD.D.click(this, obj);
  1641. }, [_szscTeacherDeskIconInfo[i]]),
  1642. "onclick": U.UF.C.closure(function (obj) {
  1643. //防止拖动图标即打开了桌面应用
  1644. U.MD.D.click(this, obj);
  1645. }, [_szscTeacherDeskIconInfo[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1650. }
  1651. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1652. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function (obj) {
  1656. //防止拖动图标即打开了桌面应用
  1657. U.MD.D.click(this, obj);
  1658. }, [_szscOrganizerDeskIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function (obj) {
  1660. //防止拖动图标即打开了桌面应用
  1661. U.MD.D.click(this, obj);
  1662. }, [_szscOrganizerDeskIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else {
  1669. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function (obj) {
  1673. //防止拖动图标即打开了桌面应用
  1674. U.MD.D.click(this, obj);
  1675. }, [_teacherDesktopIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function (obj) {
  1677. //防止拖动图标即打开了桌面应用
  1678. U.MD.D.click(this, obj);
  1679. }, [_teacherDesktopIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. }
  1686. } else {
  1687. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  1688. _content = $$("div", {
  1689. className: "U_MD_D_KO",
  1690. style: { 'width': '124px', 'height': '145px' },
  1691. "onmousedown": U.UF.C.closure(function (obj) {
  1692. //防止拖动图标即打开了桌面应用
  1693. U.MD.D.click(this, obj);
  1694. }, [_easyDesktopIconInfo[i]]),
  1695. "onclick": U.UF.C.closure(function (obj) {
  1696. //防止拖动图标即打开了桌面应用
  1697. U.MD.D.click(this, obj);
  1698. }, [_easyDesktopIconInfo[i]])
  1699. }, _frag); //
  1700. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  1701. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  1702. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  1703. }
  1704. }
  1705. if (type == 1) {
  1706. //加载好后给图标定位
  1707. U.MD.D.iconPostion($(_frag).Child());
  1708. } else {
  1709. //加载好后给图标定位
  1710. U.MD.D.iconPostion2($(_frag).Child());
  1711. }
  1712. //把图标加载到页面
  1713. el.appendChild(_frag);
  1714. }
  1715. /**
  1716. * 显示任务栏
  1717. *
  1718. * @param {element} 桌面元素
  1719. */
  1720. U.MD.D.I.displayTaskbar = function (el) {
  1721. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  1722. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  1723. //任务栏位置变化
  1724. U.selectEl(el).css({ "bottom": "0px" });
  1725. //桌面位置变话
  1726. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  1727. }
  1728. }
  1729. //#region 桌面图标拖动逻辑
  1730. /**
  1731. * 桌面排列图标
  1732. *
  1733. * @param {element} 桌面元素
  1734. * @param {object} 上下相距的距离
  1735. * @param {object} 左右相距的距离
  1736. * @return {object} 命名空间
  1737. */
  1738. U.MD.D.iconPostion = function (childs, top, left) {
  1739. var i; //用于循环处理
  1740. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  1741. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  1742. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1743. for (i = 0; i < childs.length; i++) {
  1744. //如果竖排top超过了范围处理
  1745. if (top + 95 > US.height - 10) {
  1746. //left超过了页面范围处理,则向上重叠打印处理
  1747. if ((left + 180) > US.width) {
  1748. top -= 110;
  1749. left -= 90;
  1750. }
  1751. //没有超过范围,那么left+90添加到下一个竖排打印
  1752. else {
  1753. left += 90;
  1754. top = 15;
  1755. };
  1756. }
  1757. //给图标的位置赋值
  1758. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  1759. if (i < childs.length - 1) {
  1760. //页面图标每次向下加95
  1761. top += 95;
  1762. }
  1763. }
  1764. //返回最后调用的图标的位置
  1765. return [top, left];
  1766. }
  1767. /**
  1768. * 桌面排列图标
  1769. *
  1770. * @param {element} 桌面元素
  1771. * @param {object} 上下相距的距离
  1772. * @param {object} 左右相距的距离
  1773. * @return {object} 命名空间
  1774. */
  1775. U.MD.D.iconPostion2 = function (childs, top, left) {
  1776. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  1777. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  1778. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  1779. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  1780. for (i = 0; i < childs.length; i++) {
  1781. //如果竖排top超过了范围处理
  1782. if (left + 150 > US.width - 10) {
  1783. //left超过了页面范围处理,则向上重叠打印处理
  1784. if ((top + 180) > US.Height) {
  1785. top -= 150;
  1786. left -= 150;
  1787. }
  1788. //没有超过范围,那么left+90添加到下一个竖排打印
  1789. else {
  1790. top += 150;
  1791. left = ol;
  1792. };
  1793. }
  1794. //给图标的位置赋值
  1795. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  1796. if (i < childs.length - 1) {
  1797. //页面图标每次向下加95
  1798. left += 150;
  1799. }
  1800. }
  1801. //返回最后调用的图标的位置
  1802. return [top, left];
  1803. }
  1804. /**
  1805. * 桌面点击事件逻辑
  1806. *
  1807. * @param {element} 桌面元素
  1808. * @param {object} 上下相距的距离
  1809. * @param {object} 左右相距的距离
  1810. * @return {object} 命名空间
  1811. */
  1812. U.MD.D.click = function (el, obj) {
  1813. var _buttonnumber = event.button; //点击的按钮的事件值
  1814. var _userinfo = US.userInfo;
  1815. U.UF.EV.stopBubble(); //阻止向上冒泡
  1816. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  1817. if (_buttonnumber < 2) {
  1818. //如果是click事件的处理
  1819. if (event.type == "click") {
  1820. //如果元素在mousemove事件中没有移动则出发click事件
  1821. if (!U.MD.D.I.IsDrag) {
  1822. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  1823. U.alert("请先登录您的账号!");
  1824. setTimeout(() => {
  1825. U.MD.U.L.login();
  1826. }, 2000);
  1827. } else {
  1828. //打开应用处理
  1829. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  1830. }
  1831. }
  1832. }
  1833. //如果是mouse事件的处理
  1834. else {
  1835. if (US.Config.type == '1') {
  1836. //拖动处理,添加拖动和拖动结束事件
  1837. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  1838. }
  1839. }
  1840. U.MD.D.I.IsDrag = false;
  1841. }
  1842. }
  1843. /**
  1844. * 拖动的处理
  1845. *
  1846. */
  1847. U.MD.D.iconMove = function () {
  1848. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  1849. U.MD.D.I.IsDrag = true;
  1850. }
  1851. /**
  1852. * 拖动结束后,这里是定位处理,以网状的形式定位
  1853. *
  1854. * @param {element} 拖动的元素
  1855. * @return {object} 命名空间
  1856. */
  1857. U.MD.D.iconUp = function (el) {
  1858. var _top = 15,
  1859. _left = 20,
  1860. _margin,
  1861. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  1862. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  1863. if (_positioninfo["OT"] > 15) {
  1864. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  1865. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  1866. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  1867. }
  1868. if (_positioninfo["OL"] > 20) {
  1869. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  1870. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  1871. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  1872. }
  1873. //while循环判断么一个重叠的元素
  1874. do {
  1875. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  1876. _top = _positioninfo[0] + 95; //得到定位后的top
  1877. _left = _positioninfo[1]; //得到定位后的left
  1878. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  1879. }
  1880. /**
  1881. * 判断拖动后图标是否重叠
  1882. *
  1883. * @param {element} 拖动的元素
  1884. * @param {element} 桌面所有的元素
  1885. * @param {array} 拖动元素的位置
  1886. ----------[0] 上 top
  1887. ----------[1] 左 left
  1888. * @return {object} 命名空间
  1889. */
  1890. U.MD.D.isOverlap = function (el, childs, postionarray) {
  1891. //循环所有的图标
  1892. for (var i = 0; i < childs.length; i++) {
  1893. //判断有没有和该图标诶子重叠的元素
  1894. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  1895. return childs[i]; //如果有返回
  1896. }
  1897. }
  1898. }
  1899. //#endregion
  1900. //#endregion
  1901. //#region 桌面应用
  1902. /**
  1903. * 打开应用
  1904. *
  1905. * @param {string} 类型
  1906. -----------------Disk 网盘系统
  1907. -----------------PDisk 学习系统网盘
  1908. -----------------Poto 图片
  1909. -----------------Video 视频
  1910. -----------------Music 音乐
  1911. -----------------Word word
  1912. -----------------Excel excel
  1913. -----------------Txt 记事本
  1914. -----------------PB 学习系统
  1915. -----------------Blog 朋友圈系统
  1916. -----------------FTP ftp系统
  1917. -----------------Group 好友群
  1918. -----------------SY 首页系统
  1919. -----------------Set 个人设置
  1920. -----------------XSet 系统设置
  1921. -----------------App 我们所有的app
  1922. -----------------BC c.1473.cn 平台
  1923. -----------------CWeb d.1473.cn 变成平台
  1924. -----------------其他的外联系统 我们统一用iframe打开
  1925. * @param {array} 类型
  1926. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  1927. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  1928. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  1929. 如果第一个参数为其他,则无第二个参数
  1930. * @returns {array}
  1931. */
  1932. window.addEventListener('message', function (e) { // 监听 message 事件
  1933. // alert(e.data.type);
  1934. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  1935. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  1936. //3是展示全部阶段 2学生 1老师 4专家
  1937. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  1938. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  1939. //3是展示全部阶段 2学生 1老师 4专家
  1940. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  1941. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  1942. //3是展示全部阶段 2学生 1老师 4专家
  1943. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  1944. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  1945. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  1946. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  1947. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  1948. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  1949. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  1950. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  1951. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  1952. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  1953. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  1954. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  1955. //3是展示全部阶段 2学生 1老师 4专家
  1956. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  1957. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  1958. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  1959. U.MD.D.I.selectUser();
  1960. } else if (e.data.allScreen && e.data.allScreen == "1") {
  1961. var _formel = document.getElementById("study");
  1962. U.UF.F.windowZooming(_formel);
  1963. } else if (e.data.allScreen && e.data.allScreen == "2") {
  1964. var _formel = document.getElementById("studyDetail");
  1965. U.UF.F.windowZooming(_formel);
  1966. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  1967. var _formel = document.getElementById("studyDetail");
  1968. U.UF.F.windowZooming(_formel);
  1969. } else if (e.data.allScreen && e.data.allScreen == "3") {
  1970. var _formel = document.getElementById("studentStudy");
  1971. U.UF.F.windowZooming(_formel);
  1972. } else if (e.data.allScreen && e.data.allScreen == "6") {
  1973. // var _formel = document.getElementById("study");
  1974. //如果最大化了,那么就把他缩小
  1975. // if (_formel.ismaximize) {
  1976. // return;
  1977. // }
  1978. // U.UF.F.windowZooming(_formel);
  1979. // U.UF.F.topWindow(_formel);
  1980. } else if (e.data.allScreen && e.data.allScreen == "4") {
  1981. // var _formel = document.getElementById("studyDetail");
  1982. //如果最大化了,那么就把他缩小
  1983. // if (_formel.ismaximize) {
  1984. // return;
  1985. // }
  1986. // U.UF.F.windowZooming(_formel);
  1987. // U.UF.F.topWindow(_formel);
  1988. } else if (e.data.allScreen && e.data.allScreen == "5") {
  1989. // var _formel = document.getElementById("studentStudy");
  1990. // if (_formel.ismaximize) {
  1991. // return;
  1992. // }
  1993. // U.UF.F.windowZooming(_formel);
  1994. // U.UF.F.topWindow(_formel);
  1995. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  1996. var _formel = document.getElementById("study");
  1997. // if (_formel.ismaximize) {
  1998. // return;
  1999. // }
  2000. // U.UF.F.windowZooming(_formel);
  2001. U.UF.F.topWindow(_formel);
  2002. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2003. var _formel = document.getElementById("studentIndex");
  2004. U.UF.F.windowZooming(_formel);
  2005. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2006. var _formel = document.getElementById("studyDetailS");
  2007. U.UF.F.windowZooming(_formel);
  2008. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2009. var _formel = document.getElementById("studioIndex");
  2010. U.UF.F.windowZooming(_formel);
  2011. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2012. var _formel = document.getElementById("studyDetailStudio");
  2013. U.UF.F.windowZooming(_formel);
  2014. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2015. var _formel = document.getElementById("studyDetailStudio");
  2016. U.UF.F.windowZooming(_formel);
  2017. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2018. var _formel = document.getElementById("studyDetailNT");
  2019. U.UF.F.windowZooming(_formel);
  2020. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2021. var _formel = document.getElementById("studyDetailS");
  2022. U.UF.F.windowZooming(_formel);
  2023. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2024. var _formel = document.getElementById("studyDetailS");
  2025. U.UF.F.topWindow(_formel);
  2026. } else if (e.data.tools && e.data.tools == "1") {
  2027. // U.MD.D.I.openApplication("whiteboard")
  2028. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2029. } else if (e.data.tools && e.data.tools == "2") {
  2030. U.MD.D.I.openApplication("note")
  2031. } else if (e.data.tools && e.data.tools == "3") {
  2032. // U.MD.D.I.openApplication("mind")
  2033. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2034. } else if (e.data.tools && e.data.tools == "4") {
  2035. U.MD.D.I.openApplication("investigation")
  2036. } else if (e.data.tools && e.data.tools == "6") {
  2037. // U.MD.D.I.openApplication("doc")
  2038. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2039. } else if (e.data.tools && e.data.tools == "7") {
  2040. // U.MD.D.I.openApplication("mindNetwork")
  2041. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2042. } else if (e.data.tools && e.data.tools == "8") {
  2043. U.MD.D.I.openApplication("library")
  2044. } else if (e.data.tools && e.data.tools == "17") {
  2045. U.MD.D.I.openApplication("stuLibrary")
  2046. } else if (e.data.tools && e.data.tools == "18") {
  2047. U.MD.D.I.openApplication("train")
  2048. } else if (e.data.tools && e.data.tools == "21") {
  2049. U.MD.D.I.openApplication("program")
  2050. } else if (e.data.tools && e.data.tools == "22") {
  2051. U.MD.D.I.openApplication("AIprogram2")
  2052. } else if (e.data.tools && e.data.tools == "23") {
  2053. U.MD.D.I.openApplication("Pythonprogram")
  2054. } else if (e.data.tools && e.data.tools == "24") {
  2055. U.MD.D.I.openApplication("AIprogram")
  2056. } else if (e.data.tools && e.data.tools == "25") {
  2057. U.MD.D.I.openApplication("sys")
  2058. } else if (e.data.tools && e.data.tools == "26") {
  2059. // U.MD.D.I.openApplication("courseDesign")
  2060. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2061. } else if (e.data.tools && e.data.tools == "31") {
  2062. U.MD.D.I.openApplication("netWorkPanel")
  2063. } else if (e.data.tools && e.data.tools == "32") {
  2064. U.MD.D.I.openApplication("codeEdit")
  2065. } else if (e.data.tools && e.data.tools == "57") {
  2066. U.MD.D.I.openApplication("CocoPi")
  2067. } else if (e.data.tools && e.data.tools == "63") {
  2068. U.MD.D.I.openApplication("Wood")
  2069. } else if (e.data.tools && e.data.tools == "58") {
  2070. U.MD.D.I.openApplication("car")
  2071. } else if (e.data.tools && e.data.tools == "59") {
  2072. U.MD.D.I.openApplication("lineSearch")
  2073. } else if (e.data.tools && e.data.tools == "60") {
  2074. U.MD.D.I.openApplication("deepLearning")
  2075. } else if (e.data.tools && e.data.tools == "61") {
  2076. U.MD.D.I.openApplication("allHistory")
  2077. } else if (e.data.tools && e.data.tools == "28") {
  2078. U.MD.D.I.openApplication("translation")
  2079. } else if (e.data.tools && e.data.tools == "37") {
  2080. U.MD.D.I.openApplication("mohe")
  2081. } else if (e.data.tools && e.data.tools == "38") {
  2082. U.MD.D.I.openApplication("24game")
  2083. } else if (e.data.tools && e.data.tools == "39") {
  2084. U.MD.D.I.openApplication("GeoGebra")
  2085. } else if (e.data.tools && e.data.tools == "43") {
  2086. U.MD.D.I.openApplication("studentEvaluate")
  2087. } else if (e.data.tools && e.data.tools == "44") {
  2088. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2089. } else if (e.data.tools && e.data.tools == "46") {
  2090. U.MD.D.I.openApplication("project")
  2091. } else if (e.data.tools && e.data.tools == "1s") {
  2092. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2093. } else if (e.data.tools && e.data.tools == "3s") {
  2094. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2095. } else if (e.data.tools && e.data.tools == "6s") {
  2096. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2097. } else if (e.data.tools && e.data.tools == "1studio") {
  2098. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2099. } else if (e.data.tools && e.data.tools == "3studio") {
  2100. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2101. } else if (e.data.tools && e.data.tools == "6studio") {
  2102. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2103. } else if (e.data.tools && e.data.tools == "3y") {
  2104. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2105. } else if (e.data.tools && e.data.tools == "1y") {
  2106. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2107. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2108. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2109. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2110. U.MD.D.I.openApplication("AIAnalyse")
  2111. } else if (e.data.tools && e.data.tools == "1teacher") {
  2112. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2113. } else if (e.data.tools && e.data.tools == "3teacher") {
  2114. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2115. } else if (e.data.tools && e.data.tools == "7teacher") {
  2116. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2117. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2118. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2119. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2120. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2121. } else if (e.data.tools && e.data.tools == "1E") {
  2122. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2123. } else if (e.data.tools && e.data.tools == "3E") {
  2124. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2125. } else if (e.data.tools && e.data.tools == "57y") {
  2126. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2127. } else if (e.data.tools && e.data.tools == "57u") {
  2128. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2129. } else if (e.data.tools && e.data.tools == "57teacher") {
  2130. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2131. } else if (e.data.tools && e.data.tools == "64") {
  2132. U.MD.D.I.openApplication("AIChat")
  2133. }
  2134. });
  2135. U.MD.D.I.selectUser = function () {
  2136. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2137. if (res.value[0].length > 0) {
  2138. US.userInfo = res.value[0][0];
  2139. $(".userName")[0].innerHTML = US.userInfo.username;
  2140. }
  2141. }, [], { "type": "GET", "withCredentials": true });
  2142. }
  2143. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2144. var _userinfo = US.userInfo, //登录用户信息
  2145. _userid = US.userInfo.userid, //登录用户id
  2146. _oid = _userinfo.organizeid,
  2147. _type = US.userInfo.type,
  2148. _org = US.userInfo.org,
  2149. _role = US.userInfo.role,
  2150. _classId = US.userInfo.classid;
  2151. if (_type == 4) {
  2152. tType = 4
  2153. }
  2154. switch (str) {
  2155. case "studyDetailNT"://无终端模式
  2156. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2157. setTimeout(() => {
  2158. U.MD.U.L.login();
  2159. }, 2000);
  2160. } else {
  2161. _formdiv = new U.UF.UI.form(
  2162. "课程详情",
  2163. $$("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 }), {
  2164. "id": "studyDetailNT",
  2165. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2166. "onresize": function () { }
  2167. }, {
  2168. closecallback: function () { }
  2169. }, { "style": { "height": "36px" } }).form; //创建窗体
  2170. _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); } }
  2171. break;
  2172. }
  2173. case "studyDetail":
  2174. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2175. setTimeout(() => {
  2176. U.MD.U.L.login();
  2177. }, 2000);
  2178. } else {
  2179. _formdiv = new U.UF.UI.form(
  2180. "课程详情",
  2181. $$("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 }), {
  2182. "id": "studyDetail",
  2183. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2184. "onresize": function () { }
  2185. }, {
  2186. closecallback: function () { }
  2187. }, { "style": { "height": "36px" } }).form; //创建窗体
  2188. _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); } }
  2189. break;
  2190. }
  2191. case "studyDetailS":
  2192. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2193. setTimeout(() => {
  2194. U.MD.U.L.login();
  2195. }, 2000);
  2196. } else {
  2197. _formdiv = new U.UF.UI.form(
  2198. "项目详情",
  2199. $$("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 }), {
  2200. "id": "studyDetailS",
  2201. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2202. "onresize": function () { }
  2203. }, {
  2204. closecallback: function () { }
  2205. }, { "style": { "height": "36px" } }).form; //创建窗体
  2206. _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); } }
  2207. break;
  2208. }
  2209. case "studyDetailStudio":
  2210. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2211. setTimeout(() => {
  2212. U.MD.U.L.login();
  2213. }, 2000);
  2214. } else {
  2215. _formdiv = new U.UF.UI.form(
  2216. "工作详情",
  2217. $$("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 }), {
  2218. "id": "studyDetailStudio",
  2219. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2220. "onresize": function () { }
  2221. }, {
  2222. closecallback: function () { }
  2223. }, { "style": { "height": "36px" } }).form; //创建窗体
  2224. _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); } }
  2225. break;
  2226. }
  2227. case "studyDetailS5":
  2228. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2229. setTimeout(() => {
  2230. U.MD.U.L.login();
  2231. }, 2000);
  2232. } else {
  2233. _formdiv = new U.UF.UI.form(
  2234. "项目详情",
  2235. $$("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 }), {
  2236. "id": "studyDetailS",
  2237. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2238. "onresize": function () { }
  2239. }, {
  2240. closecallback: function () { }
  2241. }, { "style": { "height": "36px" } }).form; //创建窗体
  2242. _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); } }
  2243. break;
  2244. }
  2245. case "studyDetailGM":
  2246. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2247. setTimeout(() => {
  2248. U.MD.U.L.login();
  2249. }, 2000);
  2250. } else {
  2251. _formdiv = new U.UF.UI.form(
  2252. "课程详情",
  2253. $$("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 }), {
  2254. "id": "studyDetail",
  2255. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2256. "onresize": function () { }
  2257. }, {
  2258. closecallback: function () { }
  2259. }, { "style": { "height": "36px" } }).form; //创建窗体
  2260. _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); } }
  2261. break;
  2262. }
  2263. case "hanUrl":
  2264. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2265. setTimeout(() => {
  2266. U.MD.U.L.login();
  2267. }, 2000);
  2268. } else {
  2269. _formdiv = new U.UF.UI.form(
  2270. "汉字宫",
  2271. $$("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" }), {
  2272. "id": "hanUrl",
  2273. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2274. "onresize": function () { }
  2275. }, {
  2276. closecallback: function () { }
  2277. }, { "style": { "height": "36px" } }).form; //创建窗体
  2278. _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); } }
  2279. break;
  2280. }
  2281. }
  2282. }
  2283. U.MD.D.I.openApplication = function (str, obj, info) {
  2284. obj = obj || {};
  2285. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2286. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2287. _userinfo = US.userInfo, //登录用户信息
  2288. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2289. _oid = obj.organizeid || _userinfo.organizeid,
  2290. _type = US.userInfo.type,
  2291. _org = US.userInfo.org,
  2292. _role = US.userInfo.role,
  2293. _classId = US.userInfo.classid,
  2294. _TscreenType = 1
  2295. _screenType = 2,
  2296. _SscreenType = 3;
  2297. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2298. return;
  2299. }
  2300. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2301. switch (str) {
  2302. case "studnetProject": //好友打开
  2303. _formdiv = new U.UF.UI.form(
  2304. "我的项目",
  2305. $$("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 }), {
  2306. "id": "studnetProject",
  2307. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2308. "onresize": function () { }
  2309. }, {
  2310. closecallback: function () { }
  2311. }, { "style": { "height": "36px" } }).form; //创建窗体
  2312. _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); } }
  2313. break;
  2314. case "studentEvaluate": //好友打开
  2315. _formdiv = new U.UF.UI.form(
  2316. "我的评价",
  2317. $$("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 }), {
  2318. "id": "studentEvaluate",
  2319. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2320. "onresize": function () { }
  2321. }, {
  2322. closecallback: function () { }
  2323. }, { "style": { "height": "36px" } }).form; //创建窗体
  2324. _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); } }
  2325. break;
  2326. case "my":
  2327. _formdiv = new U.UF.UI.form(
  2328. "我的资料",
  2329. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2330. "id": "my",
  2331. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2332. "onresize": function () { }
  2333. }, {
  2334. closecallback: function () { }
  2335. }, { "style": { "height": "36px" } }).form; //创建窗体
  2336. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2337. break;
  2338. case "program":
  2339. _formdiv = new U.UF.UI.form(
  2340. "编程平台",
  2341. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2342. "id": "program",
  2343. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2344. "onresize": function () { }
  2345. }, {
  2346. closecallback: function () { }
  2347. }, { "style": { "height": "36px" } }).form; //创建窗体
  2348. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2349. break;
  2350. case "library":
  2351. _formdiv = new U.UF.UI.form(
  2352. "素材库",
  2353. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2354. "id": "library",
  2355. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2356. "onresize": function () { }
  2357. }, {
  2358. closecallback: function () { }
  2359. }, { "style": { "height": "36px" } }).form; //创建窗体
  2360. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2361. break;
  2362. case "whiteboard":
  2363. _formdiv = new U.UF.UI.form(
  2364. "电子白板",
  2365. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2366. "id": "whiteboard",
  2367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2368. "onresize": function () { }
  2369. }, {
  2370. closecallback: function () { }
  2371. }, { "style": { "height": "36px" } }).form; //创建窗体
  2372. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2373. break;
  2374. case "investigation":
  2375. _formdiv = new U.UF.UI.form(
  2376. "问卷调查",
  2377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2378. "id": "investigation",
  2379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2380. "onresize": function () { }
  2381. }, {
  2382. closecallback: function () { }
  2383. }, { "style": { "height": "36px" } }).form; //创建窗体
  2384. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2385. break;
  2386. case "note":
  2387. _formdiv = new U.UF.UI.form(
  2388. "便签分类",
  2389. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2390. "id": "note",
  2391. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2392. "onresize": function () { }
  2393. }, {
  2394. closecallback: function () { }
  2395. }, { "style": { "height": "36px" } }).form; //创建窗体
  2396. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2397. break;
  2398. // case "score":
  2399. // _formdiv = new U.UF.UI.form(
  2400. // "量规评分",
  2401. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2402. // "id": "score",
  2403. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2404. // "onresize": function() {}
  2405. // }, {
  2406. // closecallback: function() {}
  2407. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2408. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2409. // break;
  2410. case "mind":
  2411. _formdiv = new U.UF.UI.form(
  2412. "思维导图",
  2413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2414. "id": "mind",
  2415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2416. "onresize": function () { }
  2417. }, {
  2418. closecallback: function () { }
  2419. }, { "style": { "height": "36px" } }).form; //创建窗体
  2420. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2421. break;
  2422. case "doc":
  2423. // U.MD.D.I.isRoom();
  2424. _formdiv = new U.UF.UI.form(
  2425. "协同文档",
  2426. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2427. "id": "doc",
  2428. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2429. "onresize": function () { }
  2430. }, {
  2431. closecallback: function () { }
  2432. }, { "style": { "height": "36px" } }).form; //创建窗体
  2433. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2434. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2435. // })
  2436. _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); } }
  2437. break;
  2438. case "studentStudy":
  2439. _formdiv = new U.UF.UI.form(
  2440. "课程中心",
  2441. $$("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
  2442. "id": "studentStudy",
  2443. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2444. "onresize": function () { }
  2445. }, {
  2446. closecallback: function () { }
  2447. }, { "style": { "height": "36px" } }).form; //创建窗体
  2448. _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); } }
  2449. break;
  2450. case "train": //好友打开
  2451. _formdiv = new U.UF.UI.form(
  2452. "训练平台",
  2453. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2454. "id": "train",
  2455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2456. "onresize": function () { }
  2457. }, {
  2458. closecallback: function () { }
  2459. }, { "style": { "height": "36px" } }).form; //创建窗体
  2460. _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); } }
  2461. break;
  2462. case "mindNetwork": //好友打开
  2463. _formdiv = new U.UF.UI.form(
  2464. "思维网格",
  2465. $$("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 }), {
  2466. "id": "mindNetwork",
  2467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2468. "onresize": function () { }
  2469. }, {
  2470. closecallback: function () { }
  2471. }, { "style": { "height": "36px" } }).form; //创建窗体
  2472. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2473. break;
  2474. case "studentClassRoom": //好友打开
  2475. _formdiv = new U.UF.UI.form(
  2476. "实时课堂",
  2477. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2478. "id": "studentClassRoom",
  2479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2480. "onresize": function () { }
  2481. }, {
  2482. closecallback: function () { }
  2483. }, { "style": { "height": "36px" } }).form; //创建窗体
  2484. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2485. setTimeout(() => {
  2486. U.UF.F.windowZooming(_formdiv)
  2487. }, 0);
  2488. break;
  2489. }
  2490. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2491. switch (str) {
  2492. case "studnetProject": //好友打开
  2493. _formdiv = new U.UF.UI.form(
  2494. "我的项目",
  2495. $$("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 }), {
  2496. "id": "studnetProject",
  2497. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2498. "onresize": function () { }
  2499. }, {
  2500. closecallback: function () { }
  2501. }, { "style": { "height": "36px" } }).form; //创建窗体
  2502. _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); } }
  2503. break;
  2504. case "studentEvaluate": //好友打开
  2505. _formdiv = new U.UF.UI.form(
  2506. "我的评价",
  2507. $$("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 }), {
  2508. "id": "studentEvaluate",
  2509. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2510. "onresize": function () { }
  2511. }, {
  2512. closecallback: function () { }
  2513. }, { "style": { "height": "36px" } }).form; //创建窗体
  2514. _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); } }
  2515. break;
  2516. case "my":
  2517. _formdiv = new U.UF.UI.form(
  2518. "我的资料",
  2519. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2520. "id": "my",
  2521. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2522. "onresize": function () { }
  2523. }, {
  2524. closecallback: function () { }
  2525. }, { "style": { "height": "36px" } }).form; //创建窗体
  2526. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2527. break;
  2528. case "program":
  2529. _formdiv = new U.UF.UI.form(
  2530. "编程平台",
  2531. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2532. "id": "program",
  2533. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2534. "onresize": function () { }
  2535. }, {
  2536. closecallback: function () { }
  2537. }, { "style": { "height": "36px" } }).form; //创建窗体
  2538. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2539. break;
  2540. case "library":
  2541. _formdiv = new U.UF.UI.form(
  2542. "素材库",
  2543. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2544. "id": "library",
  2545. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2546. "onresize": function () { }
  2547. }, {
  2548. closecallback: function () { }
  2549. }, { "style": { "height": "36px" } }).form; //创建窗体
  2550. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2551. break;
  2552. case "whiteboard":
  2553. _formdiv = new U.UF.UI.form(
  2554. "电子白板",
  2555. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2556. "id": "whiteboard",
  2557. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2558. "onresize": function () { }
  2559. }, {
  2560. closecallback: function () { }
  2561. }, { "style": { "height": "36px" } }).form; //创建窗体
  2562. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2563. break;
  2564. case "investigation":
  2565. _formdiv = new U.UF.UI.form(
  2566. "问卷调查",
  2567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2568. "id": "investigation",
  2569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2570. "onresize": function () { }
  2571. }, {
  2572. closecallback: function () { }
  2573. }, { "style": { "height": "36px" } }).form; //创建窗体
  2574. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2575. break;
  2576. case "note":
  2577. _formdiv = new U.UF.UI.form(
  2578. "便签分类",
  2579. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2580. "id": "note",
  2581. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2582. "onresize": function () { }
  2583. }, {
  2584. closecallback: function () { }
  2585. }, { "style": { "height": "36px" } }).form; //创建窗体
  2586. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2587. break;
  2588. // case "score":
  2589. // _formdiv = new U.UF.UI.form(
  2590. // "量规评分",
  2591. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2592. // "id": "score",
  2593. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2594. // "onresize": function() {}
  2595. // }, {
  2596. // closecallback: function() {}
  2597. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2598. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2599. // break;
  2600. case "mind":
  2601. _formdiv = new U.UF.UI.form(
  2602. "思维导图",
  2603. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2604. "id": "mind",
  2605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2606. "onresize": function () { }
  2607. }, {
  2608. closecallback: function () { }
  2609. }, { "style": { "height": "36px" } }).form; //创建窗体
  2610. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2611. break;
  2612. case "doc":
  2613. // U.MD.D.I.isRoom();
  2614. _formdiv = new U.UF.UI.form(
  2615. "协同文档",
  2616. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2617. "id": "doc",
  2618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2619. "onresize": function () { }
  2620. }, {
  2621. closecallback: function () { }
  2622. }, { "style": { "height": "36px" } }).form; //创建窗体
  2623. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2624. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2625. })
  2626. _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); } }
  2627. break;
  2628. case "train": //好友打开
  2629. _formdiv = new U.UF.UI.form(
  2630. "训练平台",
  2631. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2632. "id": "train",
  2633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2634. "onresize": function () { }
  2635. }, {
  2636. closecallback: function () { }
  2637. }, { "style": { "height": "36px" } }).form; //创建窗体
  2638. _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); } }
  2639. break;
  2640. case "studentStudy":
  2641. _formdiv = new U.UF.UI.form(
  2642. "课程中心",
  2643. $$("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
  2644. "id": "studentStudy",
  2645. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2646. "onresize": function () { }
  2647. }, {
  2648. closecallback: function () { }
  2649. }, { "style": { "height": "36px" } }).form; //创建窗体
  2650. _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); } }
  2651. break;
  2652. case "mindNetwork": //好友打开
  2653. _formdiv = new U.UF.UI.form(
  2654. "思维网格",
  2655. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  2656. "id": "mindNetwork",
  2657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2658. "onresize": function () { }
  2659. }, {
  2660. closecallback: function () { }
  2661. }, { "style": { "height": "36px" } }).form; //创建窗体
  2662. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思维网格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2663. break;
  2664. case "studentClassRoom": //好友打开
  2665. _formdiv = new U.UF.UI.form(
  2666. "实时课堂",
  2667. $$("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 }), {
  2668. "id": "studentClassRoom",
  2669. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2670. "onresize": function () { }
  2671. }, {
  2672. closecallback: function () { }
  2673. }, { "style": { "height": "36px" } }).form; //创建窗体
  2674. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2675. setTimeout(() => {
  2676. U.UF.F.windowZooming(_formdiv)
  2677. }, 0);
  2678. break;
  2679. }
  2680. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2681. //选择应用处理
  2682. switch (str) {
  2683. case "project": //好友打开
  2684. _formdiv = new U.UF.UI.form(
  2685. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目':"课程管理",
  2686. $$("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 }), {
  2687. "id": "project",
  2688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2689. "onresize": function () { }
  2690. }, {
  2691. closecallback: function () { }
  2692. }, { "style": { "height": "36px" } }).form; //创建窗体
  2693. _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); } }
  2694. break;
  2695. case "student":
  2696. _formdiv = new U.UF.UI.form(
  2697. "学生管理",
  2698. $$("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 }), {
  2699. "id": "student",
  2700. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2701. "onresize": function () { }
  2702. }, {
  2703. closecallback: function () { }
  2704. }, { "style": { "height": "36px" } }).form; //创建窗体
  2705. _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); } }
  2706. break;
  2707. case "evaluate":
  2708. _formdiv = new U.UF.UI.form(
  2709. "学生评价",
  2710. $$("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 }), {
  2711. "id": "evaluate",
  2712. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2713. "onresize": function () { }
  2714. }, {
  2715. closecallback: function () { }
  2716. }, { "style": { "height": "36px" } }).form; //创建窗体
  2717. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2718. break;
  2719. case "sys":
  2720. _formdiv = new U.UF.UI.form(
  2721. "目标管理",
  2722. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2723. "id": "sys",
  2724. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2725. "onresize": function () { }
  2726. }, {
  2727. closecallback: function () { }
  2728. }, { "style": { "height": "36px" } }).form; //创建窗体
  2729. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2730. break;
  2731. case "courseDesign":
  2732. _formdiv = new U.UF.UI.form(
  2733. "项目设计",
  2734. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  2735. "id": "courseDesign",
  2736. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2737. "onresize": function () { }
  2738. }, {
  2739. closecallback: function () { }
  2740. }, { "style": { "height": "36px" } }).form; //创建窗体
  2741. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2742. break;
  2743. case "program":
  2744. _formdiv = new U.UF.UI.form(
  2745. "编程平台",
  2746. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2747. "id": "program",
  2748. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2749. "onresize": function () { }
  2750. }, {
  2751. closecallback: function () { }
  2752. }, { "style": { "height": "36px" } }).form; //创建窗体
  2753. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2754. break;
  2755. case "class":
  2756. _formdiv = new U.UF.UI.form(
  2757. "班级管理",
  2758. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2759. "id": "class",
  2760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2761. "onresize": function () { }
  2762. }, {
  2763. closecallback: function () { }
  2764. }, { "style": { "height": "36px" } }).form; //创建窗体
  2765. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2766. break;
  2767. case "Grade":
  2768. _formdiv = new U.UF.UI.form(
  2769. "年级管理",
  2770. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2771. "id": "Grade",
  2772. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2773. "onresize": function () { }
  2774. }, {
  2775. closecallback: function () { }
  2776. }, { "style": { "height": "36px" } }).form; //创建窗体
  2777. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2778. break;
  2779. case "teacherOffice":
  2780. _formdiv = new U.UF.UI.form(
  2781. "教研室",
  2782. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2783. "id": "teacherOffice",
  2784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2785. "onresize": function () { }
  2786. }, {
  2787. closecallback: function () { }
  2788. }, { "style": { "height": "36px" } }).form; //创建窗体
  2789. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2790. break;
  2791. case "my":
  2792. _formdiv = new U.UF.UI.form(
  2793. "我的资料",
  2794. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2795. "id": "my",
  2796. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2797. "onresize": function () { }
  2798. }, {
  2799. closecallback: function () { }
  2800. }, { "style": { "height": "36px" } }).form; //创建窗体
  2801. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2802. break;
  2803. case "notice":
  2804. _formdiv = new U.UF.UI.form(
  2805. "通知公告",
  2806. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  2807. "id": "notice",
  2808. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2809. "onresize": function () { }
  2810. }, {
  2811. closecallback: function () { }
  2812. }, { "style": { "height": "36px" } }).form; //创建窗体
  2813. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2814. break;
  2815. case "library":
  2816. _formdiv = new U.UF.UI.form(
  2817. "素材库",
  2818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2819. "id": "library",
  2820. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2821. "onresize": function () { }
  2822. }, {
  2823. closecallback: function () { }
  2824. }, { "style": { "height": "36px" } }).form; //创建窗体
  2825. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2826. break;
  2827. case "whiteboard":
  2828. _formdiv = new U.UF.UI.form(
  2829. "电子白板",
  2830. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2831. "id": "whiteboard",
  2832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2833. "onresize": function () { }
  2834. }, {
  2835. closecallback: function () { }
  2836. }, { "style": { "height": "36px" } }).form; //创建窗体
  2837. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2838. break;
  2839. case "investigation":
  2840. _formdiv = new U.UF.UI.form(
  2841. "问卷调查",
  2842. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  2843. "id": "investigation",
  2844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2845. "onresize": function () { }
  2846. }, {
  2847. closecallback: function () { }
  2848. }, { "style": { "height": "36px" } }).form; //创建窗体
  2849. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2850. break;
  2851. case "note":
  2852. _formdiv = new U.UF.UI.form(
  2853. "便签分类",
  2854. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2855. "id": "note",
  2856. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2857. "onresize": function () { }
  2858. }, {
  2859. closecallback: function () { }
  2860. }, { "style": { "height": "36px" } }).form; //创建窗体
  2861. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2862. break;
  2863. // case "score":
  2864. // _formdiv = new U.UF.UI.form(
  2865. // "量规评分",
  2866. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2867. // "id": "score",
  2868. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2869. // "onresize": function() {}
  2870. // }, {
  2871. // closecallback: function() {}
  2872. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2873. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  2874. // break;
  2875. case "mind":
  2876. _formdiv = new U.UF.UI.form(
  2877. "思维导图",
  2878. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  2879. "id": "mind",
  2880. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2881. "onresize": function () { }
  2882. }, {
  2883. closecallback: function () { }
  2884. }, { "style": { "height": "36px" } }).form; //创建窗体
  2885. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2886. break;
  2887. case "doc":
  2888. // U.MD.D.I.isRoom();
  2889. _formdiv = new U.UF.UI.form(
  2890. "协同文档",
  2891. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  2892. "id": "doc",
  2893. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2894. "onresize": function () { }
  2895. }, {
  2896. closecallback: function () { }
  2897. }, { "style": { "height": "36px" } }).form; //创建窗体
  2898. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2899. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2900. })
  2901. _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); } }
  2902. break;
  2903. case "study":
  2904. _formdiv = new U.UF.UI.form(
  2905. "课程中心",
  2906. $$("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
  2907. "id": "study",
  2908. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2909. "onresize": function () { }
  2910. }, {
  2911. closecallback: function () { }
  2912. }, { "style": { "height": "36px" } }).form; //创建窗体
  2913. _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); } }
  2914. break;
  2915. case "mindNetwork": //好友打开
  2916. _formdiv = new U.UF.UI.form(
  2917. "思维网格",
  2918. $$("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 }), {
  2919. "id": "mindNetwork",
  2920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2921. "onresize": function () { }
  2922. }, {
  2923. closecallback: function () { }
  2924. }, { "style": { "height": "36px" } }).form; //创建窗体
  2925. _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); } }
  2926. break;
  2927. case "train": //好友打开
  2928. _formdiv = new U.UF.UI.form(
  2929. "训练平台",
  2930. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2931. "id": "mindNetwork",
  2932. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2933. "onresize": function () { }
  2934. }, {
  2935. closecallback: function () { }
  2936. }, { "style": { "height": "36px" } }).form; //创建窗体
  2937. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2938. break;
  2939. case "teacherClassRoom": //好友打开
  2940. _formdiv = new U.UF.UI.form(
  2941. "实时课堂",
  2942. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2943. "id": "teacherClassRoom",
  2944. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2945. "onresize": function () { }
  2946. }, {
  2947. closecallback: function () { }
  2948. }, { "style": { "height": "36px" } }).form; //创建窗体
  2949. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "实时课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2950. setTimeout(() => {
  2951. U.UF.F.windowZooming(_formdiv)
  2952. }, 0);
  2953. break;
  2954. }
  2955. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2956. switch (str) {
  2957. case "project": //好友打开
  2958. _formdiv = new U.UF.UI.form(
  2959. "课程管理",
  2960. $$("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 }), {
  2961. "id": "project",
  2962. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2963. "onresize": function () { }
  2964. }, {
  2965. closecallback: function () { }
  2966. }, { "style": { "height": "36px" } }).form; //创建窗体
  2967. _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); } }
  2968. break;
  2969. case "evaluate":
  2970. _formdiv = new U.UF.UI.form(
  2971. "学生评价",
  2972. $$("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 }), {
  2973. "id": "evaluate",
  2974. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2975. "onresize": function () { }
  2976. }, {
  2977. closecallback: function () { }
  2978. }, { "style": { "height": "36px" } }).form; //创建窗体
  2979. _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); } }
  2980. break;
  2981. case "notice":
  2982. _formdiv = new U.UF.UI.form(
  2983. "通知公告",
  2984. $$("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 }), {
  2985. "id": "notice",
  2986. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2987. "onresize": function () { }
  2988. }, {
  2989. closecallback: function () { }
  2990. }, { "style": { "height": "36px" } }).form; //创建窗体
  2991. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2992. break;
  2993. case "stuLibrary":
  2994. _formdiv = new U.UF.UI.form(
  2995. "学习资料",
  2996. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  2997. "id": "stuLibrary",
  2998. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2999. "onresize": function () { }
  3000. }, {
  3001. closecallback: function () { }
  3002. }, { "style": { "height": "36px" } }).form; //创建窗体
  3003. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "学习资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3004. break;
  3005. case "program":
  3006. _formdiv = new U.UF.UI.form(
  3007. "编程平台",
  3008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3009. "id": "program",
  3010. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3011. "onresize": function () { }
  3012. }, {
  3013. closecallback: function () { }
  3014. }, { "style": { "height": "36px" } }).form; //创建窗体
  3015. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3016. break;
  3017. case "whiteboard":
  3018. _formdiv = new U.UF.UI.form(
  3019. "电子白板",
  3020. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3021. "id": "whiteboard",
  3022. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3023. "onresize": function () { }
  3024. }, {
  3025. closecallback: function () { }
  3026. }, { "style": { "height": "36px" } }).form; //创建窗体
  3027. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3028. break;
  3029. case "investigation":
  3030. _formdiv = new U.UF.UI.form(
  3031. "问卷调查",
  3032. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3033. "id": "investigation",
  3034. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { }
  3038. }, { "style": { "height": "36px" } }).form; //创建窗体
  3039. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3040. break;
  3041. case "mind":
  3042. _formdiv = new U.UF.UI.form(
  3043. "思维导图",
  3044. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3045. "id": "mind",
  3046. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3047. "onresize": function () { }
  3048. }, {
  3049. closecallback: function () { }
  3050. }, { "style": { "height": "36px" } }).form; //创建窗体
  3051. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3052. break;
  3053. case "doc":
  3054. // U.MD.D.I.isRoom();
  3055. _formdiv = new U.UF.UI.form(
  3056. "协同文档",
  3057. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3058. "id": "doc",
  3059. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3060. "onresize": function () { }
  3061. }, {
  3062. closecallback: function () { }
  3063. }, { "style": { "height": "36px" } }).form; //创建窗体
  3064. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3065. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3066. })
  3067. _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); } }
  3068. break;
  3069. case "study":
  3070. _formdiv = new U.UF.UI.form(
  3071. "课程中心",
  3072. $$("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
  3073. "id": "study",
  3074. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3075. "onresize": function () { }
  3076. }, {
  3077. closecallback: function () { }
  3078. }, { "style": { "height": "36px" } }).form; //创建窗体
  3079. _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); } }
  3080. break;
  3081. case "mindNetwork": //好友打开
  3082. _formdiv = new U.UF.UI.form(
  3083. "思维网格",
  3084. $$("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 }), {
  3085. "id": "mindNetwork",
  3086. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3087. "onresize": function () { }
  3088. }, {
  3089. closecallback: function () { }
  3090. }, { "style": { "height": "36px" } }).form; //创建窗体
  3091. _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); } }
  3092. break;
  3093. case "train": //好友打开
  3094. _formdiv = new U.UF.UI.form(
  3095. "训练平台",
  3096. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3097. "id": "train",
  3098. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //创建窗体
  3103. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3104. break;
  3105. case "sys":
  3106. _formdiv = new U.UF.UI.form(
  3107. "目标管理",
  3108. $$("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 }), {
  3109. "id": "sys",
  3110. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3111. "onresize": function () { }
  3112. }, {
  3113. closecallback: function () { }
  3114. }, { "style": { "height": "36px" } }).form; //创建窗体
  3115. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3116. break;
  3117. case "courseDesign":
  3118. _formdiv = new U.UF.UI.form(
  3119. "项目设计",
  3120. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3121. "id": "courseDesign",
  3122. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3123. "onresize": function () { }
  3124. }, {
  3125. closecallback: function () { }
  3126. }, { "style": { "height": "36px" } }).form; //创建窗体
  3127. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3128. break;
  3129. }
  3130. } else if (!_type) {
  3131. switch (str) {
  3132. case "my":
  3133. _formdiv = new U.UF.UI.form(
  3134. "我的资料",
  3135. $$("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 }), {
  3136. "id": "my",
  3137. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3138. "onresize": function () { }
  3139. }, {
  3140. closecallback: function () { }
  3141. }, { "style": { "height": "36px" } }).form; //创建窗体
  3142. _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); } }
  3143. break;
  3144. }
  3145. }
  3146. switch (str) {
  3147. // AIprogram2 AI体验 aihub.cocorobo.cn
  3148. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3149. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3150. case "AIprogram2": //AI体验
  3151. _formdiv = new U.UF.UI.form(
  3152. "AI体验",
  3153. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3154. "id": "AIprogram2",
  3155. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3156. "onresize": function () { }
  3157. }, {
  3158. closecallback: function () { }
  3159. }, { "style": { "height": "36px" } }).form; //创建窗体
  3160. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI体验", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3161. break;
  3162. case "Pythonprogram": //python编程
  3163. _formdiv = new U.UF.UI.form(
  3164. "Python编程",
  3165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3166. "id": "Pythonprogram",
  3167. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3168. "onresize": function () { }
  3169. }, {
  3170. closecallback: function () { }
  3171. }, { "style": { "height": "36px" } }).form; //创建窗体
  3172. _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); } }
  3173. break;
  3174. case "AIprogram": //ai编程
  3175. _formdiv = new U.UF.UI.form(
  3176. "AI编程平台",
  3177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3178. "id": "AIprogram",
  3179. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function () { }
  3181. }, {
  3182. closecallback: function () { }
  3183. }, { "style": { "height": "36px" } }).form; //创建窗体
  3184. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3185. break;
  3186. case "CocoPi": //CocoPi
  3187. _formdiv = new U.UF.UI.form(
  3188. "CocoPi",
  3189. $$("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" }), {
  3190. "id": "CocoPi",
  3191. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3192. "onresize": function () { }
  3193. }, {
  3194. closecallback: function () { }
  3195. }, { "style": { "height": "36px" } }).form; //创建窗体
  3196. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3197. break;
  3198. case "Wood": //Wood
  3199. _formdiv = new U.UF.UI.form(
  3200. "海龟编程",
  3201. $$("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/" }), {
  3202. "id": "Wood",
  3203. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3204. "onresize": function () { }
  3205. }, {
  3206. closecallback: function () { }
  3207. }, { "style": { "height": "36px" } }).form; //创建窗体
  3208. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龟编程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3209. break;
  3210. case "car": //模拟驾驶
  3211. _formdiv = new U.UF.UI.form(
  3212. "模拟驾驶",
  3213. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  3214. "id": "car",
  3215. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function () { }
  3217. }, {
  3218. closecallback: function () { }
  3219. }, { "style": { "height": "36px" } }).form; //创建窗体
  3220. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模拟驾驶", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3221. break;
  3222. case "lineSearch": //路径搜索
  3223. _formdiv = new U.UF.UI.form(
  3224. "路径搜索",
  3225. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  3226. "id": "lineSearch",
  3227. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3228. "onresize": function () { }
  3229. }, {
  3230. closecallback: function () { }
  3231. }, { "style": { "height": "36px" } }).form; //创建窗体
  3232. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路径搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3233. break;
  3234. case "deepLearning": //深度学习
  3235. _formdiv = new U.UF.UI.form(
  3236. "深度学习",
  3237. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  3238. "id": "deepLearning",
  3239. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3240. "onresize": function () { }
  3241. }, {
  3242. closecallback: function () { }
  3243. }, { "style": { "height": "36px" } }).form; //创建窗体
  3244. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度学习", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3245. break;
  3246. case "allHistory": //深度学习
  3247. _formdiv = new U.UF.UI.form(
  3248. "全历史",
  3249. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  3250. "id": "allHistory",
  3251. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3252. "onresize": function () { }
  3253. }, {
  3254. closecallback: function () { }
  3255. }, { "style": { "height": "36px" } }).form; //创建窗体
  3256. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全历史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3257. break;
  3258. case "chatPDF": //ai编程
  3259. _formdiv = new U.UF.UI.form(
  3260. "chatPDF",
  3261. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3262. "id": "chatPDF",
  3263. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3264. "onresize": function () { }
  3265. }, {
  3266. closecallback: function () { }
  3267. }, { "style": { "height": "36px" } }).form; //创建窗体
  3268. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3269. break;
  3270. case "resources": //国家教育
  3271. _formdiv = new U.UF.UI.form(
  3272. "国家教育",
  3273. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3274. "id": "resources",
  3275. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3276. "onresize": function () { }
  3277. }, {
  3278. closecallback: function () { }
  3279. }, { "style": { "height": "36px" } }).form; //创建窗体
  3280. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "国家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3281. break;
  3282. case "codeEdit": //源码编辑
  3283. _formdiv = new U.UF.UI.form(
  3284. "源码编辑",
  3285. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3286. "id": "codeEdit",
  3287. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3288. "onresize": function () { }
  3289. }, {
  3290. closecallback: function () { }
  3291. }, { "style": { "height": "36px" } }).form; //创建窗体
  3292. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源码编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3293. break; //
  3294. case "MindMap": //MindMap
  3295. _formdiv = new U.UF.UI.form(
  3296. "MindMap",
  3297. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3298. "id": "MindMap",
  3299. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3300. "onresize": function () { }
  3301. }, {
  3302. closecallback: function () { }
  3303. }, { "style": { "height": "36px" } }).form; //创建窗体
  3304. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3305. break;
  3306. case "netWorkPanel": //netWorkPanel
  3307. _formdiv = new U.UF.UI.form(
  3308. "netWorkPanel",
  3309. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3310. "id": "netWorkPanel",
  3311. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3312. "onresize": function () { }
  3313. }, {
  3314. closecallback: function () { }
  3315. }, { "style": { "height": "36px" } }).form; //创建窗体
  3316. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3317. break;
  3318. case "GeoGebra": //GeoGebra
  3319. _formdiv = new U.UF.UI.form(
  3320. "GeoGebra",
  3321. $$("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" }), {
  3322. "id": "GeoGebra",
  3323. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3324. "onresize": function () { }
  3325. }, {
  3326. closecallback: function () { }
  3327. }, { "style": { "height": "36px" } }).form; //创建窗体
  3328. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3329. break;
  3330. case "translation": //翻译
  3331. _formdiv = new U.UF.UI.form(
  3332. "翻译",
  3333. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3334. "id": "translation",
  3335. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3336. "onresize": function () { }
  3337. }, {
  3338. closecallback: function () { }
  3339. }, { "style": { "height": "36px" } }).form; //创建窗体
  3340. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻译", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3341. break;
  3342. case "mohe": //魔盒
  3343. _formdiv = new U.UF.UI.form(
  3344. "魔盒识字",
  3345. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3346. "id": "mohe",
  3347. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3348. "onresize": function () { }
  3349. }, {
  3350. closecallback: function () { }
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3353. break;
  3354. case "24game": //24点
  3355. _formdiv = new U.UF.UI.form(
  3356. "24点",
  3357. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3358. "id": "24game",
  3359. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24点", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3365. break;
  3366. case "case":
  3367. _formdiv = new U.UF.UI.form(
  3368. "课程进展",
  3369. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3370. "id": "case",
  3371. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3372. "onresize": function () { }
  3373. }, {
  3374. closecallback: function () { }
  3375. }, { "style": { "height": "36px" } }).form; //创建窗体
  3376. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "课程进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3377. break;
  3378. case "snf":
  3379. _formdiv = new U.UF.UI.form(
  3380. "赛诺梵",
  3381. $$("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" }), {
  3382. "id": "snf",
  3383. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3384. "onresize": function () { }
  3385. }, {
  3386. closecallback: function () { }
  3387. }, { "style": { "height": "36px" } }).form; //创建窗体
  3388. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "赛诺梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3389. break;
  3390. case "hanFamily":
  3391. _formdiv = new U.UF.UI.form(
  3392. "汉字家族",
  3393. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3394. "id": "hanFamily",
  3395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3396. "onresize": function () { }
  3397. }, {
  3398. closecallback: function () { }
  3399. }, { "style": { "height": "36px" } }).form; //创建窗体
  3400. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "汉字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3401. break;
  3402. case "hanClassics":
  3403. _formdiv = new U.UF.UI.form(
  3404. "国学经典",
  3405. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3406. "id": "hanClassics",
  3407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3408. "onresize": function () { }
  3409. }, {
  3410. closecallback: function () { }
  3411. }, { "style": { "height": "36px" } }).form; //创建窗体
  3412. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "国学经典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3413. break;
  3414. case "hanTraining":
  3415. _formdiv = new U.UF.UI.form(
  3416. "笔画训练",
  3417. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3418. "id": "hanTraining",
  3419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3420. "onresize": function () { }
  3421. }, {
  3422. closecallback: function () { }
  3423. }, { "style": { "height": "36px" } }).form; //创建窗体
  3424. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "笔画训练", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3425. break;
  3426. case "hanClass":
  3427. _formdiv = new U.UF.UI.form(
  3428. "书法课堂",
  3429. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3430. "id": "hanClass",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //创建窗体
  3436. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "书法课堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3437. break;
  3438. case "han":
  3439. _formdiv = new U.UF.UI.form(
  3440. "汉字宫",
  3441. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3442. "id": "han",
  3443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //创建窗体
  3448. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "汉字宫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3449. break;
  3450. case "projectGM": //课程管理
  3451. _formdiv = new U.UF.UI.form(
  3452. "课程管理",
  3453. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3454. "id": "projectGM",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //创建窗体
  3460. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3461. break;
  3462. case "studyGM"://课程中心
  3463. _formdiv = new U.UF.UI.form(
  3464. "课程中心",
  3465. $$("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
  3466. "id": "study",
  3467. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //创建窗体
  3472. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3473. break;
  3474. // studentGM
  3475. case "studentGM"://学生管理
  3476. _formdiv = new U.UF.UI.form(
  3477. "学生管理",
  3478. $$("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 }), {
  3479. "id": "studentGM",
  3480. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3481. "onresize": function () { }
  3482. }, {
  3483. closecallback: function () { }
  3484. }, { "style": { "height": "36px" } }).form; //创建窗体
  3485. _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); } }
  3486. break;
  3487. case "evaluateGM"://学生评价
  3488. _formdiv = new U.UF.UI.form(
  3489. "学生评价",
  3490. $$("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 }), {
  3491. "id": "evaluateGM",
  3492. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3493. "onresize": function () { }
  3494. }, {
  3495. closecallback: function () { }
  3496. }, { "style": { "height": "36px" } }).form; //创建窗体
  3497. _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); } }
  3498. break;
  3499. // classGM
  3500. case "classGM"://班级管理
  3501. _formdiv = new U.UF.UI.form(
  3502. "班级管理",
  3503. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3504. "id": "classGM",
  3505. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3506. "onresize": function () { }
  3507. }, {
  3508. closecallback: function () { }
  3509. }, { "style": { "height": "36px" } }).form; //创建窗体
  3510. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3511. break;
  3512. // dataGM
  3513. case "dataGM":
  3514. _formdiv = new U.UF.UI.form(
  3515. "我的资料",
  3516. $$("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 }), {
  3517. "id": "dataGM",
  3518. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3519. "onresize": function () { }
  3520. }, {
  3521. closecallback: function () { }
  3522. }, { "style": { "height": "36px" } }).form; //创建窗体
  3523. _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); } }
  3524. break;
  3525. // caseGM
  3526. case "caseGM"://课程进展
  3527. _formdiv = new U.UF.UI.form(
  3528. "课程进展",
  3529. $$("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 }), {
  3530. "id": "caseGM",
  3531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3532. "onresize": function () { }
  3533. }, {
  3534. closecallback: function () { }
  3535. }, { "style": { "height": "36px" } }).form; //创建窗体
  3536. _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); } }
  3537. break;
  3538. // meterialGM
  3539. case "meterialGM"://素材库
  3540. _formdiv = new U.UF.UI.form(
  3541. "素材库",
  3542. $$("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 }), {
  3543. "id": "meterialGM",
  3544. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3545. "onresize": function () { }
  3546. }, {
  3547. closecallback: function () { }
  3548. }, { "style": { "height": "36px" } }).form; //创建窗体
  3549. _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); } }
  3550. break;
  3551. // evaluateSGM
  3552. case "evaluateSGM": //我的评价
  3553. _formdiv = new U.UF.UI.form(
  3554. "我的评价",
  3555. $$("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 }), {
  3556. "id": "evaluateSGM",
  3557. "style": { "width": "70%", "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/gm/evaluate.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3563. break;
  3564. case "jupyter": //jupyter
  3565. _formdiv = new U.UF.UI.form(
  3566. "jupyter",
  3567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  3568. "id": "jupyter",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //创建窗体
  3574. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3575. break;
  3576. case "number": //数字实验室
  3577. _formdiv = new U.UF.UI.form(
  3578. "数字实验室",
  3579. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  3580. "id": "number",
  3581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //创建窗体
  3586. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "数字实验室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3587. break;
  3588. case "studentCourse": //项目管理 学生
  3589. _formdiv = new U.UF.UI.form(
  3590. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3591. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3592. "id": "studentCourse",
  3593. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //创建窗体
  3598. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3599. break;
  3600. case "studentCourseS": //项目管理 老师
  3601. _formdiv = new U.UF.UI.form(
  3602. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  3603. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3604. "id": "studentCourseS",
  3605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //创建窗体
  3610. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3611. break;
  3612. case "studentIndex": //项目中心
  3613. _formdiv = new U.UF.UI.form(
  3614. "项目中心",
  3615. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  3616. "id": "studentIndex",
  3617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //创建窗体
  3622. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "项目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3623. break;
  3624. case "CaseDesignS":
  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/#/CaseDesignS?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/CaseDesignS.png)" }, "name": "项目进展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3635. break;
  3636. case "tcStudent": //腾讯学生管理
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3640. "id": "tcStudent",
  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/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3647. break;
  3648. case "tcSchool": //腾讯学校管理
  3649. _formdiv = new U.UF.UI.form(
  3650. "学校管理",
  3651. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3652. "id": "tcSchool",
  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/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3659. break;
  3660. case "tcTeacher": //腾讯学校管理
  3661. _formdiv = new U.UF.UI.form(
  3662. "教师管理",
  3663. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3664. "id": "tcTeacher",
  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/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3671. break;
  3672. case "tcData": //腾讯我的资料
  3673. _formdiv = new U.UF.UI.form(
  3674. "我的资料",
  3675. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3676. "id": "tcData",
  3677. "style": { "width": "42%", "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/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3683. break;
  3684. case "tcNotice": //腾讯消息通知
  3685. _formdiv = new U.UF.UI.form(
  3686. "消息通知",
  3687. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3688. "id": "tcNotice",
  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/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3695. break;
  3696. case "myReport": //好友打开
  3697. _formdiv = new U.UF.UI.form(
  3698. "我的评价",
  3699. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  3700. "id": "myReport",
  3701. "style": { "width": "100%", "height": "100%", "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/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3707. break;
  3708. case "learnAna": //好友打开
  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/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3712. "id": "learnAna",
  3713. "style": { "width": "100%", "height": "100%", "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/learnAna.png)" }, "name": "学习分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3719. break;
  3720. case "AIChat": //AI共创
  3721. _formdiv = new U.UF.UI.form(
  3722. "AI共创",
  3723. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  3724. "id": "AIChat",
  3725. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. istop: true,
  3729. closecallback: function () { $("#aichat_icon").remove(); },
  3730. narrowcallback: function () {
  3731. if (!$("#aichat_icon")[0]) {
  3732. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  3733. }
  3734. },
  3735. }, { "style": { "height": "36px" } }).form; //创建窗体
  3736. _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); } }
  3737. break;
  3738. case "ainew": //AI共创
  3739. _formdiv = new U.UF.UI.form(
  3740. "AI协同",
  3741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  3742. "id": "ainew",
  3743. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //创建窗体
  3748. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI协同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3749. break;
  3750. case "AIAnalyse": //AI共创
  3751. _formdiv = new U.UF.UI.form(
  3752. "AI分析",
  3753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  3754. "id": "AIAnalyse",
  3755. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3756. "onresize": function () { }
  3757. }, {
  3758. closecallback: function () { }
  3759. }, { "style": { "height": "36px" } }).form; //创建窗体
  3760. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3761. break;
  3762. case "studioCourse": //AI共创
  3763. _formdiv = new U.UF.UI.form(
  3764. "工作管理",
  3765. $$("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 }), {
  3766. "id": "studioCourse",
  3767. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3768. "onresize": function () { }
  3769. }, {
  3770. closecallback: function () { }
  3771. }, { "style": { "height": "36px" } }).form; //创建窗体
  3772. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3773. break;
  3774. case "studioIndex": //AI共创
  3775. _formdiv = new U.UF.UI.form(
  3776. "工作中心",
  3777. $$("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 }), {
  3778. "id": "studioIndex",
  3779. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //创建窗体
  3784. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3785. break;
  3786. case "source":
  3787. _formdiv = new U.UF.UI.form(
  3788. "教学资源",
  3789. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3790. "id": "source",
  3791. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //创建窗体
  3796. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3797. break;
  3798. }
  3799. //U.MD.D.I.openClick(str);
  3800. //如果有任务栏信息
  3801. if (_taskbar) {
  3802. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  3803. }
  3804. }
  3805. // U.MD.D.I.openClick = function(str){
  3806. // var click = '';
  3807. // switch(str){
  3808. // case 'friend':
  3809. // click = '我的好友';
  3810. // break;
  3811. // case 'domain':
  3812. // click = '域名管理';
  3813. // break;
  3814. // case 'disk':
  3815. // click = '我的云盘';
  3816. // break;
  3817. // case 'word':
  3818. // click = 'Word';
  3819. // break;
  3820. // case 'excel':
  3821. // click = 'Execl';
  3822. // break;
  3823. // case 'txt':
  3824. // click = '文本文件';
  3825. // break;
  3826. // case 'lookupFriend':
  3827. // click = '查找好友';
  3828. // break;
  3829. // case 'ftp':
  3830. // click = 'FTP';
  3831. // break;
  3832. // case 'group':
  3833. // click = '群组';
  3834. // break;
  3835. // case 'set':
  3836. // click = '我的设置';
  3837. // break;
  3838. // case 'systemSet':
  3839. // click = '系统设置';
  3840. // break;
  3841. // case 'boomYun':
  3842. // click = '互联办公';
  3843. // break;
  3844. // case 'xz':
  3845. // click = '云端下载';
  3846. // break;
  3847. // case 'client':
  3848. // click = '有思浏览器';
  3849. // break;
  3850. // case 'backEndProgramming':
  3851. // click = '在线后台编程';
  3852. // break;
  3853. // case 'frontEndProgramming':
  3854. // click = '在线前端编程';
  3855. // break;
  3856. // default: break;
  3857. // }
  3858. // if(U.MD.D.I.Ip && click){
  3859. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  3860. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  3861. // })
  3862. // }
  3863. // }
  3864. /**
  3865. *函数作用:ajax简易函数,使用post格式
  3866. *@param url {data} 后台地址
  3867. *@param data {data} 参数json
  3868. *@param fn {data} 回调函数
  3869. *
  3870. */
  3871. // U.MD.D.I.Mysqlrequest = function(url,fn){
  3872. // var xhr = new XMLHttpRequest();
  3873. // xhr.open("GET",url,true);
  3874. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  3875. // xhr.onreadystatechange = function(){
  3876. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  3877. // fn.call(this,xhr.responseText);
  3878. // }
  3879. // };
  3880. // xhr.send();
  3881. // }
  3882. /*判断是否是内网IP*/
  3883. // U.MD.D.I.isInnerIPFn = function(str){
  3884. // var curPageUrl = str;
  3885. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  3886. // curPageUrl =curPageUrl.replace(reg1,'');
  3887. // // console.log('curPageUrl-1 '+curPageUrl);
  3888. // var reg2 = /\:+/g;//替换冒号为一点
  3889. // curPageUrl =curPageUrl.replace(reg2,'.');
  3890. // // console.log('curPageUrl-2 '+curPageUrl);
  3891. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  3892. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  3893. // if(curPageUrl[2] != '16'){
  3894. // return ipAddress;
  3895. // }else{
  3896. // return false;
  3897. // }
  3898. // }
  3899. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  3900. // //compatibility for firefox and chrome
  3901. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  3902. // var pc = new myPeerConnection({
  3903. // iceServers: []
  3904. // }),
  3905. // noop = function() {},
  3906. // localIPs = {},
  3907. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  3908. // key;
  3909. // function iterateIP(ip) {
  3910. // if (!localIPs[ip]) onNewIP(ip);
  3911. // localIPs[ip] = true;
  3912. // }
  3913. // //create a bogus data channel
  3914. // pc.createDataChannel("");
  3915. // // create offer and set local description
  3916. // pc.createOffer().then(function(sdp) {
  3917. // sdp.sdp.split('\n').forEach(function(line) {
  3918. // if (line.indexOf('candidate') < 0) return;
  3919. // line.match(ipRegex).forEach(iterateIP);
  3920. // });
  3921. // pc.setLocalDescription(sdp, noop, noop);
  3922. // }).catch(function(reason) {
  3923. // // An error occurred, so handle the failure to connect
  3924. // });
  3925. // //sten for candidate events
  3926. // pc.onicecandidate = function(ice) {
  3927. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  3928. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  3929. // };
  3930. // }
  3931. // U.MD.D.I.getUserIpBool = function(callback){
  3932. // U.MD.D.I.getUserIP(function(ip){
  3933. // alert("Got IP! :" + ip);
  3934. // });
  3935. //}
  3936. //#endregion
  3937. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  3938. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  3939. _formdiv, //创建任务栏时同时弹出的窗体元素。
  3940. _userinfo = US.userInfo, //登录用户信息
  3941. _userid = US.userInfo.userid //登录用户id
  3942. let _iframe;
  3943. let _cid = cid,
  3944. _stage = stage,
  3945. _task = task,
  3946. _tool = tool;
  3947. var _jie = $$("div", {
  3948. "style": {
  3949. "position": "absolute",
  3950. "bottom": "50px",
  3951. "right": "50px",
  3952. "zIndex": "9999",
  3953. "backgroundColor": "#2268bc",
  3954. "color": "#fff",
  3955. "padding": "12px 20px",
  3956. "cursor": "pointer",
  3957. "borderRadius": "4px",
  3958. },
  3959. "innerHTML": "提交作业"
  3960. })
  3961. let aTool = ''
  3962. let _loading = document.createElement('div')
  3963. _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;"
  3964. // _loading.id = "";
  3965. let _lchild = document.createElement('div')
  3966. let _limg = document.createElement('img')
  3967. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  3968. _limg.style = "width: 26px;margin-right: 10px;"
  3969. _lchild.appendChild(_limg)
  3970. let _lspan = document.createElement('span')
  3971. _lspan.innerHTML = "上传中..."
  3972. _lchild.appendChild(_lspan)
  3973. _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%);"
  3974. _loading.appendChild(_lchild)
  3975. var _box = $$('div', {
  3976. "style": {
  3977. "position": "relative",
  3978. "width": "100%",
  3979. "height": "100%",
  3980. },
  3981. })
  3982. _box.appendChild(_loading)
  3983. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool+_userid
  3984. switch (str) {
  3985. case "whiteboard":
  3986. aTool = 1;
  3987. _iframe = $$("iframe", {
  3988. "frameborder": "no",
  3989. "border": "0",
  3990. "scrolling ": "no",
  3991. "style": {
  3992. "cssText": "border:0;width:100%;height:100%"
  3993. },
  3994. "src": "https://iwb.cocorobo.cn/"
  3995. })
  3996. _box.appendChild(_iframe);
  3997. _box.appendChild(_jie);
  3998. _formdiv = new U.UF.UI.form(
  3999. "电子白板",
  4000. _box, {
  4001. "id": "whiteboard" + cid + stage + task + tool,
  4002. "style": {
  4003. "width": "90%",
  4004. "height": "90%",
  4005. "overflow": 'hidden'
  4006. },
  4007. "onresize": function () { }
  4008. }, {
  4009. closecallback: function () { }
  4010. }, {
  4011. "style": {
  4012. "height": "36px"
  4013. }
  4014. }).form; //创建窗体
  4015. _taskbar = {
  4016. "id": str + _formdiv.id,
  4017. "style": {
  4018. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4019. },
  4020. "name": "电子白板",
  4021. "forms": _formdiv,
  4022. "click": function () {
  4023. U.MD.D.I.openApplication(str, obj, info);
  4024. }
  4025. }
  4026. break;
  4027. case "mind":
  4028. aTool = 3;
  4029. _iframe = $$("iframe", {
  4030. "frameborder": "no",
  4031. "border": "0",
  4032. "scrolling ": "no",
  4033. "style": {
  4034. "cssText": "border:0;width:100%;height:100%"
  4035. },
  4036. "src": "/kityminder-editor/dist/index.html"
  4037. })
  4038. _box.appendChild(_iframe);
  4039. _box.appendChild(_jie);
  4040. _formdiv = new U.UF.UI.form(
  4041. "思维导图",
  4042. _box, { //"/jsmind/example/demo.html"
  4043. "id": "mind" + cid + stage + task + tool,
  4044. "style": {
  4045. "width": "90%",
  4046. "height": "90%",
  4047. "overflow": 'hidden'
  4048. },
  4049. "onresize": function () { }
  4050. }, {
  4051. closecallback: function () { }
  4052. }, {
  4053. "style": {
  4054. "height": "36px"
  4055. }
  4056. }).form; //创建窗体
  4057. _taskbar = {
  4058. "id": str + _formdiv.id,
  4059. "style": {
  4060. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4061. },
  4062. "name": "思维导图",
  4063. "forms": _formdiv,
  4064. "click": function () {
  4065. U.MD.D.I.openApplication(str, obj, info);
  4066. }
  4067. }
  4068. break;
  4069. case "MindMap":
  4070. aTool = 3;
  4071. _iframe = $$("iframe", {
  4072. "frameborder": "no",
  4073. "border": "0",
  4074. "scrolling ": "no",
  4075. "style": {
  4076. "cssText": "border:0;width:100%;height:100%"
  4077. },
  4078. "src": "//cloud.cocorobo.cn/mind/"
  4079. })
  4080. _box.appendChild(_iframe);
  4081. _box.appendChild(_jie);
  4082. _formdiv = new U.UF.UI.form(
  4083. "思维导图",
  4084. _box, { //"/jsmind/example/demo.html"
  4085. "id": "mind" + cid + stage + task + tool,
  4086. "style": {
  4087. "width": "90%",
  4088. "height": "90%",
  4089. "overflow": 'hidden'
  4090. },
  4091. "onresize": function () { }
  4092. }, {
  4093. closecallback: function () { }
  4094. }, {
  4095. "style": {
  4096. "height": "36px"
  4097. }
  4098. }).form; //创建窗体
  4099. _taskbar = {
  4100. "id": str + _formdiv.id,
  4101. "style": {
  4102. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4103. },
  4104. "name": "思维导图",
  4105. "forms": _formdiv,
  4106. "click": function () {
  4107. U.MD.D.I.openApplication(str, obj, info);
  4108. }
  4109. }
  4110. break;
  4111. case "doc":
  4112. aTool = 6;
  4113. _iframe = $$("iframe", {
  4114. "frameborder": "no",
  4115. "border": "0",
  4116. "scrolling ": "no",
  4117. "style": {
  4118. "cssText": "border:0;width:100%;height:100%"
  4119. },
  4120. "src": "/Office/Word/WordEditArea.htm"
  4121. })
  4122. _box.appendChild(_iframe);
  4123. _box.appendChild(_jie);
  4124. _formdiv = new U.UF.UI.form(
  4125. "协同文档",
  4126. _box, {
  4127. "id": "doc" + cid + stage + task + tool,
  4128. "style": {
  4129. "width": "90%",
  4130. "height": "90%",
  4131. "overflow": 'hidden'
  4132. },
  4133. "onresize": function () { }
  4134. }, {
  4135. closecallback: function () { }
  4136. }, {
  4137. "style": {
  4138. "height": "36px"
  4139. }
  4140. }).form; //创建窗体
  4141. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4142. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4143. })
  4144. _taskbar = {
  4145. "id": str + _formdiv.id,
  4146. "style": {
  4147. "backgroundImage": "url(/img/icon/doc.png)"
  4148. },
  4149. "name": "协同文档",
  4150. "forms": _formdiv,
  4151. "click": function () {
  4152. U.MD.D.I.openApplication(str, obj, info);
  4153. }
  4154. }
  4155. break;
  4156. case "mindNetwork": //好友打开
  4157. aTool = 7;
  4158. _iframe = $$("iframe", {
  4159. "webkitallowfullscreen": "",
  4160. "mozallowfullscreen": "",
  4161. "allowfullscreen": "",
  4162. "frameborder": "no",
  4163. "border": "0",
  4164. "scrolling ": "no",
  4165. "style": {
  4166. "cssText": "border:0; width:100%; height:100%;"
  4167. },
  4168. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4169. })
  4170. _box.appendChild(_iframe);
  4171. _box.appendChild(_jie);
  4172. _formdiv = new U.UF.UI.form(
  4173. "思维网格",
  4174. _box, {
  4175. "id": "mindNetwork" + cid + stage + task + tool,
  4176. "style": {
  4177. "width": "90%",
  4178. "height": "90%",
  4179. "overflow": 'hidden'
  4180. },
  4181. "onresize": function () { }
  4182. }, {
  4183. closecallback: function () { }
  4184. }, {
  4185. "style": {
  4186. "height": "36px"
  4187. }
  4188. }).form; //创建窗体
  4189. _taskbar = {
  4190. "id": str + _formdiv.id,
  4191. "style": {
  4192. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4193. },
  4194. "name": "思维网格",
  4195. "forms": _formdiv,
  4196. "click": function () {
  4197. U.MD.D.I.openApplication(str, obj, info);
  4198. }
  4199. }
  4200. break;
  4201. case "courseDesign":
  4202. _iframe = $$("iframe", {
  4203. "webkitallowfullscreen": "",
  4204. "mozallowfullscreen": "",
  4205. "allowfullscreen": "",
  4206. "frameborder": "no",
  4207. "border": "0",
  4208. "scrolling ": "no",
  4209. "style": {
  4210. "cssText": "border:0; width:100%; height:100%;"
  4211. },
  4212. "src": "/course-design-vue"
  4213. })
  4214. _box.appendChild(_iframe);
  4215. _box.appendChild(_jie);
  4216. _formdiv = new U.UF.UI.form(
  4217. "项目设计",
  4218. _box, {
  4219. "id": "courseDesign" + cid + stage + task + tool,
  4220. "style": {
  4221. "width": "90%",
  4222. "height": "90%",
  4223. "overflow": 'hidden'
  4224. },
  4225. "onresize": function () { }
  4226. }, {
  4227. closecallback: function () { }
  4228. }, {
  4229. "style": {
  4230. "height": "36px"
  4231. }
  4232. }).form; //创建窗体
  4233. _taskbar = {
  4234. "id": str + _formdiv.id,
  4235. "style": {
  4236. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4237. },
  4238. "name": "项目设计",
  4239. "forms": _formdiv,
  4240. "click": function () {
  4241. U.MD.D.I.openApplication(str, obj, info);
  4242. }
  4243. }
  4244. break;
  4245. }
  4246. const script1 = document.createElement("script");
  4247. script1.type = "text/javascript";
  4248. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4249. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4250. const script2 = document.createElement("script");
  4251. script2.type = "text/javascript";
  4252. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4253. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4254. const script3 = document.createElement("script");
  4255. script3.type = "text/javascript";
  4256. script3.charset = "UTF-8";
  4257. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4258. const script4 = document.createElement("script");
  4259. script4.type = "text/javascript";
  4260. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4261. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4262. if (_iframe) {
  4263. if (str == 'doc') {
  4264. _iframe = _formdiv.querySelector('iframe')
  4265. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4266. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4267. _iframe.contentWindow.document.body.appendChild(script1);
  4268. _iframe.contentWindow.document.body.appendChild(script2);
  4269. // _iframe.contentWindow.document.body.appendChild(script3);
  4270. _iframe.contentWindow.document.body.appendChild(script4);
  4271. })
  4272. if (onloadListener) {
  4273. _iframe.contentDocument.location.reload()
  4274. } else {
  4275. _iframe.contentDocument.location.reload()
  4276. }
  4277. } else if (str == 'courseDesign') {
  4278. U.UF.DL.iframeLoad(_iframe, function () {
  4279. // _iframe.contentWindow.U.MD.O.W.load();
  4280. // _iframe.contentWindow.document.body.appendChild(script1);
  4281. _iframe.contentWindow.document.body.appendChild(script2);
  4282. _iframe.contentWindow.document.body.appendChild(script4);
  4283. })
  4284. } else if (str == 'mind') {
  4285. _iframe = _formdiv.querySelector('iframe')
  4286. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4287. //
  4288. _iframe.contentWindow.document.body.appendChild(script1);
  4289. _iframe.contentWindow.document.body.appendChild(script2);
  4290. _iframe.contentWindow.document.body.appendChild(script4);
  4291. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4292. })
  4293. if (onloadListener) {
  4294. _iframe.contentDocument.location.reload()
  4295. } else {
  4296. _iframe.contentDocument.location.reload()
  4297. }
  4298. } else if (str == 'whiteboard') {
  4299. _iframe = _formdiv.querySelector('iframe')
  4300. let onloadListener = _iframe.onload = () => {
  4301. _iframe.contentWindow.document.body.appendChild(script1);
  4302. _iframe.contentWindow.document.body.appendChild(script2);
  4303. _iframe.contentWindow.document.body.appendChild(script4);
  4304. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4305. };
  4306. if (onloadListener) {
  4307. _iframe.contentDocument.location.reload()
  4308. } else {
  4309. _iframe.contentDocument.location.reload()
  4310. }
  4311. } else {
  4312. _iframe.onload = () => {
  4313. _iframe.contentWindow.document.body.appendChild(script1);
  4314. _iframe.contentWindow.document.body.appendChild(script2);
  4315. // _iframe.contentWindow.document.body.appendChild(script3);
  4316. _iframe.contentWindow.document.body.appendChild(script4);
  4317. };
  4318. }
  4319. _jie.onclick = async () => {
  4320. let text = ''
  4321. if (aTool == 1) {
  4322. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4323. } else if (aTool == 6) {
  4324. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4325. } else if (aTool == 3) {
  4326. text = await U.MD.D.I.getEditorContent(_iframe);
  4327. }
  4328. _loading.style.display = 'flex'
  4329. console.log(_loading);
  4330. var _ajs = _iframe.contentWindow.document.createElement("script");
  4331. _ajs.type = "text/javascript";
  4332. _ajs.innerHTML =
  4333. // 'console.log(' + _loading + ');\n' +
  4334. 'var _js = document.createElement("script");\n' +
  4335. '_js.type="text/javascript";\n' +
  4336. '_js.charset="UTF-8";\n' +
  4337. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4338. "_js.onload = function(){\n" +
  4339. ' var a = document.getElementsByTagName("img")\n' +
  4340. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4341. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4342. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4343. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4344. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4345. "beforeUpload_shishi(file," +
  4346. "'" +
  4347. _userid +
  4348. "'" +
  4349. ", " +
  4350. "'" +
  4351. _cid +
  4352. "'" +
  4353. ", " +
  4354. "'" +
  4355. _stage +
  4356. "'" +
  4357. ", " +
  4358. "'" +
  4359. _task +
  4360. "'" +
  4361. ", " +
  4362. "'" +
  4363. _tool +
  4364. "'" +
  4365. ", " +
  4366. "'" +
  4367. (str + '_loadLi_Jie' + cid + stage + task + tool+_userid) +
  4368. "'" +
  4369. ", " +
  4370. "'" +
  4371. aTool +
  4372. "'" +
  4373. ", " +
  4374. "`" +
  4375. text +
  4376. "`" +
  4377. ")\n" +
  4378. " });\n" +
  4379. "}\n" +
  4380. "document.head.appendChild(_js);\n";
  4381. _iframe.contentWindow.document.head.appendChild(_ajs);
  4382. }
  4383. }
  4384. //U.MD.D.I.openClick(str);
  4385. //如果有任务栏信息
  4386. // if (_taskbar) {
  4387. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4388. // }
  4389. }
  4390. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4391. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4392. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4393. _userinfo = US.userInfo, //登录用户信息
  4394. _userid = US.userInfo.userid //登录用户id
  4395. let _iframe;
  4396. let _cid = cid,
  4397. _stage = stage,
  4398. _task = task,
  4399. _tool = tool;
  4400. var _jie = $$("div", {
  4401. "style": {
  4402. "position": "absolute",
  4403. "bottom": "50px",
  4404. "right": "50px",
  4405. "zIndex": "9999",
  4406. "backgroundColor": "#2268bc",
  4407. "color": "#fff",
  4408. "padding": "12px 20px",
  4409. "cursor": "pointer",
  4410. "borderRadius": "4px",
  4411. },
  4412. "innerHTML": "提交作业"
  4413. })
  4414. let aTool = ''
  4415. let _loading = document.createElement('div')
  4416. _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;"
  4417. // _loading.id = "";
  4418. let _lchild = document.createElement('div')
  4419. let _limg = document.createElement('img')
  4420. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4421. _limg.style = "width: 26px;margin-right: 10px;"
  4422. _lchild.appendChild(_limg)
  4423. let _lspan = document.createElement('span')
  4424. _lspan.innerHTML = "上传中..."
  4425. _lchild.appendChild(_lspan)
  4426. _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%);"
  4427. _loading.appendChild(_lchild)
  4428. var _box = $$('div', {
  4429. "style": {
  4430. "position": "relative",
  4431. "width": "100%",
  4432. "height": "100%",
  4433. },
  4434. })
  4435. _box.appendChild(_loading)
  4436. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool+_userid
  4437. switch (str) {
  4438. case "whiteboard":
  4439. aTool = 1;
  4440. _iframe = $$("iframe", {
  4441. "frameborder": "no",
  4442. "border": "0",
  4443. "scrolling ": "no",
  4444. "style": {
  4445. "cssText": "border:0;width:100%;height:100%"
  4446. },
  4447. "src": "https://iwb.cocorobo.cn/"
  4448. })
  4449. _box.appendChild(_iframe);
  4450. _box.appendChild(_jie);
  4451. _formdiv = new U.UF.UI.form(
  4452. "电子白板",
  4453. _box, {
  4454. "id": "whiteboard" + cid + stage + task + tool,
  4455. "style": {
  4456. "width": "90%",
  4457. "height": "90%",
  4458. "overflow": 'hidden'
  4459. },
  4460. "onresize": function () { }
  4461. }, {
  4462. closecallback: function () { }
  4463. }, {
  4464. "style": {
  4465. "height": "36px"
  4466. }
  4467. }).form; //创建窗体
  4468. _taskbar = {
  4469. "id": str + _formdiv.id,
  4470. "style": {
  4471. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4472. },
  4473. "name": "电子白板",
  4474. "forms": _formdiv,
  4475. "click": function () {
  4476. U.MD.D.I.openApplication(str, obj, info);
  4477. }
  4478. }
  4479. break;
  4480. case "mind":
  4481. aTool = 3;
  4482. _iframe = $$("iframe", {
  4483. "frameborder": "no",
  4484. "border": "0",
  4485. "scrolling ": "no",
  4486. "style": {
  4487. "cssText": "border:0;width:100%;height:100%"
  4488. },
  4489. "src": "/kityminder-editor/dist/index.html"
  4490. })
  4491. _box.appendChild(_iframe);
  4492. _box.appendChild(_jie);
  4493. _formdiv = new U.UF.UI.form(
  4494. "思维导图",
  4495. _box, { //"/jsmind/example/demo.html"
  4496. "id": "mind" + cid + stage + task + tool,
  4497. "style": {
  4498. "width": "90%",
  4499. "height": "90%",
  4500. "overflow": 'hidden'
  4501. },
  4502. "onresize": function () { }
  4503. }, {
  4504. closecallback: function () { }
  4505. }, {
  4506. "style": {
  4507. "height": "36px"
  4508. }
  4509. }).form; //创建窗体
  4510. _taskbar = {
  4511. "id": str + _formdiv.id,
  4512. "style": {
  4513. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4514. },
  4515. "name": "思维导图",
  4516. "forms": _formdiv,
  4517. "click": function () {
  4518. U.MD.D.I.openApplication(str, obj, info);
  4519. }
  4520. }
  4521. break;
  4522. case "MindMap":
  4523. aTool = 3;
  4524. _iframe = $$("iframe", {
  4525. "frameborder": "no",
  4526. "border": "0",
  4527. "scrolling ": "no",
  4528. "style": {
  4529. "cssText": "border:0;width:100%;height:100%"
  4530. },
  4531. "src": "//cloud.cocorobo.cn/mind/"
  4532. })
  4533. _box.appendChild(_iframe);
  4534. _box.appendChild(_jie);
  4535. _formdiv = new U.UF.UI.form(
  4536. "思维导图",
  4537. _box, { //"/jsmind/example/demo.html"
  4538. "id": "mind" + cid + stage + task + tool,
  4539. "style": {
  4540. "width": "90%",
  4541. "height": "90%",
  4542. "overflow": 'hidden'
  4543. },
  4544. "onresize": function () { }
  4545. }, {
  4546. closecallback: function () { }
  4547. }, {
  4548. "style": {
  4549. "height": "36px"
  4550. }
  4551. }).form; //创建窗体
  4552. _taskbar = {
  4553. "id": str + _formdiv.id,
  4554. "style": {
  4555. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4556. },
  4557. "name": "思维导图",
  4558. "forms": _formdiv,
  4559. "click": function () {
  4560. U.MD.D.I.openApplication(str, obj, info);
  4561. }
  4562. }
  4563. break;
  4564. case "doc":
  4565. aTool = 6;
  4566. _iframe = $$("iframe", {
  4567. "frameborder": "no",
  4568. "border": "0",
  4569. "scrolling ": "no",
  4570. "style": {
  4571. "cssText": "border:0;width:100%;height:100%"
  4572. },
  4573. "src": "/Office/Word/WordEditArea.htm"
  4574. })
  4575. _box.appendChild(_iframe);
  4576. _box.appendChild(_jie);
  4577. _formdiv = new U.UF.UI.form(
  4578. "协同文档",
  4579. _box, {
  4580. "id": "doc" + cid + stage + task + tool,
  4581. "style": {
  4582. "width": "90%",
  4583. "height": "90%",
  4584. "overflow": 'hidden'
  4585. },
  4586. "onresize": function () { }
  4587. }, {
  4588. closecallback: function () { }
  4589. }, {
  4590. "style": {
  4591. "height": "36px"
  4592. }
  4593. }).form; //创建窗体
  4594. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4595. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4596. })
  4597. _taskbar = {
  4598. "id": str + _formdiv.id,
  4599. "style": {
  4600. "backgroundImage": "url(/img/icon/doc.png)"
  4601. },
  4602. "name": "协同文档",
  4603. "forms": _formdiv,
  4604. "click": function () {
  4605. U.MD.D.I.openApplication(str, obj, info);
  4606. }
  4607. }
  4608. break;
  4609. case "mindNetwork": //好友打开
  4610. aTool = 7;
  4611. _iframe = $$("iframe", {
  4612. "webkitallowfullscreen": "",
  4613. "mozallowfullscreen": "",
  4614. "allowfullscreen": "",
  4615. "frameborder": "no",
  4616. "border": "0",
  4617. "scrolling ": "no",
  4618. "style": {
  4619. "cssText": "border:0; width:100%; height:100%;"
  4620. },
  4621. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4622. })
  4623. _box.appendChild(_iframe);
  4624. _box.appendChild(_jie);
  4625. _formdiv = new U.UF.UI.form(
  4626. "思维网格",
  4627. _box, {
  4628. "id": "mindNetwork" + cid + stage + task + tool,
  4629. "style": {
  4630. "width": "90%",
  4631. "height": "90%",
  4632. "overflow": 'hidden'
  4633. },
  4634. "onresize": function () { }
  4635. }, {
  4636. closecallback: function () { }
  4637. }, {
  4638. "style": {
  4639. "height": "36px"
  4640. }
  4641. }).form; //创建窗体
  4642. _taskbar = {
  4643. "id": str + _formdiv.id,
  4644. "style": {
  4645. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4646. },
  4647. "name": "思维网格",
  4648. "forms": _formdiv,
  4649. "click": function () {
  4650. U.MD.D.I.openApplication(str, obj, info);
  4651. }
  4652. }
  4653. break;
  4654. case "courseDesign":
  4655. _iframe = $$("iframe", {
  4656. "webkitallowfullscreen": "",
  4657. "mozallowfullscreen": "",
  4658. "allowfullscreen": "",
  4659. "frameborder": "no",
  4660. "border": "0",
  4661. "scrolling ": "no",
  4662. "style": {
  4663. "cssText": "border:0; width:100%; height:100%;"
  4664. },
  4665. "src": "/course-design-vue"
  4666. })
  4667. _box.appendChild(_iframe);
  4668. _box.appendChild(_jie);
  4669. _formdiv = new U.UF.UI.form(
  4670. "项目设计",
  4671. _box, {
  4672. "id": "courseDesign" + cid + stage + task + tool,
  4673. "style": {
  4674. "width": "90%",
  4675. "height": "90%",
  4676. "overflow": 'hidden'
  4677. },
  4678. "onresize": function () { }
  4679. }, {
  4680. closecallback: function () { }
  4681. }, {
  4682. "style": {
  4683. "height": "36px"
  4684. }
  4685. }).form; //创建窗体
  4686. _taskbar = {
  4687. "id": str + _formdiv.id,
  4688. "style": {
  4689. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4690. },
  4691. "name": "项目设计",
  4692. "forms": _formdiv,
  4693. "click": function () {
  4694. U.MD.D.I.openApplication(str, obj, info);
  4695. }
  4696. }
  4697. break;
  4698. }
  4699. const script1 = document.createElement("script");
  4700. script1.type = "text/javascript";
  4701. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4702. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4703. const script2 = document.createElement("script");
  4704. script2.type = "text/javascript";
  4705. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4706. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4707. const script3 = document.createElement("script");
  4708. script3.type = "text/javascript";
  4709. script3.charset = "UTF-8";
  4710. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4711. const script4 = document.createElement("script");
  4712. script4.type = "text/javascript";
  4713. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4714. script4.src = window.origin + "/js/Common/jietu2E.js";
  4715. if (_iframe) {
  4716. if (str == 'doc') {
  4717. _iframe = _formdiv.querySelector('iframe')
  4718. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4719. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4720. _iframe.contentWindow.document.body.appendChild(script1);
  4721. _iframe.contentWindow.document.body.appendChild(script2);
  4722. // _iframe.contentWindow.document.body.appendChild(script3);
  4723. _iframe.contentWindow.document.body.appendChild(script4);
  4724. })
  4725. if (onloadListener) {
  4726. _iframe.contentDocument.location.reload()
  4727. } else {
  4728. _iframe.contentDocument.location.reload()
  4729. }
  4730. } else if (str == 'courseDesign') {
  4731. U.UF.DL.iframeLoad(_iframe, function () {
  4732. // _iframe.contentWindow.U.MD.O.W.load();
  4733. // _iframe.contentWindow.document.body.appendChild(script1);
  4734. _iframe.contentWindow.document.body.appendChild(script2);
  4735. _iframe.contentWindow.document.body.appendChild(script4);
  4736. })
  4737. } else if (str == 'mind') {
  4738. _iframe = _formdiv.querySelector('iframe')
  4739. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4740. //
  4741. _iframe.contentWindow.document.body.appendChild(script1);
  4742. _iframe.contentWindow.document.body.appendChild(script2);
  4743. _iframe.contentWindow.document.body.appendChild(script4);
  4744. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4745. })
  4746. if (onloadListener) {
  4747. _iframe.contentDocument.location.reload()
  4748. } else {
  4749. _iframe.contentDocument.location.reload()
  4750. }
  4751. } else if (str == 'whiteboard') {
  4752. _iframe = _formdiv.querySelector('iframe')
  4753. let onloadListener = _iframe.onload = () => {
  4754. _iframe.contentWindow.document.body.appendChild(script1);
  4755. _iframe.contentWindow.document.body.appendChild(script2);
  4756. _iframe.contentWindow.document.body.appendChild(script4);
  4757. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4758. };
  4759. if (onloadListener) {
  4760. _iframe.contentDocument.location.reload()
  4761. } else {
  4762. _iframe.contentDocument.location.reload()
  4763. }
  4764. } else {
  4765. _iframe.onload = () => {
  4766. _iframe.contentWindow.document.body.appendChild(script1);
  4767. _iframe.contentWindow.document.body.appendChild(script2);
  4768. // _iframe.contentWindow.document.body.appendChild(script3);
  4769. _iframe.contentWindow.document.body.appendChild(script4);
  4770. };
  4771. }
  4772. _jie.onclick = async () => {
  4773. let text = ''
  4774. if (aTool == 1) {
  4775. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4776. } else if (aTool == 6) {
  4777. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4778. } else if (aTool == 3) {
  4779. text = await U.MD.D.I.getEditorContent(_iframe);
  4780. }
  4781. _loading.style.display = 'flex'
  4782. console.log(_loading);
  4783. var _ajs = _iframe.contentWindow.document.createElement("script");
  4784. _ajs.type = "text/javascript";
  4785. _ajs.innerHTML =
  4786. // 'console.log(' + _loading + ');\n' +
  4787. 'var _js = document.createElement("script");\n' +
  4788. '_js.type="text/javascript";\n' +
  4789. '_js.charset="UTF-8";\n' +
  4790. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4791. "_js.onload = function(){\n" +
  4792. ' var a = document.getElementsByTagName("img")\n' +
  4793. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4794. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4795. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4796. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4797. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4798. "beforeUpload_shishi(file," +
  4799. "'" +
  4800. _userid +
  4801. "'" +
  4802. ", " +
  4803. "'" +
  4804. _cid +
  4805. "'" +
  4806. ", " +
  4807. "'" +
  4808. _stage +
  4809. "'" +
  4810. ", " +
  4811. "'" +
  4812. _task +
  4813. "'" +
  4814. ", " +
  4815. "'" +
  4816. _tool +
  4817. "'" +
  4818. ", " +
  4819. "'" +
  4820. (str + '_loadLi_JieE' + cid + stage + task + tool+_userid) +
  4821. "'" +
  4822. ", " +
  4823. "'" +
  4824. aTool +
  4825. "'" +
  4826. ", " +
  4827. "`" +
  4828. text +
  4829. "`" +
  4830. ")\n" +
  4831. " });\n" +
  4832. "}\n" +
  4833. "document.head.appendChild(_js);\n";
  4834. _iframe.contentWindow.document.head.appendChild(_ajs);
  4835. }
  4836. }
  4837. //U.MD.D.I.openClick(str);
  4838. //如果有任务栏信息
  4839. // if (_taskbar) {
  4840. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4841. // }
  4842. }
  4843. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  4844. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4845. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4846. _userid = student.userid, //登录用户id
  4847. _username = student.student //用户名字
  4848. let _iframe;
  4849. let _cid = cid,
  4850. _stage = stage,
  4851. _task = task,
  4852. _tool = tool;
  4853. var _jie = $$("div", {
  4854. "style": {
  4855. "position": "absolute",
  4856. "bottom": "50px",
  4857. "right": "50px",
  4858. "zIndex": "9999",
  4859. "backgroundColor": "#2268bc",
  4860. "color": "#fff",
  4861. "padding": "12px 20px",
  4862. "cursor": "pointer",
  4863. "borderRadius": "4px",
  4864. },
  4865. "innerHTML": "提交作业"
  4866. })
  4867. let aTool = ''
  4868. let _loading = document.createElement('div')
  4869. _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;"
  4870. // _loading.id = "";
  4871. let _lchild = document.createElement('div')
  4872. let _limg = document.createElement('img')
  4873. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4874. _limg.style = "width: 26px;margin-right: 10px;"
  4875. _lchild.appendChild(_limg)
  4876. let _lspan = document.createElement('span')
  4877. _lspan.innerHTML = "上传中..."
  4878. _lchild.appendChild(_lspan)
  4879. _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%);"
  4880. _loading.appendChild(_lchild)
  4881. var _box = $$('div', {
  4882. "style": {
  4883. "position": "relative",
  4884. "width": "100%",
  4885. "height": "100%",
  4886. },
  4887. })
  4888. _box.appendChild(_loading)
  4889. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool+_userid
  4890. switch (str) {
  4891. case "whiteboard":
  4892. aTool = 1;
  4893. _iframe = $$("iframe", {
  4894. "frameborder": "no",
  4895. "border": "0",
  4896. "scrolling ": "no",
  4897. "style": {
  4898. "cssText": "border:0;width:100%;height:100%"
  4899. },
  4900. "src": "https://iwb.cocorobo.cn/"
  4901. })
  4902. _box.appendChild(_iframe);
  4903. _box.appendChild(_jie);
  4904. _formdiv = new U.UF.UI.form(
  4905. "电子白板-" + _username,
  4906. _box, {
  4907. "id": "whiteboard" + cid + stage + task + tool + _userid,
  4908. "style": {
  4909. "width": "90%",
  4910. "height": "90%",
  4911. "overflow": 'hidden'
  4912. },
  4913. "onresize": function () { }
  4914. }, {
  4915. closecallback: function () { }
  4916. }, {
  4917. "style": {
  4918. "height": "36px"
  4919. }
  4920. }).form; //创建窗体
  4921. _taskbar = {
  4922. "id": str + _formdiv.id,
  4923. "style": {
  4924. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4925. },
  4926. "name": "电子白板",
  4927. "forms": _formdiv,
  4928. "click": function () {
  4929. U.MD.D.I.openApplication(str, obj, info);
  4930. }
  4931. }
  4932. break;
  4933. case "mind":
  4934. aTool = 3;
  4935. _iframe = $$("iframe", {
  4936. "frameborder": "no",
  4937. "border": "0",
  4938. "scrolling ": "no",
  4939. "style": {
  4940. "cssText": "border:0;width:100%;height:100%"
  4941. },
  4942. "src": "/kityminder-editor/dist/index.html"
  4943. })
  4944. _box.appendChild(_iframe);
  4945. _box.appendChild(_jie);
  4946. _formdiv = new U.UF.UI.form(
  4947. "思维导图-" + _username,
  4948. _box, { //"/jsmind/example/demo.html"
  4949. "id": "mind" + cid + stage + task + tool + _userid,
  4950. "style": {
  4951. "width": "90%",
  4952. "height": "90%",
  4953. "overflow": 'hidden'
  4954. },
  4955. "onresize": function () { }
  4956. }, {
  4957. closecallback: function () { }
  4958. }, {
  4959. "style": {
  4960. "height": "36px"
  4961. }
  4962. }).form; //创建窗体
  4963. _taskbar = {
  4964. "id": str + _formdiv.id,
  4965. "style": {
  4966. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4967. },
  4968. "name": "思维导图",
  4969. "forms": _formdiv,
  4970. "click": function () {
  4971. U.MD.D.I.openApplication(str, obj, info);
  4972. }
  4973. }
  4974. break;
  4975. case "MindMap":
  4976. aTool = 3;
  4977. _iframe = $$("iframe", {
  4978. "frameborder": "no",
  4979. "border": "0",
  4980. "scrolling ": "no",
  4981. "style": {
  4982. "cssText": "border:0;width:100%;height:100%"
  4983. },
  4984. "src": "//cloud.cocorobo.cn/mind/"
  4985. })
  4986. _box.appendChild(_iframe);
  4987. _box.appendChild(_jie);
  4988. _formdiv = new U.UF.UI.form(
  4989. "思维导图-" + _username,
  4990. _box, { //"/jsmind/example/demo.html"
  4991. "id": "mind" + cid + stage + task + tool + _userid,
  4992. "style": {
  4993. "width": "90%",
  4994. "height": "90%",
  4995. "overflow": 'hidden'
  4996. },
  4997. "onresize": function () { }
  4998. }, {
  4999. closecallback: function () { }
  5000. }, {
  5001. "style": {
  5002. "height": "36px"
  5003. }
  5004. }).form; //创建窗体
  5005. _taskbar = {
  5006. "id": str + _formdiv.id,
  5007. "style": {
  5008. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5009. },
  5010. "name": "思维导图",
  5011. "forms": _formdiv,
  5012. "click": function () {
  5013. U.MD.D.I.openApplication(str, obj, info);
  5014. }
  5015. }
  5016. break;
  5017. case "doc":
  5018. aTool = 6;
  5019. _iframe = $$("iframe", {
  5020. "frameborder": "no",
  5021. "border": "0",
  5022. "scrolling ": "no",
  5023. "style": {
  5024. "cssText": "border:0;width:100%;height:100%"
  5025. },
  5026. "src": "/Office/Word/WordEditArea.htm"
  5027. })
  5028. _box.appendChild(_iframe);
  5029. _box.appendChild(_jie);
  5030. _formdiv = new U.UF.UI.form(
  5031. "协同文档-" + _username,
  5032. _box, {
  5033. "id": "doc" + cid + stage + task + tool + _userid,
  5034. "style": {
  5035. "width": "90%",
  5036. "height": "90%",
  5037. "overflow": 'hidden'
  5038. },
  5039. "onresize": function () { }
  5040. }, {
  5041. closecallback: function () { }
  5042. }, {
  5043. "style": {
  5044. "height": "36px"
  5045. }
  5046. }).form; //创建窗体
  5047. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5048. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5049. })
  5050. _taskbar = {
  5051. "id": str + _formdiv.id,
  5052. "style": {
  5053. "backgroundImage": "url(/img/icon/doc.png)"
  5054. },
  5055. "name": "协同文档",
  5056. "forms": _formdiv,
  5057. "click": function () {
  5058. U.MD.D.I.openApplication(str, obj, info);
  5059. }
  5060. }
  5061. break;
  5062. case "mindNetwork": //好友打开
  5063. aTool = 7;
  5064. _iframe = $$("iframe", {
  5065. "webkitallowfullscreen": "",
  5066. "mozallowfullscreen": "",
  5067. "allowfullscreen": "",
  5068. "frameborder": "no",
  5069. "border": "0",
  5070. "scrolling ": "no",
  5071. "style": {
  5072. "cssText": "border:0; width:100%; height:100%;"
  5073. },
  5074. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5075. })
  5076. _box.appendChild(_iframe);
  5077. _box.appendChild(_jie);
  5078. _formdiv = new U.UF.UI.form(
  5079. "思维网格-" + _username,
  5080. _box, {
  5081. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5082. "style": {
  5083. "width": "90%",
  5084. "height": "90%",
  5085. "overflow": 'hidden'
  5086. },
  5087. "onresize": function () { }
  5088. }, {
  5089. closecallback: function () { }
  5090. }, {
  5091. "style": {
  5092. "height": "36px"
  5093. }
  5094. }).form; //创建窗体
  5095. _taskbar = {
  5096. "id": str + _formdiv.id,
  5097. "style": {
  5098. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5099. },
  5100. "name": "思维网格",
  5101. "forms": _formdiv,
  5102. "click": function () {
  5103. U.MD.D.I.openApplication(str, obj, info);
  5104. }
  5105. }
  5106. break;
  5107. case "courseDesign":
  5108. _iframe = $$("iframe", {
  5109. "webkitallowfullscreen": "",
  5110. "mozallowfullscreen": "",
  5111. "allowfullscreen": "",
  5112. "frameborder": "no",
  5113. "border": "0",
  5114. "scrolling ": "no",
  5115. "style": {
  5116. "cssText": "border:0; width:100%; height:100%;"
  5117. },
  5118. "src": "/course-design-vue"
  5119. })
  5120. _box.appendChild(_iframe);
  5121. _box.appendChild(_jie);
  5122. _formdiv = new U.UF.UI.form(
  5123. "项目设计-" + _username,
  5124. _box, {
  5125. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5126. "style": {
  5127. "width": "90%",
  5128. "height": "90%",
  5129. "overflow": 'hidden'
  5130. },
  5131. "onresize": function () { }
  5132. }, {
  5133. closecallback: function () { }
  5134. }, {
  5135. "style": {
  5136. "height": "36px"
  5137. }
  5138. }).form; //创建窗体
  5139. _taskbar = {
  5140. "id": str + _formdiv.id,
  5141. "style": {
  5142. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5143. },
  5144. "name": "项目设计",
  5145. "forms": _formdiv,
  5146. "click": function () {
  5147. U.MD.D.I.openApplication(str, obj, info);
  5148. }
  5149. }
  5150. break;
  5151. }
  5152. const script1 = document.createElement("script");
  5153. script1.type = "text/javascript";
  5154. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5155. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5156. const script2 = document.createElement("script");
  5157. script2.type = "text/javascript";
  5158. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5159. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5160. const script3 = document.createElement("script");
  5161. script3.type = "text/javascript";
  5162. script3.charset = "UTF-8";
  5163. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5164. const script4 = document.createElement("script");
  5165. script4.type = "text/javascript";
  5166. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5167. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5168. if (_iframe) {
  5169. if (str == 'doc') {
  5170. _iframe = _formdiv.querySelector('iframe')
  5171. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5172. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5173. _iframe.contentWindow.document.body.appendChild(script1);
  5174. _iframe.contentWindow.document.body.appendChild(script2);
  5175. // _iframe.contentWindow.document.body.appendChild(script3);
  5176. _iframe.contentWindow.document.body.appendChild(script4);
  5177. })
  5178. if (onloadListener) {
  5179. _iframe.contentDocument.location.reload()
  5180. } else {
  5181. _iframe.contentDocument.location.reload()
  5182. }
  5183. } else if (str == 'courseDesign') {
  5184. U.UF.DL.iframeLoad(_iframe, function () {
  5185. // _iframe.contentWindow.U.MD.O.W.load();
  5186. // _iframe.contentWindow.document.body.appendChild(script1);
  5187. _iframe.contentWindow.document.body.appendChild(script2);
  5188. _iframe.contentWindow.document.body.appendChild(script4);
  5189. })
  5190. } else if (str == 'mind') {
  5191. _iframe = _formdiv.querySelector('iframe')
  5192. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5193. //
  5194. _iframe.contentWindow.document.body.appendChild(script1);
  5195. _iframe.contentWindow.document.body.appendChild(script2);
  5196. _iframe.contentWindow.document.body.appendChild(script4);
  5197. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5198. })
  5199. if (onloadListener) {
  5200. _iframe.contentDocument.location.reload()
  5201. } else {
  5202. _iframe.contentDocument.location.reload()
  5203. }
  5204. } else if (str == 'whiteboard') {
  5205. _iframe = _formdiv.querySelector('iframe')
  5206. let onloadListener = _iframe.onload = () => {
  5207. _iframe.contentWindow.document.body.appendChild(script1);
  5208. _iframe.contentWindow.document.body.appendChild(script2);
  5209. _iframe.contentWindow.document.body.appendChild(script4);
  5210. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5211. };
  5212. if (onloadListener) {
  5213. _iframe.contentDocument.location.reload()
  5214. } else {
  5215. _iframe.contentDocument.location.reload()
  5216. }
  5217. } else {
  5218. _iframe.onload = () => {
  5219. _iframe.contentWindow.document.body.appendChild(script1);
  5220. _iframe.contentWindow.document.body.appendChild(script2);
  5221. // _iframe.contentWindow.document.body.appendChild(script3);
  5222. _iframe.contentWindow.document.body.appendChild(script4);
  5223. };
  5224. }
  5225. _jie.onclick = async () => {
  5226. let text = ''
  5227. if (aTool == 1) {
  5228. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5229. } else if (aTool == 6) {
  5230. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5231. } else if (aTool == 3) {
  5232. text = await U.MD.D.I.getEditorContent(_iframe);
  5233. }
  5234. _loading.style.display = 'flex'
  5235. console.log(_loading);
  5236. var _ajs = _iframe.contentWindow.document.createElement("script");
  5237. _ajs.type = "text/javascript";
  5238. _ajs.innerHTML =
  5239. // 'console.log(' + _loading + ');\n' +
  5240. 'var _js = document.createElement("script");\n' +
  5241. '_js.type="text/javascript";\n' +
  5242. '_js.charset="UTF-8";\n' +
  5243. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5244. "_js.onload = function(){\n" +
  5245. ' var a = document.getElementsByTagName("img")\n' +
  5246. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5247. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5248. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5249. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5250. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5251. "beforeUpload_shishi(file," +
  5252. "'" +
  5253. _userid +
  5254. "'" +
  5255. ", " +
  5256. "'" +
  5257. _cid +
  5258. "'" +
  5259. ", " +
  5260. "'" +
  5261. _stage +
  5262. "'" +
  5263. ", " +
  5264. "'" +
  5265. _task +
  5266. "'" +
  5267. ", " +
  5268. "'" +
  5269. _tool +
  5270. "'" +
  5271. ", " +
  5272. "'" +
  5273. (str + '_loadLi_JieTeacher' + cid + stage + task + tool+_userid) +
  5274. "'" +
  5275. ", " +
  5276. "'" +
  5277. aTool +
  5278. "'" +
  5279. ", " +
  5280. "`" +
  5281. text +
  5282. "`" +
  5283. ")\n" +
  5284. " });\n" +
  5285. "}\n" +
  5286. "document.head.appendChild(_js);\n";
  5287. _iframe.contentWindow.document.head.appendChild(_ajs);
  5288. }
  5289. }
  5290. }
  5291. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5292. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5293. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5294. _userid = student.userid, //登录用户id
  5295. _username = student.student //用户名字
  5296. let _iframe;
  5297. let _cid = cid,
  5298. _stage = stage,
  5299. _task = task,
  5300. _tool = tool;
  5301. var _jie = $$("div", {
  5302. "style": {
  5303. "position": "absolute",
  5304. "bottom": "50px",
  5305. "right": "50px",
  5306. "zIndex": "9999",
  5307. "backgroundColor": "#2268bc",
  5308. "color": "#fff",
  5309. "padding": "12px 20px",
  5310. "cursor": "pointer",
  5311. "borderRadius": "4px",
  5312. },
  5313. "innerHTML": "提交作业"
  5314. })
  5315. let aTool = ''
  5316. let _loading = document.createElement('div')
  5317. _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;"
  5318. // _loading.id = "";
  5319. let _lchild = document.createElement('div')
  5320. let _limg = document.createElement('img')
  5321. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5322. _limg.style = "width: 26px;margin-right: 10px;"
  5323. _lchild.appendChild(_limg)
  5324. let _lspan = document.createElement('span')
  5325. _lspan.innerHTML = "上传中..."
  5326. _lchild.appendChild(_lspan)
  5327. _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%);"
  5328. _loading.appendChild(_lchild)
  5329. var _box = $$('div', {
  5330. "style": {
  5331. "position": "relative",
  5332. "width": "100%",
  5333. "height": "100%",
  5334. },
  5335. })
  5336. _box.appendChild(_loading)
  5337. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5338. switch (str) {
  5339. case "whiteboard":
  5340. aTool = 1;
  5341. _iframe = $$("iframe", {
  5342. "frameborder": "no",
  5343. "border": "0",
  5344. "scrolling ": "no",
  5345. "style": {
  5346. "cssText": "border:0;width:100%;height:100%"
  5347. },
  5348. "src": "https://iwb.cocorobo.cn/"
  5349. })
  5350. _box.appendChild(_iframe);
  5351. _box.appendChild(_jie);
  5352. _formdiv = new U.UF.UI.form(
  5353. "电子白板-" + _username,
  5354. _box, {
  5355. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5356. "style": {
  5357. "width": "90%",
  5358. "height": "90%",
  5359. "overflow": 'hidden'
  5360. },
  5361. "onresize": function () { }
  5362. }, {
  5363. closecallback: function () { }
  5364. }, {
  5365. "style": {
  5366. "height": "36px"
  5367. }
  5368. }).form; //创建窗体
  5369. _taskbar = {
  5370. "id": str + _formdiv.id,
  5371. "style": {
  5372. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5373. },
  5374. "name": "电子白板",
  5375. "forms": _formdiv,
  5376. "click": function () {
  5377. U.MD.D.I.openApplication(str, obj, info);
  5378. }
  5379. }
  5380. break;
  5381. case "mind":
  5382. aTool = 3;
  5383. _iframe = $$("iframe", {
  5384. "frameborder": "no",
  5385. "border": "0",
  5386. "scrolling ": "no",
  5387. "style": {
  5388. "cssText": "border:0;width:100%;height:100%"
  5389. },
  5390. "src": "/kityminder-editor/dist/index.html"
  5391. })
  5392. _box.appendChild(_iframe);
  5393. _box.appendChild(_jie);
  5394. _formdiv = new U.UF.UI.form(
  5395. "思维导图-" + _username,
  5396. _box, { //"/jsmind/example/demo.html"
  5397. "id": "mind" + cid + stage + task + tool + _userid,
  5398. "style": {
  5399. "width": "90%",
  5400. "height": "90%",
  5401. "overflow": 'hidden'
  5402. },
  5403. "onresize": function () { }
  5404. }, {
  5405. closecallback: function () { }
  5406. }, {
  5407. "style": {
  5408. "height": "36px"
  5409. }
  5410. }).form; //创建窗体
  5411. _taskbar = {
  5412. "id": str + _formdiv.id,
  5413. "style": {
  5414. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5415. },
  5416. "name": "思维导图",
  5417. "forms": _formdiv,
  5418. "click": function () {
  5419. U.MD.D.I.openApplication(str, obj, info);
  5420. }
  5421. }
  5422. break;
  5423. case "MindMap":
  5424. aTool = 3;
  5425. _iframe = $$("iframe", {
  5426. "frameborder": "no",
  5427. "border": "0",
  5428. "scrolling ": "no",
  5429. "style": {
  5430. "cssText": "border:0;width:100%;height:100%"
  5431. },
  5432. "src": "//cloud.cocorobo.cn/mind/"
  5433. })
  5434. _box.appendChild(_iframe);
  5435. _box.appendChild(_jie);
  5436. _formdiv = new U.UF.UI.form(
  5437. "思维导图-" + _username,
  5438. _box, { //"/jsmind/example/demo.html"
  5439. "id": "mind" + cid + stage + task + tool + _userid,
  5440. "style": {
  5441. "width": "90%",
  5442. "height": "90%",
  5443. "overflow": 'hidden'
  5444. },
  5445. "onresize": function () { }
  5446. }, {
  5447. closecallback: function () { }
  5448. }, {
  5449. "style": {
  5450. "height": "36px"
  5451. }
  5452. }).form; //创建窗体
  5453. _taskbar = {
  5454. "id": str + _formdiv.id,
  5455. "style": {
  5456. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5457. },
  5458. "name": "思维导图",
  5459. "forms": _formdiv,
  5460. "click": function () {
  5461. U.MD.D.I.openApplication(str, obj, info);
  5462. }
  5463. }
  5464. break;
  5465. case "doc":
  5466. aTool = 6;
  5467. _iframe = $$("iframe", {
  5468. "frameborder": "no",
  5469. "border": "0",
  5470. "scrolling ": "no",
  5471. "style": {
  5472. "cssText": "border:0;width:100%;height:100%"
  5473. },
  5474. "src": "/Office/Word/WordEditArea.htm"
  5475. })
  5476. _box.appendChild(_iframe);
  5477. _box.appendChild(_jie);
  5478. _formdiv = new U.UF.UI.form(
  5479. "协同文档-" + _username,
  5480. _box, {
  5481. "id": "doc" + cid + stage + task + tool + _userid,
  5482. "style": {
  5483. "width": "90%",
  5484. "height": "90%",
  5485. "overflow": 'hidden'
  5486. },
  5487. "onresize": function () { }
  5488. }, {
  5489. closecallback: function () { }
  5490. }, {
  5491. "style": {
  5492. "height": "36px"
  5493. }
  5494. }).form; //创建窗体
  5495. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5496. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5497. })
  5498. _taskbar = {
  5499. "id": str + _formdiv.id,
  5500. "style": {
  5501. "backgroundImage": "url(/img/icon/doc.png)"
  5502. },
  5503. "name": "协同文档",
  5504. "forms": _formdiv,
  5505. "click": function () {
  5506. U.MD.D.I.openApplication(str, obj, info);
  5507. }
  5508. }
  5509. break;
  5510. case "mindNetwork": //好友打开
  5511. aTool = 7;
  5512. _iframe = $$("iframe", {
  5513. "webkitallowfullscreen": "",
  5514. "mozallowfullscreen": "",
  5515. "allowfullscreen": "",
  5516. "frameborder": "no",
  5517. "border": "0",
  5518. "scrolling ": "no",
  5519. "style": {
  5520. "cssText": "border:0; width:100%; height:100%;"
  5521. },
  5522. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5523. })
  5524. _box.appendChild(_iframe);
  5525. _box.appendChild(_jie);
  5526. _formdiv = new U.UF.UI.form(
  5527. "思维网格-" + _username,
  5528. _box, {
  5529. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5530. "style": {
  5531. "width": "90%",
  5532. "height": "90%",
  5533. "overflow": 'hidden'
  5534. },
  5535. "onresize": function () { }
  5536. }, {
  5537. closecallback: function () { }
  5538. }, {
  5539. "style": {
  5540. "height": "36px"
  5541. }
  5542. }).form; //创建窗体
  5543. _taskbar = {
  5544. "id": str + _formdiv.id,
  5545. "style": {
  5546. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5547. },
  5548. "name": "思维网格",
  5549. "forms": _formdiv,
  5550. "click": function () {
  5551. U.MD.D.I.openApplication(str, obj, info);
  5552. }
  5553. }
  5554. break;
  5555. case "courseDesign":
  5556. _iframe = $$("iframe", {
  5557. "webkitallowfullscreen": "",
  5558. "mozallowfullscreen": "",
  5559. "allowfullscreen": "",
  5560. "frameborder": "no",
  5561. "border": "0",
  5562. "scrolling ": "no",
  5563. "style": {
  5564. "cssText": "border:0; width:100%; height:100%;"
  5565. },
  5566. "src": "/course-design-vue"
  5567. })
  5568. _box.appendChild(_iframe);
  5569. _box.appendChild(_jie);
  5570. _formdiv = new U.UF.UI.form(
  5571. "项目设计-" + _username,
  5572. _box, {
  5573. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5574. "style": {
  5575. "width": "90%",
  5576. "height": "90%",
  5577. "overflow": 'hidden'
  5578. },
  5579. "onresize": function () { }
  5580. }, {
  5581. closecallback: function () { }
  5582. }, {
  5583. "style": {
  5584. "height": "36px"
  5585. }
  5586. }).form; //创建窗体
  5587. _taskbar = {
  5588. "id": str + _formdiv.id,
  5589. "style": {
  5590. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5591. },
  5592. "name": "项目设计",
  5593. "forms": _formdiv,
  5594. "click": function () {
  5595. U.MD.D.I.openApplication(str, obj, info);
  5596. }
  5597. }
  5598. break;
  5599. }
  5600. const script1 = document.createElement("script");
  5601. script1.type = "text/javascript";
  5602. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5603. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5604. const script2 = document.createElement("script");
  5605. script2.type = "text/javascript";
  5606. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5607. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5608. const script3 = document.createElement("script");
  5609. script3.type = "text/javascript";
  5610. script3.charset = "UTF-8";
  5611. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5612. const script4 = document.createElement("script");
  5613. script4.type = "text/javascript";
  5614. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5615. script4.src = window.origin + "/js/Common/jietu2E.js";
  5616. if (_iframe) {
  5617. if (str == 'doc') {
  5618. _iframe = _formdiv.querySelector('iframe')
  5619. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5620. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5621. _iframe.contentWindow.document.body.appendChild(script1);
  5622. _iframe.contentWindow.document.body.appendChild(script2);
  5623. // _iframe.contentWindow.document.body.appendChild(script3);
  5624. _iframe.contentWindow.document.body.appendChild(script4);
  5625. })
  5626. if (onloadListener) {
  5627. _iframe.contentDocument.location.reload()
  5628. } else {
  5629. _iframe.contentDocument.location.reload()
  5630. }
  5631. } else if (str == 'courseDesign') {
  5632. U.UF.DL.iframeLoad(_iframe, function () {
  5633. // _iframe.contentWindow.U.MD.O.W.load();
  5634. // _iframe.contentWindow.document.body.appendChild(script1);
  5635. _iframe.contentWindow.document.body.appendChild(script2);
  5636. _iframe.contentWindow.document.body.appendChild(script4);
  5637. })
  5638. } else if (str == 'mind') {
  5639. _iframe = _formdiv.querySelector('iframe')
  5640. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5641. //
  5642. _iframe.contentWindow.document.body.appendChild(script1);
  5643. _iframe.contentWindow.document.body.appendChild(script2);
  5644. _iframe.contentWindow.document.body.appendChild(script4);
  5645. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5646. })
  5647. if (onloadListener) {
  5648. _iframe.contentDocument.location.reload()
  5649. } else {
  5650. _iframe.contentDocument.location.reload()
  5651. }
  5652. } else if (str == 'whiteboard') {
  5653. _iframe = _formdiv.querySelector('iframe')
  5654. let onloadListener = _iframe.onload = () => {
  5655. _iframe.contentWindow.document.body.appendChild(script1);
  5656. _iframe.contentWindow.document.body.appendChild(script2);
  5657. _iframe.contentWindow.document.body.appendChild(script4);
  5658. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5659. };
  5660. if (onloadListener) {
  5661. _iframe.contentDocument.location.reload()
  5662. } else {
  5663. _iframe.contentDocument.location.reload()
  5664. }
  5665. } else {
  5666. _iframe.onload = () => {
  5667. _iframe.contentWindow.document.body.appendChild(script1);
  5668. _iframe.contentWindow.document.body.appendChild(script2);
  5669. // _iframe.contentWindow.document.body.appendChild(script3);
  5670. _iframe.contentWindow.document.body.appendChild(script4);
  5671. };
  5672. }
  5673. _jie.onclick = async () => {
  5674. let text = ''
  5675. if (aTool == 1) {
  5676. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5677. } else if (aTool == 6) {
  5678. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5679. } else if (aTool == 3) {
  5680. text = await U.MD.D.I.getEditorContent(_iframe);
  5681. }
  5682. _loading.style.display = 'flex'
  5683. console.log(_loading);
  5684. var _ajs = _iframe.contentWindow.document.createElement("script");
  5685. _ajs.type = "text/javascript";
  5686. _ajs.innerHTML =
  5687. // 'console.log(' + _loading + ');\n' +
  5688. 'var _js = document.createElement("script");\n' +
  5689. '_js.type="text/javascript";\n' +
  5690. '_js.charset="UTF-8";\n' +
  5691. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5692. "_js.onload = function(){\n" +
  5693. ' var a = document.getElementsByTagName("img")\n' +
  5694. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5695. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5696. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5697. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5698. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5699. "beforeUpload_shishi(file," +
  5700. "'" +
  5701. _userid +
  5702. "'" +
  5703. ", " +
  5704. "'" +
  5705. _cid +
  5706. "'" +
  5707. ", " +
  5708. "'" +
  5709. _stage +
  5710. "'" +
  5711. ", " +
  5712. "'" +
  5713. _task +
  5714. "'" +
  5715. ", " +
  5716. "'" +
  5717. _tool +
  5718. "'" +
  5719. ", " +
  5720. "'" +
  5721. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool+_userid) +
  5722. "'" +
  5723. ", " +
  5724. "'" +
  5725. aTool +
  5726. "'" +
  5727. ", " +
  5728. "`" +
  5729. text +
  5730. "`" +
  5731. ")\n" +
  5732. " });\n" +
  5733. "}\n" +
  5734. "document.head.appendChild(_js);\n";
  5735. _iframe.contentWindow.document.head.appendChild(_ajs);
  5736. }
  5737. }
  5738. }
  5739. U.MD.D.I.getEditorContent = function (iframe) {
  5740. return new Promise((resolve, reject) => {
  5741. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  5742. console.log(content);
  5743. resolve(content)
  5744. });
  5745. });
  5746. }
  5747. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  5748. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  5749. // if (res.value[0].length > 0) {
  5750. // // resolve(res.value[0][0].text);
  5751. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  5752. // $(fileInput).val('');
  5753. // });
  5754. // }
  5755. // }, [], { "type": "GET", "withCredentials": true });
  5756. var xmlhttp;
  5757. var Mac, Sn, DeviceId
  5758. if (window.XMLHttpRequest) {
  5759. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  5760. xmlhttp = new XMLHttpRequest();
  5761. }
  5762. else {
  5763. // IE6, IE5 浏览器执行代码
  5764. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  5765. }
  5766. xmlhttp.onreadystatechange = function () {
  5767. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  5768. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  5769. // resolve(res.value[0][0].text);
  5770. if (type == '2') {
  5771. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  5772. } else if (type == '3') {
  5773. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  5774. }
  5775. } else {
  5776. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  5777. }
  5778. }
  5779. }
  5780. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  5781. xmlhttp.send();
  5782. }
  5783. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  5784. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5785. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5786. _userinfo = US.userInfo, //登录用户信息
  5787. _userid = US.userInfo.userid //登录用户id
  5788. let _iframe;
  5789. let _cid = cid,
  5790. _stage = stage,
  5791. _task = task,
  5792. _tool = tool;
  5793. var _jie = $$("div", {
  5794. "style": {
  5795. "position": "absolute",
  5796. "bottom": "50px",
  5797. "right": "50px",
  5798. "zIndex": "9999",
  5799. "backgroundColor": "#2268bc",
  5800. "color": "#fff",
  5801. "padding": "12px 20px",
  5802. "cursor": "pointer",
  5803. "borderRadius": "4px",
  5804. },
  5805. "innerHTML": "确认并提交"
  5806. })
  5807. let aTool = ''
  5808. let _loading = document.createElement('div')
  5809. _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;"
  5810. // _loading.id = "";
  5811. let _lchild = document.createElement('div')
  5812. let _limg = document.createElement('img')
  5813. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5814. _limg.style = "width: 26px;margin-right: 10px;"
  5815. _lchild.appendChild(_limg)
  5816. let _lspan = document.createElement('span')
  5817. _lspan.innerHTML = "上传中..."
  5818. _lchild.appendChild(_lspan)
  5819. _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%);"
  5820. _loading.appendChild(_lchild)
  5821. var _box = $$('div', {
  5822. "style": {
  5823. "position": "relative",
  5824. "width": "100%",
  5825. "height": "100%",
  5826. },
  5827. })
  5828. _box.appendChild(_loading)
  5829. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool+_userid
  5830. switch (str) {
  5831. case "whiteboard":
  5832. aTool = 1;
  5833. _iframe = $$("iframe", {
  5834. "frameborder": "no",
  5835. "border": "0",
  5836. "scrolling ": "no",
  5837. "style": {
  5838. "cssText": "border:0;width:100%;height:100%"
  5839. },
  5840. "src": "https://iwb.cocorobo.cn/"
  5841. })
  5842. _box.appendChild(_iframe);
  5843. _box.appendChild(_jie);
  5844. _formdiv = new U.UF.UI.form(
  5845. "电子白板",
  5846. _box, {
  5847. "id": "whiteboards" + cid + stage + task + tool,
  5848. "style": {
  5849. "width": "90%",
  5850. "height": "90%",
  5851. "overflow": 'hidden'
  5852. },
  5853. "onresize": function () { }
  5854. }, {
  5855. closecallback: function () { }
  5856. }, {
  5857. "style": {
  5858. "height": "36px"
  5859. }
  5860. }).form; //创建窗体
  5861. _taskbar = {
  5862. "id": str + _formdiv.id,
  5863. "style": {
  5864. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5865. },
  5866. "name": "电子白板",
  5867. "forms": _formdiv,
  5868. "click": function () {
  5869. U.MD.D.I.openApplication(str, obj, info);
  5870. }
  5871. }
  5872. break;
  5873. case "mind":
  5874. aTool = 3;
  5875. _iframe = $$("iframe", {
  5876. "frameborder": "no",
  5877. "border": "0",
  5878. "scrolling ": "no",
  5879. "style": {
  5880. "cssText": "border:0;width:100%;height:100%"
  5881. },
  5882. "src": "/kityminder-editor/dist/index.html"
  5883. });
  5884. _box.appendChild(_iframe);
  5885. _box.appendChild(_jie);
  5886. _formdiv = new U.UF.UI.form(
  5887. "思维导图",
  5888. _box, { //"/jsmind/example/demo.html"
  5889. "id": "minds" + cid + stage + task + tool,
  5890. "style": {
  5891. "width": "90%",
  5892. "height": "90%",
  5893. "overflow": 'hidden'
  5894. },
  5895. "onresize": function () { }
  5896. }, {
  5897. closecallback: function () { }
  5898. }, {
  5899. "style": {
  5900. "height": "36px"
  5901. }
  5902. }).form; //创建窗体
  5903. _taskbar = {
  5904. "id": str + _formdiv.id,
  5905. "style": {
  5906. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5907. },
  5908. "name": "思维导图",
  5909. "forms": _formdiv,
  5910. "click": function () {
  5911. U.MD.D.I.openApplication(str, obj, info);
  5912. }
  5913. }
  5914. break;
  5915. case "doc":
  5916. aTool = 6;
  5917. _iframe = $$("iframe", {
  5918. "frameborder": "no",
  5919. "border": "0",
  5920. "scrolling ": "no",
  5921. "style": {
  5922. "cssText": "border:0;width:100%;height:100%"
  5923. },
  5924. "src": "/Office/Word/WordEditArea.htm"
  5925. })
  5926. _box.appendChild(_iframe);
  5927. _box.appendChild(_jie);
  5928. _formdiv = new U.UF.UI.form(
  5929. "协同文档",
  5930. _box, {
  5931. "id": "docs" + cid + stage + task + tool,
  5932. "style": {
  5933. "width": "90%",
  5934. "height": "90%",
  5935. "overflow": 'hidden'
  5936. },
  5937. "onresize": function () { }
  5938. }, {
  5939. closecallback: function () { }
  5940. }, {
  5941. "style": {
  5942. "height": "36px"
  5943. }
  5944. }).form; //创建窗体
  5945. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5946. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  5947. })
  5948. _taskbar = {
  5949. "id": str + _formdiv.id,
  5950. "style": {
  5951. "backgroundImage": "url(/img/icon/doc.png)"
  5952. },
  5953. "name": "协同文档",
  5954. "forms": _formdiv,
  5955. "click": function () {
  5956. U.MD.D.I.openApplication(str, obj, info);
  5957. }
  5958. }
  5959. break;
  5960. }
  5961. const script1 = document.createElement("script");
  5962. script1.type = "text/javascript";
  5963. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5964. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5965. const script2 = document.createElement("script");
  5966. script2.type = "text/javascript";
  5967. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5968. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5969. const script3 = document.createElement("script");
  5970. script3.type = "text/javascript";
  5971. script3.charset = "UTF-8";
  5972. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5973. const script4 = document.createElement("script");
  5974. script4.type = "text/javascript";
  5975. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  5976. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  5977. if (_iframe) {
  5978. if (str == 'doc') {
  5979. _iframe = _formdiv.querySelector('iframe')
  5980. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5981. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  5982. _iframe.contentWindow.document.body.appendChild(script1);
  5983. _iframe.contentWindow.document.body.appendChild(script2);
  5984. // _iframe.contentWindow.document.body.appendChild(script3);
  5985. _iframe.contentWindow.document.body.appendChild(script4);
  5986. })
  5987. if (onloadListener) {
  5988. _iframe.contentDocument.location.reload()
  5989. } else {
  5990. _iframe.contentDocument.location.reload()
  5991. }
  5992. } else if (str == 'mind') {
  5993. _iframe = _formdiv.querySelector('iframe')
  5994. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5995. _iframe.contentWindow.document.body.appendChild(script1);
  5996. _iframe.contentWindow.document.body.appendChild(script2);
  5997. _iframe.contentWindow.document.body.appendChild(script4);
  5998. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  5999. })
  6000. if (onloadListener) {
  6001. _iframe.contentDocument.location.reload()
  6002. } else {
  6003. _iframe.contentDocument.location.reload()
  6004. }
  6005. } else {
  6006. _iframe.onload = () => {
  6007. _iframe.contentWindow.document.body.appendChild(script1);
  6008. _iframe.contentWindow.document.body.appendChild(script2);
  6009. // _iframe.contentWindow.document.body.appendChild(script3);
  6010. _iframe.contentWindow.document.body.appendChild(script4);
  6011. };
  6012. }
  6013. _jie.onclick = async () => {
  6014. let text = ''
  6015. if (aTool == 6) {
  6016. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6017. } else if (aTool == 3) {
  6018. text = await U.MD.D.I.getEditorContent(_iframe);
  6019. }
  6020. _loading.style.display = 'flex'
  6021. console.log(_loading);
  6022. var _ajs = _iframe.contentWindow.document.createElement("script");
  6023. _ajs.type = "text/javascript";
  6024. _ajs.innerHTML =
  6025. // 'console.log(' + _loading + ');\n' +
  6026. 'var _js = document.createElement("script");\n' +
  6027. '_js.type="text/javascript";\n' +
  6028. '_js.charset="UTF-8";\n' +
  6029. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6030. "_js.onload = function(){\n" +
  6031. ' var a = document.getElementsByTagName("img")\n' +
  6032. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6033. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6034. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6035. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6036. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6037. "beforeUpload_shishi(file," +
  6038. "'" +
  6039. _userid +
  6040. "'" +
  6041. ", " +
  6042. "'" +
  6043. _cid +
  6044. "'" +
  6045. ", " +
  6046. "'" +
  6047. _stage +
  6048. "'" +
  6049. ", " +
  6050. "'" +
  6051. _task +
  6052. "'" +
  6053. ", " +
  6054. "'" +
  6055. _tool +
  6056. "'" +
  6057. ", " +
  6058. "'" +
  6059. (str + '_loadLi_JieS' + cid + stage + task + tool+_userid) +
  6060. "'" +
  6061. ", " +
  6062. "'" +
  6063. aTool +
  6064. "'" +
  6065. ", " +
  6066. "`" +
  6067. text +
  6068. "`" +
  6069. ")\n" +
  6070. " });\n" +
  6071. "}\n" +
  6072. "document.head.appendChild(_js);\n";
  6073. _iframe.contentWindow.document.head.appendChild(_ajs);
  6074. }
  6075. }
  6076. //U.MD.D.I.openClick(str);
  6077. //如果有任务栏信息
  6078. // if (_taskbar) {
  6079. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6080. // }
  6081. }
  6082. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6083. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6084. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6085. _userinfo = US.userInfo, //登录用户信息
  6086. _userid = US.userInfo.userid //登录用户id
  6087. let _iframe;
  6088. let _cid = cid,
  6089. _stage = stage,
  6090. _task = task,
  6091. _tool = tool;
  6092. var _jie = $$("div", {
  6093. "style": {
  6094. "position": "absolute",
  6095. "bottom": "50px",
  6096. "right": "50px",
  6097. "zIndex": "9999",
  6098. "backgroundColor": "#2268bc",
  6099. "color": "#fff",
  6100. "padding": "12px 20px",
  6101. "cursor": "pointer",
  6102. "borderRadius": "4px",
  6103. },
  6104. "innerHTML": "确认并提交"
  6105. })
  6106. let aTool = ''
  6107. let _loading = document.createElement('div')
  6108. _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;"
  6109. // _loading.id = "";
  6110. let _lchild = document.createElement('div')
  6111. let _limg = document.createElement('img')
  6112. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6113. _limg.style = "width: 26px;margin-right: 10px;"
  6114. _lchild.appendChild(_limg)
  6115. let _lspan = document.createElement('span')
  6116. _lspan.innerHTML = "上传中..."
  6117. _lchild.appendChild(_lspan)
  6118. _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%);"
  6119. _loading.appendChild(_lchild)
  6120. var _box = $$('div', {
  6121. "style": {
  6122. "position": "relative",
  6123. "width": "100%",
  6124. "height": "100%",
  6125. },
  6126. })
  6127. _box.appendChild(_loading)
  6128. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool+_userid
  6129. switch (str) {
  6130. case "whiteboard":
  6131. aTool = 1;
  6132. _iframe = $$("iframe", {
  6133. "frameborder": "no",
  6134. "border": "0",
  6135. "scrolling ": "no",
  6136. "style": {
  6137. "cssText": "border:0;width:100%;height:100%"
  6138. },
  6139. "src": "https://iwb.cocorobo.cn/"
  6140. })
  6141. _box.appendChild(_iframe);
  6142. _box.appendChild(_jie);
  6143. _formdiv = new U.UF.UI.form(
  6144. "电子白板",
  6145. _box, {
  6146. "id": "whiteboards" + cid + stage + task + tool,
  6147. "style": {
  6148. "width": "90%",
  6149. "height": "90%",
  6150. "overflow": 'hidden'
  6151. },
  6152. "onresize": function () { }
  6153. }, {
  6154. closecallback: function () { }
  6155. }, {
  6156. "style": {
  6157. "height": "36px"
  6158. }
  6159. }).form; //创建窗体
  6160. _taskbar = {
  6161. "id": str + _formdiv.id,
  6162. "style": {
  6163. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6164. },
  6165. "name": "电子白板",
  6166. "forms": _formdiv,
  6167. "click": function () {
  6168. U.MD.D.I.openApplication(str, obj, info);
  6169. }
  6170. }
  6171. break;
  6172. case "mind":
  6173. aTool = 3;
  6174. _iframe = $$("iframe", {
  6175. "frameborder": "no",
  6176. "border": "0",
  6177. "scrolling ": "no",
  6178. "style": {
  6179. "cssText": "border:0;width:100%;height:100%"
  6180. },
  6181. "src": "/kityminder-editor/dist/index.html"
  6182. });
  6183. _box.appendChild(_iframe);
  6184. _box.appendChild(_jie);
  6185. _formdiv = new U.UF.UI.form(
  6186. "思维导图",
  6187. _box, { //"/jsmind/example/demo.html"
  6188. "id": "minds" + cid + stage + task + tool,
  6189. "style": {
  6190. "width": "90%",
  6191. "height": "90%",
  6192. "overflow": 'hidden'
  6193. },
  6194. "onresize": function () { }
  6195. }, {
  6196. closecallback: function () { }
  6197. }, {
  6198. "style": {
  6199. "height": "36px"
  6200. }
  6201. }).form; //创建窗体
  6202. _taskbar = {
  6203. "id": str + _formdiv.id,
  6204. "style": {
  6205. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6206. },
  6207. "name": "思维导图",
  6208. "forms": _formdiv,
  6209. "click": function () {
  6210. U.MD.D.I.openApplication(str, obj, info);
  6211. }
  6212. }
  6213. break;
  6214. case "doc":
  6215. aTool = 6;
  6216. _iframe = $$("iframe", {
  6217. "frameborder": "no",
  6218. "border": "0",
  6219. "scrolling ": "no",
  6220. "style": {
  6221. "cssText": "border:0;width:100%;height:100%"
  6222. },
  6223. "src": "/Office/Word/WordEditArea.htm"
  6224. })
  6225. _box.appendChild(_iframe);
  6226. _box.appendChild(_jie);
  6227. _formdiv = new U.UF.UI.form(
  6228. "协同文档",
  6229. _box, {
  6230. "id": "docs" + cid + stage + task + tool,
  6231. "style": {
  6232. "width": "90%",
  6233. "height": "90%",
  6234. "overflow": 'hidden'
  6235. },
  6236. "onresize": function () { }
  6237. }, {
  6238. closecallback: function () { }
  6239. }, {
  6240. "style": {
  6241. "height": "36px"
  6242. }
  6243. }).form; //创建窗体
  6244. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6245. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6246. })
  6247. _taskbar = {
  6248. "id": str + _formdiv.id,
  6249. "style": {
  6250. "backgroundImage": "url(/img/icon/doc.png)"
  6251. },
  6252. "name": "协同文档",
  6253. "forms": _formdiv,
  6254. "click": function () {
  6255. U.MD.D.I.openApplication(str, obj, info);
  6256. }
  6257. }
  6258. break;
  6259. }
  6260. const script1 = document.createElement("script");
  6261. script1.type = "text/javascript";
  6262. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6263. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6264. const script2 = document.createElement("script");
  6265. script2.type = "text/javascript";
  6266. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6267. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6268. const script3 = document.createElement("script");
  6269. script3.type = "text/javascript";
  6270. script3.charset = "UTF-8";
  6271. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6272. const script4 = document.createElement("script");
  6273. script4.type = "text/javascript";
  6274. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6275. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6276. if (_iframe) {
  6277. if (str == 'doc') {
  6278. _iframe = _formdiv.querySelector('iframe')
  6279. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6280. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6281. _iframe.contentWindow.document.body.appendChild(script1);
  6282. _iframe.contentWindow.document.body.appendChild(script2);
  6283. // _iframe.contentWindow.document.body.appendChild(script3);
  6284. _iframe.contentWindow.document.body.appendChild(script4);
  6285. })
  6286. if (onloadListener) {
  6287. _iframe.contentDocument.location.reload()
  6288. } else {
  6289. _iframe.contentDocument.location.reload()
  6290. }
  6291. } else if (str == 'mind') {
  6292. _iframe = _formdiv.querySelector('iframe')
  6293. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6294. _iframe.contentWindow.document.body.appendChild(script1);
  6295. _iframe.contentWindow.document.body.appendChild(script2);
  6296. _iframe.contentWindow.document.body.appendChild(script4);
  6297. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6298. })
  6299. if (onloadListener) {
  6300. _iframe.contentDocument.location.reload()
  6301. } else {
  6302. _iframe.contentDocument.location.reload()
  6303. }
  6304. } else {
  6305. _iframe.onload = () => {
  6306. _iframe.contentWindow.document.body.appendChild(script1);
  6307. _iframe.contentWindow.document.body.appendChild(script2);
  6308. // _iframe.contentWindow.document.body.appendChild(script3);
  6309. _iframe.contentWindow.document.body.appendChild(script4);
  6310. };
  6311. }
  6312. _jie.onclick = async () => {
  6313. let text = ''
  6314. if (aTool == 6) {
  6315. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6316. } else if (aTool == 3) {
  6317. text = await U.MD.D.I.getEditorContent(_iframe);
  6318. }
  6319. _loading.style.display = 'flex'
  6320. console.log(_loading);
  6321. var _ajs = _iframe.contentWindow.document.createElement("script");
  6322. _ajs.type = "text/javascript";
  6323. _ajs.innerHTML =
  6324. // 'console.log(' + _loading + ');\n' +
  6325. 'var _js = document.createElement("script");\n' +
  6326. '_js.type="text/javascript";\n' +
  6327. '_js.charset="UTF-8";\n' +
  6328. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6329. "_js.onload = function(){\n" +
  6330. ' var a = document.getElementsByTagName("img")\n' +
  6331. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6332. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6333. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6334. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6335. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6336. "beforeUpload_shishi(file," +
  6337. "'" +
  6338. _userid +
  6339. "'" +
  6340. ", " +
  6341. "'" +
  6342. _cid +
  6343. "'" +
  6344. ", " +
  6345. "'" +
  6346. _stage +
  6347. "'" +
  6348. ", " +
  6349. "'" +
  6350. _task +
  6351. "'" +
  6352. ", " +
  6353. "'" +
  6354. _tool +
  6355. "'" +
  6356. ", " +
  6357. "'" +
  6358. (str + '_loadLi_JieStudio' + cid + stage + task + tool+_userid) +
  6359. "'" +
  6360. ", " +
  6361. "'" +
  6362. aTool +
  6363. "'" +
  6364. ", " +
  6365. "`" +
  6366. text +
  6367. "`" +
  6368. ")\n" +
  6369. " });\n" +
  6370. "}\n" +
  6371. "document.head.appendChild(_js);\n";
  6372. _iframe.contentWindow.document.head.appendChild(_ajs);
  6373. }
  6374. }
  6375. //U.MD.D.I.openClick(str);
  6376. //如果有任务栏信息
  6377. // if (_taskbar) {
  6378. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6379. // }
  6380. }
  6381. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6382. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6383. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6384. _userinfo = US.userInfo, //登录用户信息
  6385. _userid = US.userInfo.userid //登录用户id
  6386. let _iframe;
  6387. let _cid = cid,
  6388. _stage = stage,
  6389. _task = task,
  6390. _tool = tool;
  6391. var _jie = $$("div", {
  6392. "style": {
  6393. "position": "absolute",
  6394. "bottom": "50px",
  6395. "right": "50px",
  6396. "zIndex": "9999",
  6397. "backgroundColor": "#2268bc",
  6398. "color": "#fff",
  6399. "padding": "12px 20px",
  6400. "cursor": "pointer",
  6401. "borderRadius": "4px",
  6402. },
  6403. "innerHTML": "上传模板"
  6404. })
  6405. let aTool = ''
  6406. let _loading = document.createElement('div')
  6407. _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;"
  6408. // _loading.id = "";
  6409. let _lchild = document.createElement('div')
  6410. let _limg = document.createElement('img')
  6411. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6412. _limg.style = "width: 26px;margin-right: 10px;"
  6413. _lchild.appendChild(_limg)
  6414. let _lspan = document.createElement('span')
  6415. _lspan.innerHTML = "上传中..."
  6416. _lchild.appendChild(_lspan)
  6417. _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%);"
  6418. _loading.appendChild(_lchild)
  6419. var _box = $$('div', {
  6420. "style": {
  6421. "position": "relative",
  6422. "width": "100%",
  6423. "height": "100%",
  6424. },
  6425. })
  6426. _box.appendChild(_loading)
  6427. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool+_userid
  6428. switch (str) {
  6429. case "whiteboard":
  6430. aTool = 1;
  6431. _iframe = $$("iframe", {
  6432. "frameborder": "no",
  6433. "border": "0",
  6434. "scrolling ": "no",
  6435. "style": {
  6436. "cssText": "border:0;width:100%;height:100%"
  6437. },
  6438. "src": "https://iwb.cocorobo.cn/"
  6439. })
  6440. _box.appendChild(_iframe);
  6441. _box.appendChild(_jie);
  6442. _formdiv = new U.UF.UI.form(
  6443. "电子白板",
  6444. _box, {
  6445. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6446. "style": {
  6447. "width": "90%",
  6448. "height": "90%",
  6449. "overflow": 'hidden'
  6450. },
  6451. "onresize": function () { }
  6452. }, {
  6453. closecallback: function () { }
  6454. }, {
  6455. "style": {
  6456. "height": "36px"
  6457. }
  6458. }).form; //创建窗体
  6459. _taskbar = {
  6460. "id": str + _formdiv.id,
  6461. "style": {
  6462. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6463. },
  6464. "name": "电子白板",
  6465. "forms": _formdiv,
  6466. "click": function () {
  6467. U.MD.D.I.openApplication(str, obj, info);
  6468. }
  6469. }
  6470. break;
  6471. case "mind":
  6472. aTool = 3;
  6473. _iframe = $$("iframe", {
  6474. "frameborder": "no",
  6475. "border": "0",
  6476. "scrolling ": "no",
  6477. "style": {
  6478. "cssText": "border:0;width:100%;height:100%"
  6479. },
  6480. "src": "/kityminder-editor/dist/index.html"
  6481. });
  6482. _box.appendChild(_iframe);
  6483. _box.appendChild(_jie);
  6484. _formdiv = new U.UF.UI.form(
  6485. "思维导图",
  6486. _box, { //"/jsmind/example/demo.html"
  6487. "id": "minds_Yu" + cid + stage + task + tool,
  6488. "style": {
  6489. "width": "90%",
  6490. "height": "90%",
  6491. "overflow": 'hidden'
  6492. },
  6493. "onresize": function () { }
  6494. }, {
  6495. closecallback: function () { }
  6496. }, {
  6497. "style": {
  6498. "height": "36px"
  6499. }
  6500. }).form; //创建窗体
  6501. _taskbar = {
  6502. "id": str + _formdiv.id,
  6503. "style": {
  6504. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6505. },
  6506. "name": "思维导图",
  6507. "forms": _formdiv,
  6508. "click": function () {
  6509. U.MD.D.I.openApplication(str, obj, info);
  6510. }
  6511. }
  6512. break;
  6513. case "doc":
  6514. aTool = 6;
  6515. _iframe = $$("iframe", {
  6516. "frameborder": "no",
  6517. "border": "0",
  6518. "scrolling ": "no",
  6519. "style": {
  6520. "cssText": "border:0;width:100%;height:100%"
  6521. },
  6522. "src": "/Office/Word/WordEditArea.htm"
  6523. })
  6524. _box.appendChild(_iframe);
  6525. _box.appendChild(_jie);
  6526. _formdiv = new U.UF.UI.form(
  6527. "协同文档",
  6528. _box, {
  6529. "id": "docs_Yu" + cid + stage + task + tool,
  6530. "style": {
  6531. "width": "90%",
  6532. "height": "90%",
  6533. "overflow": 'hidden'
  6534. },
  6535. "onresize": function () { }
  6536. }, {
  6537. closecallback: function () { }
  6538. }, {
  6539. "style": {
  6540. "height": "36px"
  6541. }
  6542. }).form; //创建窗体
  6543. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6544. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6545. })
  6546. _taskbar = {
  6547. "id": str + _formdiv.id,
  6548. "style": {
  6549. "backgroundImage": "url(/img/icon/doc.png)"
  6550. },
  6551. "name": "协同文档",
  6552. "forms": _formdiv,
  6553. "click": function () {
  6554. U.MD.D.I.openApplication(str, obj, info);
  6555. }
  6556. }
  6557. break;
  6558. case "CocoPi":
  6559. aTool = 57;
  6560. _iframe = $$("iframe", {
  6561. "allowpaymentrequest":"allowpaymentrequest",
  6562. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6563. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6564. "frameborder": "no",
  6565. "border": "0",
  6566. "scrolling ": "no",
  6567. "style": {
  6568. "cssText": "border:0;width:100%;height:100%"
  6569. },
  6570. "src": "https://pi.cocorobo.cn/"
  6571. })
  6572. _box.appendChild(_iframe);
  6573. _box.appendChild(_jie);
  6574. _formdiv = new U.UF.UI.form(
  6575. "CocoPi",
  6576. _box, {
  6577. "id": "CocoPi_Yu" + cid + stage + task + tool,
  6578. "style": {
  6579. "width": "90%",
  6580. "height": "90%",
  6581. "overflow": 'hidden'
  6582. },
  6583. "onresize": function () { }
  6584. }, {
  6585. closecallback: function () { }
  6586. }, {
  6587. "style": {
  6588. "height": "36px"
  6589. }
  6590. }).form; //创建窗体
  6591. _taskbar = {
  6592. "id": str + _formdiv.id,
  6593. "style": {
  6594. "backgroundImage": "url(/img/icon/cocopi.png)"
  6595. },
  6596. "name": "CocoPi",
  6597. "forms": _formdiv,
  6598. "click": function () {
  6599. U.MD.D.I.openApplication(str, obj, info);
  6600. }
  6601. }
  6602. break;
  6603. }
  6604. if (_iframe) {
  6605. if (str == 'doc') {
  6606. _iframe = _formdiv.querySelector('iframe')
  6607. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6608. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6609. })
  6610. if (onloadListener) {
  6611. _iframe.contentDocument.location.reload()
  6612. } else {
  6613. _iframe.contentDocument.location.reload()
  6614. }
  6615. } else if (str == 'mind') {
  6616. _iframe = _formdiv.querySelector('iframe')
  6617. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6618. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  6619. })
  6620. if (onloadListener) {
  6621. _iframe.contentDocument.location.reload()
  6622. } else {
  6623. _iframe.contentDocument.location.reload()
  6624. }
  6625. } else if (str == 'whiteboard') {
  6626. _iframe = _formdiv.querySelector('iframe')
  6627. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6628. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  6629. })
  6630. if (onloadListener) {
  6631. _iframe.contentDocument.location.reload()
  6632. } else {
  6633. _iframe.contentDocument.location.reload()
  6634. }
  6635. } else if (str == 'CocoPi') {
  6636. _iframe = _formdiv.querySelector('iframe')
  6637. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6638. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  6639. })
  6640. if (onloadListener) {
  6641. _iframe.contentDocument.location.reload()
  6642. } else {
  6643. _iframe.contentDocument.location.reload()
  6644. }
  6645. } else {
  6646. _iframe.onload = () => {
  6647. };
  6648. }
  6649. _jie.onclick = async () => {
  6650. let text = ''
  6651. let type = '2'
  6652. if (aTool == 1) {
  6653. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6654. type = '3'
  6655. } else if (aTool == 6) {
  6656. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6657. type = '1'
  6658. } else if (aTool == 3) {
  6659. text = await U.MD.D.I.getEditorContent(_iframe);
  6660. type = '2'
  6661. } else if (aTool == 57) {
  6662. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  6663. type = '4'
  6664. }
  6665. _loading.style.display = 'flex'
  6666. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  6667. }
  6668. }
  6669. //U.MD.D.I.openClick(str);
  6670. //如果有任务栏信息
  6671. // if (_taskbar) {
  6672. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6673. // }
  6674. }
  6675. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  6676. var xmlhttp;
  6677. var Mac, Sn, DeviceId
  6678. if (window.XMLHttpRequest) {
  6679. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6680. xmlhttp = new XMLHttpRequest();
  6681. }
  6682. else {
  6683. // IE6, IE5 浏览器执行代码
  6684. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6685. }
  6686. xmlhttp.onreadystatechange = function () {
  6687. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6688. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6689. // resolve(res.value[0][0].text);
  6690. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6691. }
  6692. }
  6693. }
  6694. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6695. xmlhttp.send();
  6696. }
  6697. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  6698. var xmlhttp;
  6699. var Mac, Sn, DeviceId
  6700. if (window.XMLHttpRequest) {
  6701. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6702. xmlhttp = new XMLHttpRequest();
  6703. }
  6704. else {
  6705. // IE6, IE5 浏览器执行代码
  6706. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6707. }
  6708. xmlhttp.onreadystatechange = function () {
  6709. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6710. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6711. // resolve(res.value[0][0].text);
  6712. if (type == '2') {
  6713. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6714. } else if (type == '3') {
  6715. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6716. } else if (type == '4') {
  6717. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  6718. }
  6719. } else {
  6720. if (type == '2') {
  6721. iframe.contentWindow.editor.minder.importData('json', '')
  6722. } else if (type == '3') {
  6723. iframe.contentWindow.h.app.updateScene({ elements: [] })
  6724. } else if (type == '4') {
  6725. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  6726. }
  6727. }
  6728. }
  6729. }
  6730. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6731. xmlhttp.send();
  6732. }
  6733. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  6734. var xmlhttp;
  6735. var Mac, Sn, DeviceId
  6736. if (window.XMLHttpRequest) {
  6737. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6738. xmlhttp = new XMLHttpRequest();
  6739. }
  6740. else {
  6741. // IE6, IE5 浏览器执行代码
  6742. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6743. }
  6744. xmlhttp.onreadystatechange = function () {
  6745. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6746. if (xmlhttp.response) {
  6747. // resolve(res.value[0][0].text);
  6748. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  6749. // $(fileInput).val('');
  6750. // });
  6751. span.innerHTML = '上传成功'
  6752. setTimeout(() => {
  6753. loading.style.display = 'none'
  6754. }, 1000);
  6755. }
  6756. }
  6757. }
  6758. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  6759. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  6760. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  6761. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  6762. // 设置请求头,表示请求体的编码格式
  6763. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  6764. // 设置请求体,使用url-encoded格式的数据
  6765. }
  6766. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  6767. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6768. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6769. _userinfo = US.userInfo, //登录用户信息
  6770. _userid = US.userInfo.userid //登录用户id
  6771. let _iframe;
  6772. let _cid = cid,
  6773. _stage = stage,
  6774. _task = task,
  6775. _tool = tool;
  6776. var _jie = $$("div", {
  6777. "style": {
  6778. "position": "absolute",
  6779. "bottom": "50px",
  6780. "right": "50px",
  6781. "zIndex": "9999",
  6782. "backgroundColor": "#2268bc",
  6783. "color": "#fff",
  6784. "padding": "12px 20px",
  6785. "cursor": "pointer",
  6786. "borderRadius": "4px",
  6787. },
  6788. "innerHTML": "提交作业"
  6789. })
  6790. let aTool = ''
  6791. let _loading = document.createElement('div')
  6792. _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;"
  6793. // _loading.id = "";
  6794. let _lchild = document.createElement('div')
  6795. let _limg = document.createElement('img')
  6796. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6797. _limg.style = "width: 26px;margin-right: 10px;"
  6798. _lchild.appendChild(_limg)
  6799. let _lspan = document.createElement('span')
  6800. _lspan.innerHTML = "上传中..."
  6801. _lchild.appendChild(_lspan)
  6802. _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%);"
  6803. _loading.appendChild(_lchild)
  6804. var _box = $$('div', {
  6805. "style": {
  6806. "position": "relative",
  6807. "width": "100%",
  6808. "height": "100%",
  6809. },
  6810. })
  6811. _box.appendChild(_loading)
  6812. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool+_userid
  6813. switch (str) {
  6814. case "CocoPi":
  6815. aTool = 57;
  6816. _iframe = $$("iframe", {
  6817. "allowpaymentrequest":"allowpaymentrequest",
  6818. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6819. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6820. "frameborder": "no",
  6821. "border": "0",
  6822. "scrolling ": "no",
  6823. "style": {
  6824. "cssText": "border:0;width:100%;height:100%"
  6825. },
  6826. "src": "https://pi.cocorobo.cn/"
  6827. })
  6828. _box.appendChild(_iframe);
  6829. _box.appendChild(_jie);
  6830. _formdiv = new U.UF.UI.form(
  6831. "CocoPi",
  6832. _box, {
  6833. "id": "CocoPi_Upload" + cid + stage + task + tool,
  6834. "style": {
  6835. "width": "90%",
  6836. "height": "90%",
  6837. "overflow": 'hidden'
  6838. },
  6839. "onresize": function () { }
  6840. }, {
  6841. closecallback: function () { }
  6842. }, {
  6843. "style": {
  6844. "height": "36px"
  6845. }
  6846. }).form; //创建窗体
  6847. _taskbar = {
  6848. "id": str + _formdiv.id,
  6849. "style": {
  6850. "backgroundImage": "url(/img/icon/cocopi.png)"
  6851. },
  6852. "name": "CocoPi",
  6853. "forms": _formdiv,
  6854. "click": function () {
  6855. U.MD.D.I.openApplication(str, obj, info);
  6856. }
  6857. }
  6858. break;
  6859. }
  6860. if (_iframe) {
  6861. if (str == 'CocoPi') {
  6862. _iframe = _formdiv.querySelector('iframe')
  6863. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6864. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool,'15', _iframe)
  6865. })
  6866. if (onloadListener) {
  6867. _iframe.contentDocument.location.reload()
  6868. } else {
  6869. _iframe.contentDocument.location.reload()
  6870. }
  6871. }
  6872. _jie.onclick = async () => {
  6873. let text = ''
  6874. if (aTool == 57) {
  6875. text = _iframe.contentWindow.getLoadXmlStr()
  6876. }
  6877. _loading.style.display = 'flex'
  6878. console.log(_loading);
  6879. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  6880. _loading.style.display = 'none'
  6881. let _div = document.createElement('div')
  6882. _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;"
  6883. let _inner = document.createElement('div')
  6884. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  6885. _inner.innerHTML = "上传成功"
  6886. _div.appendChild(_inner)
  6887. _iframe.contentWindow.window.document.body.appendChild(_div)
  6888. _div.onclick = () => {
  6889. _iframe.contentWindow.window.document.body.removeChild(_div)
  6890. }
  6891. setTimeout(() => {
  6892. _iframe.contentWindow.window.document.body.removeChild(_div)
  6893. }, 1000);
  6894. }, [], { "type": "POST", "withCredentials": true });
  6895. }
  6896. }
  6897. }
  6898. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  6899. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6900. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6901. _userid = student.userid, //登录用户id
  6902. _username = student.student //用户名字
  6903. let _iframe;
  6904. let _cid = cid,
  6905. _stage = stage,
  6906. _task = task,
  6907. _tool = tool;
  6908. var _jie = $$("div", {
  6909. "style": {
  6910. "position": "absolute",
  6911. "bottom": "50px",
  6912. "right": "50px",
  6913. "zIndex": "9999",
  6914. "backgroundColor": "#2268bc",
  6915. "color": "#fff",
  6916. "padding": "12px 20px",
  6917. "cursor": "pointer",
  6918. "borderRadius": "4px",
  6919. },
  6920. "innerHTML": "提交作业"
  6921. })
  6922. let aTool = ''
  6923. let _loading = document.createElement('div')
  6924. _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;"
  6925. // _loading.id = "";
  6926. let _lchild = document.createElement('div')
  6927. let _limg = document.createElement('img')
  6928. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6929. _limg.style = "width: 26px;margin-right: 10px;"
  6930. _lchild.appendChild(_limg)
  6931. let _lspan = document.createElement('span')
  6932. _lspan.innerHTML = "上传中..."
  6933. _lchild.appendChild(_lspan)
  6934. _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%);"
  6935. _loading.appendChild(_lchild)
  6936. var _box = $$('div', {
  6937. "style": {
  6938. "position": "relative",
  6939. "width": "100%",
  6940. "height": "100%",
  6941. },
  6942. })
  6943. _box.appendChild(_loading)
  6944. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool+_userid
  6945. switch (str) {
  6946. case "CocoPi":
  6947. aTool = 57;
  6948. _iframe = $$("iframe", {
  6949. "allowpaymentrequest":"allowpaymentrequest",
  6950. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  6951. "webkitallowfullscreen": "", "mozallowfullscreen": "",
  6952. "frameborder": "no",
  6953. "border": "0",
  6954. "scrolling ": "no",
  6955. "style": {
  6956. "cssText": "border:0;width:100%;height:100%"
  6957. },
  6958. "src": "https://pi.cocorobo.cn/"
  6959. })
  6960. _box.appendChild(_iframe);
  6961. _box.appendChild(_jie);
  6962. _formdiv = new U.UF.UI.form(
  6963. "CocoPi-" + _username,
  6964. _box, {
  6965. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  6966. "style": {
  6967. "width": "90%",
  6968. "height": "90%",
  6969. "overflow": 'hidden'
  6970. },
  6971. "onresize": function () { }
  6972. }, {
  6973. closecallback: function () { }
  6974. }, {
  6975. "style": {
  6976. "height": "36px"
  6977. }
  6978. }).form; //创建窗体
  6979. _taskbar = {
  6980. "id": str + _formdiv.id,
  6981. "style": {
  6982. "backgroundImage": "url(/img/icon/cocopi.png)"
  6983. },
  6984. "name": "CocoPi",
  6985. "forms": _formdiv,
  6986. "click": function () {
  6987. U.MD.D.I.openApplication(str, obj, info);
  6988. }
  6989. }
  6990. break;
  6991. }
  6992. if (_iframe) {
  6993. if (str == 'CocoPi') {
  6994. _iframe = _formdiv.querySelector('iframe')
  6995. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6996. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool,'15', _iframe)
  6997. })
  6998. if (onloadListener) {
  6999. _iframe.contentDocument.location.reload()
  7000. } else {
  7001. _iframe.contentDocument.location.reload()
  7002. }
  7003. }
  7004. _jie.onclick = async () => {
  7005. let text = ''
  7006. if (aTool == 57) {
  7007. text = _iframe.contentWindow.getLoadXmlStr()
  7008. }
  7009. _loading.style.display = 'flex'
  7010. console.log(_loading);
  7011. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7012. _loading.style.display = 'none'
  7013. let _div = document.createElement('div')
  7014. _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;"
  7015. let _inner = document.createElement('div')
  7016. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7017. _inner.innerHTML = "上传成功"
  7018. _div.appendChild(_inner)
  7019. _iframe.contentWindow.window.document.body.appendChild(_div)
  7020. _div.onclick = () => {
  7021. _iframe.contentWindow.window.document.body.removeChild(_div)
  7022. }
  7023. setTimeout(() => {
  7024. _iframe.contentWindow.window.document.body.removeChild(_div)
  7025. }, 1000);
  7026. }, [], { "type": "POST", "withCredentials": true });
  7027. }
  7028. }
  7029. }
  7030. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7031. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7032. if (res.value[0].length > 0) {
  7033. if (atool == 57) {
  7034. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7035. }
  7036. } else {
  7037. if (atool == 57) {
  7038. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7039. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7040. }
  7041. }
  7042. }, [], { "type": "POST", "withCredentials": true });
  7043. }