DeskTop.js 458 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882
  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. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  101. ];
  102. U.MD.D.I.studentDeskIcon = [
  103. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  104. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  105. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  106. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  107. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  108. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  109. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  110. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  111. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  112. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  113. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  114. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  115. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  116. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  117. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  118. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  119. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  120. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  121. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  122. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  123. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  124. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  125. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  126. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  127. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  128. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  129. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  130. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  131. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  132. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  133. ];
  134. U.MD.D.I.studentDeskIcon2 = [
  135. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  136. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  137. // { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  138. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  139. ]
  140. U.MD.D.I.studentDeskIcon3 = [
  141. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  142. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  143. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  144. ]
  145. U.MD.D.I.schoolDeskIcon = [
  146. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  147. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  148. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  149. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  150. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  151. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  152. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  153. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  154. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  155. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  156. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  157. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  158. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  159. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  160. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  161. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  162. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  163. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  164. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  165. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  166. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  167. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  168. ];
  169. U.MD.D.I.orgDeskIcon = [
  170. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  171. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  172. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  173. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  174. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  175. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  176. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  177. ];
  178. U.MD.D.I.orgStemDeskIcon = [
  179. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  182. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  183. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  184. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  185. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  186. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  187. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  188. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  189. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  190. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  193. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  195. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  196. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  197. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  198. ];
  199. U.MD.D.I.szulsDeskIcon = [
  200. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  201. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  202. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  203. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  204. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  205. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  206. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  207. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  208. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  209. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  210. ];
  211. U.MD.D.I.hanDeskIcon = [
  212. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  215. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  216. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  217. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  218. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  219. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  220. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  221. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  222. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  223. ];
  224. U.MD.D.I.GMteacherDeskIcon = [
  225. { "Name": "课程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  226. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  227. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  228. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  229. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  230. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  231. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  232. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  233. { "Name": "课程进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  234. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  235. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. ];
  238. U.MD.D.I.GMstudentDeskIcon = [
  239. { "Name": "课程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  240. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  241. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  242. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  243. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  244. ];
  245. //北师大
  246. U.MD.D.I.BSDNSteacherDeskIcon = [
  247. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  248. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  249. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  250. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  251. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  252. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  253. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  254. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  255. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  256. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  257. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  258. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  259. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  260. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  261. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  262. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  263. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  264. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  265. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  266. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  267. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  268. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  269. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  270. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  271. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  272. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  273. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  274. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  275. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  276. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  277. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  278. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  279. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  280. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  281. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  282. { "Name": "数字实验室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  283. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  284. ];
  285. //松山湖
  286. U.MD.D.I.SONGteacherDeskIcon = [
  287. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  288. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  289. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  290. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  291. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  292. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  293. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  294. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  295. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  296. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  297. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  298. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  299. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  300. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  301. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  302. // { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  303. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  304. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  305. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  306. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  307. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  308. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  309. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  310. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  311. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  312. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  313. // { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  314. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  315. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  316. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  317. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  318. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  319. // { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  320. // { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  321. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  322. ];
  323. U.MD.D.I.tcStudentDeskIcon = [
  324. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  325. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  326. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  327. ];
  328. U.MD.D.I.tcTeacherDeskIcon = [
  329. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  330. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  331. { "Name": "师生项目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  332. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  333. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  334. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  335. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  336. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  337. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  338. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  339. ];
  340. U.MD.D.I.tcOrganizerDeskIcon = [
  341. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  342. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  343. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  344. { "Name": "师生项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  345. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  346. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  347. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  348. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  349. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  350. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  351. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  352. ];
  353. U.MD.D.I.szscStudentDeskIcon = [
  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": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. ];
  359. U.MD.D.I.szscTeacherDeskIcon = [
  360. // { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  361. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  362. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  363. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  364. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  365. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  366. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  367. { "Name": "学生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  368. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. ];
  371. U.MD.D.I.szscOrganizerDeskIcon = [
  372. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  373. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  374. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  375. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  376. // { "Name": "学校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  377. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  378. { "Name": "我的资料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  379. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  380. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  381. ];
  382. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  383. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  384. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  385. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  386. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  387. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  388. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  389. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  390. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  391. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  392. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  393. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  394. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  395. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  396. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  397. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  398. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  399. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } }
  400. ];
  401. U.MD.D.I.wankeAdminDeskIcon = [
  402. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  403. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  404. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  405. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  406. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  409. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  410. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  411. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  412. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  413. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  414. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  415. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  416. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  417. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  418. ];
  419. U.MD.D.I.lhsTeacherDeskIcon = [ //未来小学
  420. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  421. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  422. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  423. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  424. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  425. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  426. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  427. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  428. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  429. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  430. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  431. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. ];
  434. U.MD.D.I.lhsAdminDeskIcon = [ //未来小学admin
  435. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  436. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  437. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  438. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  439. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  440. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  441. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  442. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  443. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  444. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  445. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  446. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  447. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  448. ];
  449. //明德教师桌面图标的全局变量
  450. U.MD.D.I.MingdeTeacherDeskIcon = [
  451. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  452. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  453. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  454. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  455. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  456. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  457. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  458. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  459. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  460. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  461. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  462. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  463. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  464. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  465. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  466. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  469. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  470. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  471. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  472. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  473. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  474. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  475. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  476. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  477. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  478. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  479. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  480. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  481. ];
  482. //97c4ee8b-d010-4042-986d-e9d3c217264f
  483. //教师桌面图标的全局变量
  484. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  488. // { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  489. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  490. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  491. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  492. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  493. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  494. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  495. ];
  496. //福田
  497. U.MD.D.I.futianTeacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  506. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  507. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  508. ];
  509. //福田
  510. U.MD.D.I.futianAdminDeskIcon = [
  511. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  512. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  513. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  514. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  515. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  516. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  517. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  518. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  520. ];
  521. //lotech
  522. U.MD.D.I.lotechTeacherDeskIcon = [
  523. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  524. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  525. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  526. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  527. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  528. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  529. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  530. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  531. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  532. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  533. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  534. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  535. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  536. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  537. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. ];
  539. //龙华中心小学教师桌面图标的全局变量
  540. U.MD.D.I.longhuateacherDeskIcon = [
  541. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  542. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  543. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  544. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  545. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  548. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  549. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  550. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  551. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  552. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  553. ];
  554. //教科院实小教师桌面图标的全局变量
  555. U.MD.D.I.siesteacherDeskIcon = [
  556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  558. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  559. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  560. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  561. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  562. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  563. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  564. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  565. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  566. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  567. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  568. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  569. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  570. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  571. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  572. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  573. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  574. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  575. { "Name": "数据看板", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  576. ];
  577. //教科院实小教师桌面图标的全局变量
  578. U.MD.D.I.siesStudentDeskIcon = [
  579. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  580. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  581. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  582. ];
  583. //福田
  584. U.MD.D.I.gdjgTeacherDeskIcon = [
  585. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  586. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  587. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  588. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  589. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  590. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  591. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  592. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  594. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  595. ];
  596. //gdjg
  597. U.MD.D.I.gdjgAdminDeskIcon = [
  598. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  599. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  600. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  601. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  602. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  603. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  604. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  605. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  606. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  607. ];
  608. //hk
  609. U.MD.D.I.hkteacherDeskIcon = [
  610. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  611. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  612. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  613. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  614. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  615. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  616. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  619. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  620. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  621. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  622. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  623. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  626. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  627. ];
  628. //hk
  629. U.MD.D.I.hkStudentDeskIcon = [
  630. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  632. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  633. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  634. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  635. ];
  636. //香海正覺蓮社佛教正覺中學
  637. U.MD.D.I.hkZJLSteacherDeskIcon = [
  638. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  639. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  640. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  641. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  642. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  643. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  644. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  645. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  646. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  647. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  648. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  649. // { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  651. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  652. ];
  653. //香海正覺蓮社佛教正覺中學
  654. U.MD.D.I.hkZJLSStudentDeskIcon = [
  655. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  656. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. ];
  659. //云海
  660. U.MD.D.I.yunhaiTeacherDeskIcon = [
  661. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  662. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  664. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  665. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  666. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  667. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  668. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  669. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  670. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  671. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  672. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  673. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  674. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  675. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  676. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  677. ];
  678. //福田
  679. U.MD.D.I.heyuanTeacherDeskIcon = [
  680. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  681. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  682. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  687. // { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  688. // { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. ];
  691. //福田
  692. U.MD.D.I.heyuanAdminDeskIcon = [
  693. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  694. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  698. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  699. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  700. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  701. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. ];
  703. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  704. U.MD.D.I.szherTeacherDeskIcon = [
  705. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  706. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  707. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  708. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  709. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  710. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  711. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  712. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  714. ];
  715. //dsei
  716. U.MD.D.I.dseiTeacherDeskIcon = [
  717. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  718. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  719. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  720. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  721. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  722. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  723. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  724. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  725. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  726. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  727. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  728. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  729. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  730. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  731. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  732. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  733. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  734. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  735. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  736. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  737. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  738. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  739. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  740. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  741. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  742. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  743. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  744. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  745. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  746. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  747. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  748. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  749. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  750. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  751. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  752. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  753. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  754. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  755. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  756. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  757. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  758. ];
  759. //dsei
  760. U.MD.D.I.dseiAdminDeskIcon = [
  761. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  762. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  763. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  764. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  765. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  766. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  767. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  768. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  769. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  770. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  771. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  772. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  773. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  774. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  775. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  776. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  777. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  778. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  779. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  780. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  781. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  782. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  783. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  784. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  785. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  786. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  787. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  788. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  789. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  790. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  791. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  792. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  793. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  794. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  795. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  796. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  797. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  798. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  801. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  802. ];
  803. //dsei
  804. U.MD.D.I.dseiStudentDeskIcon = [
  805. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  806. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  807. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  808. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. ];
  811. //未来教育基地
  812. U.MD.D.I.szjkyTeacherDeskIcon = [
  813. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  816. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  817. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  818. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  819. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  820. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  821. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  822. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  824. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  827. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  828. ];
  829. //未来教育基地
  830. U.MD.D.I.szjkyAdminDeskIcon = [
  831. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  832. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  833. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  838. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  839. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  841. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  842. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  843. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  845. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  846. ];
  847. //未来教育基地
  848. U.MD.D.I.szjkyStudentDeskIcon = [
  849. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  850. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  851. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  852. ];
  853. //成华教育局
  854. U.MD.D.I.chjyjTeacherDeskIcon = [
  855. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  856. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  857. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  858. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  859. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  860. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  861. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  862. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  863. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  864. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. ];
  868. //成华教育局chjyj
  869. U.MD.D.I.chjyjAdminDeskIcon = [
  870. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  871. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  872. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  873. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  874. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  875. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  876. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  877. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  878. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  879. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  880. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  881. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  882. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  883. ];
  884. //成华教育局chjyj
  885. U.MD.D.I.chjyjStudentDeskIcon = [
  886. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  887. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  888. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  889. ];
  890. //tpc
  891. U.MD.D.I.tpcStudentDeskIcon = [
  892. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  893. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  894. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  895. ];
  896. //tpc
  897. U.MD.D.I.tpcTeacherDeskIcon = [
  898. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  899. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  900. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  901. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  902. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  903. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  904. ];
  905. //tpc
  906. U.MD.D.I.tpcAdminDeskIcon = [
  907. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  908. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  909. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  910. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  911. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  912. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  913. ];
  914. //#region 桌面初始化a
  915. /**
  916. * 初始化桌面的起始函数
  917. *
  918. */
  919. U.MD.D.I.init = function () {
  920. if ($("#U_MD_D_K")[0]) {
  921. //初始化桌面图标
  922. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  923. // var clickUrl = ':12588/requestIp.php';
  924. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  925. // U.MD.D.I.Ip = data;
  926. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  927. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  928. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  929. // })
  930. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  931. // })
  932. }
  933. }
  934. /**
  935. * 模式切换
  936. *
  937. */
  938. U.MD.D.I.ModeCheck = function (type) {
  939. if (US.Config.type == type) {
  940. return
  941. }
  942. US.Config.type = type
  943. $('.U_PBL_Check .active')[0].className = ''
  944. if (type == 1) {
  945. $('.U_PBL_Check div')[0].className = 'active'
  946. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  947. } else {
  948. $('.U_PBL_Check div')[1].className = 'active'
  949. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  950. }
  951. //初始化桌面图标
  952. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  953. if (type == 2) {
  954. U.MD.D.I.openApplication("project")
  955. }
  956. }
  957. /**
  958. * 隐藏任务栏
  959. *
  960. * @param {element} 桌面元素
  961. */
  962. U.MD.D.I.hiddenTaskbar = function (el) {
  963. //任务栏位置变小
  964. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  965. //桌面的位置变大
  966. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  967. }
  968. /**
  969. * 隐藏任务栏
  970. *
  971. * @param {element} 桌面元素
  972. */
  973. U.MD.D.I.hiddenTaskbarout = function (el) {
  974. //任务栏位置变小
  975. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  976. //任务栏位置变化
  977. U.selectEl(el).css({ "bottom": "-60px" });
  978. //桌面的位置变大
  979. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  980. }
  981. }
  982. /**
  983. * 初始化打印桌面图标
  984. *
  985. * @param {element} 桌面元素
  986. */
  987. U.MD.D.I.initDesktopIcons = function (el, type) {
  988. var i, //用于循环
  989. _content, //桌面图标元素
  990. _iconcontent, //桌面图标元素
  991. _frag = $$("frag"), //定义一个碎片元素
  992. _type = US.userInfo.type,
  993. _org = US.userInfo.org,
  994. _oid = US.userInfo.organizeid,
  995. _role = US.userInfo.role,
  996. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //获取教师端桌面图标
  997. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //极简模式桌面图标
  998. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //获取教师端桌面图标
  999. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //获取学生端桌面图标
  1000. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //获取学生端桌面图标
  1001. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //获取学生端桌面图标
  1002. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  1003. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1004. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1005. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1006. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  1007. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //获取北师大
  1008. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //获取周佳名工作室
  1009. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //获取松山湖
  1010. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //获取万科双语
  1011. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //获取万科双语
  1012. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //获取万科双语
  1013. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //获取未来小学
  1014. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //获取未来小学
  1015. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  1016. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
  1017. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //腾讯学生
  1018. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //腾讯学生
  1019. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1020. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1021. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未来教育基地
  1022. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未来教育基地
  1023. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未来教育基地
  1024. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成华教育局
  1025. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成华教育局
  1026. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成华教育局
  1027. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1028. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1029. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1030. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1031. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1032. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1033. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1034. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1035. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1036. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龙华中心
  1037. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1038. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1039. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1040. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1041. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1042. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1043. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1044. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //云海
  1045. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1046. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1047. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1048. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1049. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1050. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1051. 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'];
  1052. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956'];
  1053. //清楚桌面图标
  1054. el.innerHTML = "";
  1055. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1056. _teacherDesktopIconInfo.push(
  1057. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1058. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1059. )
  1060. _easyDesktopIconInfo.push({ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1061. }
  1062. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1063. _teacherDesktopIconInfo.push(
  1064. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1065. { "Name": "学习分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1066. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1067. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1068. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1069. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1070. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1071. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1072. { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1073. { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1074. )
  1075. }
  1076. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1077. _teacherDesktopIconInfo.push(
  1078. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1079. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1080. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1081. )
  1082. }
  1083. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1084. _teacherDesktopIconInfo.push(
  1085. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1086. )
  1087. }
  1088. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1089. _teacherDesktopIconInfo.push(
  1090. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1091. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1092. )
  1093. _studentDesktopIconInfo.push(
  1094. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1095. )
  1096. }
  1097. //麒麟二中 和 民新小学
  1098. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1099. _teacherDesktopIconInfo.push(
  1100. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1101. )
  1102. }
  1103. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1104. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1105. _teacherDesktopIconInfo.push(
  1106. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1107. )
  1108. }
  1109. //麒麟二中
  1110. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1111. _studentDesktopIconInfo.push(
  1112. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1113. { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1114. )
  1115. }
  1116. //万科双语
  1117. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1118. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1119. if (el.Name == '项目管理') {
  1120. el.Name = 'PBL项目'
  1121. }
  1122. return el
  1123. })
  1124. _studentDesktopIconInfo3.push(
  1125. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1126. )
  1127. }
  1128. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1129. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1130. return el.Name != '魔盒识字' && el.Name != '24点'
  1131. })
  1132. }
  1133. 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) {
  1134. _studentDesktopIconInfo.push({ "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1135. }
  1136. //循环创建桌面图标
  1137. if (type == 1) {
  1138. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1139. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1140. _content = $$("div", {
  1141. className: "U_MD_D_KO",
  1142. "onmousedown": U.UF.C.closure(function (obj) {
  1143. //防止拖动图标即打开了桌面应用
  1144. U.MD.D.click(this, obj);
  1145. }, [_studentDesktopIconInfo[i]]),
  1146. "onclick": U.UF.C.closure(function (obj) {
  1147. //防止拖动图标即打开了桌面应用
  1148. U.MD.D.click(this, obj);
  1149. }, [_studentDesktopIconInfo[i]])
  1150. }, _frag); //
  1151. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1152. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1153. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1154. }
  1155. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1156. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1157. _content = $$("div", {
  1158. className: "U_MD_D_KO",
  1159. "onmousedown": U.UF.C.closure(function (obj) {
  1160. //防止拖动图标即打开了桌面应用
  1161. U.MD.D.click(this, obj);
  1162. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1163. "onclick": U.UF.C.closure(function (obj) {
  1164. //防止拖动图标即打开了桌面应用
  1165. U.MD.D.click(this, obj);
  1166. }, [_hkZJLSStudentDeskIconInfo[i]])
  1167. }, _frag); //
  1168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1171. } //
  1172. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1173. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1174. _content = $$("div", {
  1175. className: "U_MD_D_KO",
  1176. "onmousedown": U.UF.C.closure(function (obj) {
  1177. //防止拖动图标即打开了桌面应用
  1178. U.MD.D.click(this, obj);
  1179. }, [_tpcStudentDeskIconInfo[i]]),
  1180. "onclick": U.UF.C.closure(function (obj) {
  1181. //防止拖动图标即打开了桌面应用
  1182. U.MD.D.click(this, obj);
  1183. }, [_tpcStudentDeskIconInfo[i]])
  1184. }, _frag); //
  1185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1188. } //
  1189. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1190. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1191. _content = $$("div", {
  1192. className: "U_MD_D_KO",
  1193. "onmousedown": U.UF.C.closure(function (obj) {
  1194. //防止拖动图标即打开了桌面应用
  1195. U.MD.D.click(this, obj);
  1196. }, [_chjyjStudentDeskIconInfo[i]]),
  1197. "onclick": U.UF.C.closure(function (obj) {
  1198. //防止拖动图标即打开了桌面应用
  1199. U.MD.D.click(this, obj);
  1200. }, [_chjyjStudentDeskIconInfo[i]])
  1201. }, _frag); //
  1202. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1203. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1204. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1205. }
  1206. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1207. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1208. _content = $$("div", {
  1209. className: "U_MD_D_KO",
  1210. "onmousedown": U.UF.C.closure(function (obj) {
  1211. //防止拖动图标即打开了桌面应用
  1212. U.MD.D.click(this, obj);
  1213. }, [_szjkyStudentDeskIconInfo[i]]),
  1214. "onclick": U.UF.C.closure(function (obj) {
  1215. //防止拖动图标即打开了桌面应用
  1216. U.MD.D.click(this, obj);
  1217. }, [_szjkyStudentDeskIconInfo[i]])
  1218. }, _frag); //
  1219. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1220. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1221. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1222. }
  1223. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1224. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1225. _content = $$("div", {
  1226. className: "U_MD_D_KO",
  1227. "onmousedown": U.UF.C.closure(function (obj) {
  1228. //防止拖动图标即打开了桌面应用
  1229. U.MD.D.click(this, obj);
  1230. }, [_dseiStudentDeskIconInfo[i]]),
  1231. "onclick": U.UF.C.closure(function (obj) {
  1232. //防止拖动图标即打开了桌面应用
  1233. U.MD.D.click(this, obj);
  1234. }, [_dseiStudentDeskIconInfo[i]])
  1235. }, _frag); //
  1236. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1237. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1238. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1239. }
  1240. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1241. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1242. _content = $$("div", {
  1243. className: "U_MD_D_KO",
  1244. "onmousedown": U.UF.C.closure(function (obj) {
  1245. //防止拖动图标即打开了桌面应用
  1246. U.MD.D.click(this, obj);
  1247. }, [_siesStudentDeskIconInfo[i]]),
  1248. "onclick": U.UF.C.closure(function (obj) {
  1249. //防止拖动图标即打开了桌面应用
  1250. U.MD.D.click(this, obj);
  1251. }, [_siesStudentDeskIconInfo[i]])
  1252. }, _frag); //
  1253. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1254. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1255. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1256. }
  1257. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1258. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1259. _content = $$("div", {
  1260. className: "U_MD_D_KO",
  1261. "onmousedown": U.UF.C.closure(function (obj) {
  1262. //防止拖动图标即打开了桌面应用
  1263. U.MD.D.click(this, obj);
  1264. }, [_hkStudentDeskIconInfo[i]]),
  1265. "onclick": U.UF.C.closure(function (obj) {
  1266. //防止拖动图标即打开了桌面应用
  1267. U.MD.D.click(this, obj);
  1268. }, [_hkStudentDeskIconInfo[i]])
  1269. }, _frag); //
  1270. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1271. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1272. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1273. }
  1274. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1275. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1276. _content = $$("div", {
  1277. className: "U_MD_D_KO",
  1278. "onmousedown": U.UF.C.closure(function (obj) {
  1279. //防止拖动图标即打开了桌面应用
  1280. U.MD.D.click(this, obj);
  1281. }, [_studentDesktopIconInfo[i]]),
  1282. "onclick": U.UF.C.closure(function (obj) {
  1283. //防止拖动图标即打开了桌面应用
  1284. U.MD.D.click(this, obj);
  1285. }, [_studentDesktopIconInfo[i]])
  1286. }, _frag); //
  1287. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1288. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1289. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1290. }
  1291. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1292. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1293. _content = $$("div", {
  1294. className: "U_MD_D_KO",
  1295. "onmousedown": U.UF.C.closure(function (obj) {
  1296. //防止拖动图标即打开了桌面应用
  1297. U.MD.D.click(this, obj);
  1298. }, [_tcStudentDeskIconInfo[i]]),
  1299. "onclick": U.UF.C.closure(function (obj) {
  1300. //防止拖动图标即打开了桌面应用
  1301. U.MD.D.click(this, obj);
  1302. }, [_tcStudentDeskIconInfo[i]])
  1303. }, _frag); //
  1304. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1305. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1306. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1307. }
  1308. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1309. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1310. _content = $$("div", {
  1311. className: "U_MD_D_KO",
  1312. "onmousedown": U.UF.C.closure(function (obj) {
  1313. //防止拖动图标即打开了桌面应用
  1314. U.MD.D.click(this, obj);
  1315. }, [_szscStudentDeskIconInfo[i]]),
  1316. "onclick": U.UF.C.closure(function (obj) {
  1317. //防止拖动图标即打开了桌面应用
  1318. U.MD.D.click(this, obj);
  1319. }, [_szscStudentDeskIconInfo[i]])
  1320. }, _frag); //
  1321. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1322. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1323. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1324. }
  1325. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1326. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1327. _content = $$("div", {
  1328. className: "U_MD_D_KO",
  1329. "onmousedown": U.UF.C.closure(function (obj) {
  1330. //防止拖动图标即打开了桌面应用
  1331. U.MD.D.click(this, obj);
  1332. }, [_studentDesktopIconInfo3[i]]),
  1333. "onclick": U.UF.C.closure(function (obj) {
  1334. //防止拖动图标即打开了桌面应用
  1335. U.MD.D.click(this, obj);
  1336. }, [_studentDesktopIconInfo3[i]])
  1337. }, _frag); //
  1338. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1339. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1340. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1341. }
  1342. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1343. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1344. _content = $$("div", {
  1345. className: "U_MD_D_KO",
  1346. "onmousedown": U.UF.C.closure(function (obj) {
  1347. //防止拖动图标即打开了桌面应用
  1348. U.MD.D.click(this, obj);
  1349. }, [_studentDesktopIconInfo2[i]]),
  1350. "onclick": U.UF.C.closure(function (obj) {
  1351. //防止拖动图标即打开了桌面应用
  1352. U.MD.D.click(this, obj);
  1353. }, [_studentDesktopIconInfo2[i]])
  1354. }, _frag); //
  1355. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1356. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1357. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1358. }
  1359. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1360. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1361. _content = $$("div", {
  1362. className: "U_MD_D_KO",
  1363. "onmousedown": U.UF.C.closure(function (obj) {
  1364. //防止拖动图标即打开了桌面应用
  1365. U.MD.D.click(this, obj);
  1366. }, [_wanketeacherDesktopIconInfo[i]]),
  1367. "onclick": U.UF.C.closure(function (obj) {
  1368. //防止拖动图标即打开了桌面应用
  1369. U.MD.D.click(this, obj);
  1370. }, [_wanketeacherDesktopIconInfo[i]])
  1371. }, _frag); //
  1372. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1373. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1374. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1375. }
  1376. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1377. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1378. _content = $$("div", {
  1379. className: "U_MD_D_KO",
  1380. "onmousedown": U.UF.C.closure(function (obj) {
  1381. //防止拖动图标即打开了桌面应用
  1382. U.MD.D.click(this, obj);
  1383. }, [_wankeAdminDesktopIconInfo[i]]),
  1384. "onclick": U.UF.C.closure(function (obj) {
  1385. //防止拖动图标即打开了桌面应用
  1386. U.MD.D.click(this, obj);
  1387. }, [_wankeAdminDesktopIconInfo[i]])
  1388. }, _frag); //
  1389. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1390. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1391. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1392. }
  1393. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1394. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1395. _content = $$("div", {
  1396. className: "U_MD_D_KO",
  1397. "onmousedown": U.UF.C.closure(function (obj) {
  1398. //防止拖动图标即打开了桌面应用
  1399. U.MD.D.click(this, obj);
  1400. }, [_tpcOrganizerDeskIconInfo[i]]),
  1401. "onclick": U.UF.C.closure(function (obj) {
  1402. //防止拖动图标即打开了桌面应用
  1403. U.MD.D.click(this, obj);
  1404. }, [_tpcOrganizerDeskIconInfo[i]])
  1405. }, _frag); //
  1406. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1407. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1408. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1409. }
  1410. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1411. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1412. _content = $$("div", {
  1413. className: "U_MD_D_KO",
  1414. "onmousedown": U.UF.C.closure(function (obj) {
  1415. //防止拖动图标即打开了桌面应用
  1416. U.MD.D.click(this, obj);
  1417. }, [_tpcTeacherDeskIconInfo[i]]),
  1418. "onclick": U.UF.C.closure(function (obj) {
  1419. //防止拖动图标即打开了桌面应用
  1420. U.MD.D.click(this, obj);
  1421. }, [_tpcTeacherDeskIconInfo[i]])
  1422. }, _frag); //
  1423. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1424. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1425. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1426. }
  1427. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1428. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1429. _content = $$("div", {
  1430. className: "U_MD_D_KO",
  1431. "onmousedown": U.UF.C.closure(function (obj) {
  1432. //防止拖动图标即打开了桌面应用
  1433. U.MD.D.click(this, obj);
  1434. }, [_teacherDesktopIconInfo2[i]]),
  1435. "onclick": U.UF.C.closure(function (obj) {
  1436. //防止拖动图标即打开了桌面应用
  1437. U.MD.D.click(this, obj);
  1438. }, [_teacherDesktopIconInfo2[i]])
  1439. }, _frag); //
  1440. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1441. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1442. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1443. }
  1444. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1445. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1446. _content = $$("div", {
  1447. className: "U_MD_D_KO",
  1448. "onmousedown": U.UF.C.closure(function (obj) {
  1449. //防止拖动图标即打开了桌面应用
  1450. U.MD.D.click(this, obj);
  1451. }, [_lotechTeacherDeskIconInfo[i]]),
  1452. "onclick": U.UF.C.closure(function (obj) {
  1453. //防止拖动图标即打开了桌面应用
  1454. U.MD.D.click(this, obj);
  1455. }, [_lotechTeacherDeskIconInfo[i]])
  1456. }, _frag); //
  1457. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1458. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1459. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1460. }//
  1461. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1462. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1463. _content = $$("div", {
  1464. className: "U_MD_D_KO",
  1465. "onmousedown": U.UF.C.closure(function (obj) {
  1466. //防止拖动图标即打开了桌面应用
  1467. U.MD.D.click(this, obj);
  1468. }, [_siesTeacherDeskIconInfo[i]]),
  1469. "onclick": U.UF.C.closure(function (obj) {
  1470. //防止拖动图标即打开了桌面应用
  1471. U.MD.D.click(this, obj);
  1472. }, [_siesTeacherDeskIconInfo[i]])
  1473. }, _frag); //
  1474. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1475. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1476. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1477. }
  1478. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1479. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1480. _content = $$("div", {
  1481. className: "U_MD_D_KO",
  1482. "onmousedown": U.UF.C.closure(function (obj) {
  1483. //防止拖动图标即打开了桌面应用
  1484. U.MD.D.click(this, obj);
  1485. }, [_longhuaTeacherDeskIconInfo[i]]),
  1486. "onclick": U.UF.C.closure(function (obj) {
  1487. //防止拖动图标即打开了桌面应用
  1488. U.MD.D.click(this, obj);
  1489. }, [_longhuaTeacherDeskIconInfo[i]])
  1490. }, _frag); //
  1491. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1492. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1493. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1494. }
  1495. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1496. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1497. _content = $$("div", {
  1498. className: "U_MD_D_KO",
  1499. "onmousedown": U.UF.C.closure(function (obj) {
  1500. //防止拖动图标即打开了桌面应用
  1501. U.MD.D.click(this, obj);
  1502. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1503. "onclick": U.UF.C.closure(function (obj) {
  1504. //防止拖动图标即打开了桌面应用
  1505. U.MD.D.click(this, obj);
  1506. }, [_yunhaiTeacherDeskIconInfo[i]])
  1507. }, _frag); //
  1508. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1509. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1510. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1511. } //_hkStudentDeskIconInfo
  1512. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1513. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1514. _content = $$("div", {
  1515. className: "U_MD_D_KO",
  1516. "onmousedown": U.UF.C.closure(function (obj) {
  1517. //防止拖动图标即打开了桌面应用
  1518. U.MD.D.click(this, obj);
  1519. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1520. "onclick": U.UF.C.closure(function (obj) {
  1521. //防止拖动图标即打开了桌面应用
  1522. U.MD.D.click(this, obj);
  1523. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1524. }, _frag); //
  1525. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1526. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1527. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1528. }
  1529. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1530. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1531. _content = $$("div", {
  1532. className: "U_MD_D_KO",
  1533. "onmousedown": U.UF.C.closure(function (obj) {
  1534. //防止拖动图标即打开了桌面应用
  1535. U.MD.D.click(this, obj);
  1536. }, [_hkTeacherDeskIconInfo[i]]),
  1537. "onclick": U.UF.C.closure(function (obj) {
  1538. //防止拖动图标即打开了桌面应用
  1539. U.MD.D.click(this, obj);
  1540. }, [_hkTeacherDeskIconInfo[i]])
  1541. }, _frag); //
  1542. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1543. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1544. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1545. }
  1546. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1547. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1548. _content = $$("div", {
  1549. className: "U_MD_D_KO",
  1550. "onmousedown": U.UF.C.closure(function (obj) {
  1551. //防止拖动图标即打开了桌面应用
  1552. U.MD.D.click(this, obj);
  1553. }, [_gdjgAdminDeskIconInfo[i]]),
  1554. "onclick": U.UF.C.closure(function (obj) {
  1555. //防止拖动图标即打开了桌面应用
  1556. U.MD.D.click(this, obj);
  1557. }, [_gdjgAdminDeskIconInfo[i]])
  1558. }, _frag); //
  1559. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1560. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1561. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1562. }
  1563. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1564. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1565. _content = $$("div", {
  1566. className: "U_MD_D_KO",
  1567. "onmousedown": U.UF.C.closure(function (obj) {
  1568. //防止拖动图标即打开了桌面应用
  1569. U.MD.D.click(this, obj);
  1570. }, [_gdjgTeacherDeskIconInfo[i]]),
  1571. "onclick": U.UF.C.closure(function (obj) {
  1572. //防止拖动图标即打开了桌面应用
  1573. U.MD.D.click(this, obj);
  1574. }, [_gdjgTeacherDeskIconInfo[i]])
  1575. }, _frag); //
  1576. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1577. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1578. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1579. }
  1580. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1581. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1582. _content = $$("div", {
  1583. className: "U_MD_D_KO",
  1584. "onmousedown": U.UF.C.closure(function (obj) {
  1585. //防止拖动图标即打开了桌面应用
  1586. U.MD.D.click(this, obj);
  1587. }, [_szherTeacherDeskIconInfo[i]]),
  1588. "onclick": U.UF.C.closure(function (obj) {
  1589. //防止拖动图标即打开了桌面应用
  1590. U.MD.D.click(this, obj);
  1591. }, [_szherTeacherDeskIconInfo[i]])
  1592. }, _frag); //
  1593. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1594. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1595. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1596. }
  1597. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1598. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1599. _content = $$("div", {
  1600. className: "U_MD_D_KO",
  1601. "onmousedown": U.UF.C.closure(function (obj) {
  1602. //防止拖动图标即打开了桌面应用
  1603. U.MD.D.click(this, obj);
  1604. }, [_heyuannAdminDeskIconInfo[i]]),
  1605. "onclick": U.UF.C.closure(function (obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_heyuannAdminDeskIconInfo[i]])
  1609. }, _frag); //
  1610. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1611. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1612. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1613. }
  1614. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1615. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1616. _content = $$("div", {
  1617. className: "U_MD_D_KO",
  1618. "onmousedown": U.UF.C.closure(function (obj) {
  1619. //防止拖动图标即打开了桌面应用
  1620. U.MD.D.click(this, obj);
  1621. }, [_heyuanTeacherDeskIconInfo[i]]),
  1622. "onclick": U.UF.C.closure(function (obj) {
  1623. //防止拖动图标即打开了桌面应用
  1624. U.MD.D.click(this, obj);
  1625. }, [_heyuanTeacherDeskIconInfo[i]])
  1626. }, _frag); //
  1627. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1628. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1629. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1630. } //
  1631. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1632. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1633. _content = $$("div", {
  1634. className: "U_MD_D_KO",
  1635. "onmousedown": U.UF.C.closure(function (obj) {
  1636. //防止拖动图标即打开了桌面应用
  1637. U.MD.D.click(this, obj);
  1638. }, [_dseiAdminDeskIconInfo[i]]),
  1639. "onclick": U.UF.C.closure(function (obj) {
  1640. //防止拖动图标即打开了桌面应用
  1641. U.MD.D.click(this, obj);
  1642. }, [_dseiAdminDeskIconInfo[i]])
  1643. }, _frag); //
  1644. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1645. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1646. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1647. }
  1648. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1649. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1650. _content = $$("div", {
  1651. className: "U_MD_D_KO",
  1652. "onmousedown": U.UF.C.closure(function (obj) {
  1653. //防止拖动图标即打开了桌面应用
  1654. U.MD.D.click(this, obj);
  1655. }, [_dseiTeacherDeskIconInfo[i]]),
  1656. "onclick": U.UF.C.closure(function (obj) {
  1657. //防止拖动图标即打开了桌面应用
  1658. U.MD.D.click(this, obj);
  1659. }, [_dseiTeacherDeskIconInfo[i]])
  1660. }, _frag); //
  1661. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1662. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1663. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1664. } //
  1665. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1666. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1667. _content = $$("div", {
  1668. className: "U_MD_D_KO",
  1669. "onmousedown": U.UF.C.closure(function (obj) {
  1670. //防止拖动图标即打开了桌面应用
  1671. U.MD.D.click(this, obj);
  1672. }, [_chjyjAdminDeskIconInfo[i]]),
  1673. "onclick": U.UF.C.closure(function (obj) {
  1674. //防止拖动图标即打开了桌面应用
  1675. U.MD.D.click(this, obj);
  1676. }, [_chjyjAdminDeskIconInfo[i]])
  1677. }, _frag); //
  1678. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1679. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1680. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1681. }//
  1682. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1683. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1684. _content = $$("div", {
  1685. className: "U_MD_D_KO",
  1686. "onmousedown": U.UF.C.closure(function (obj) {
  1687. //防止拖动图标即打开了桌面应用
  1688. U.MD.D.click(this, obj);
  1689. }, [_chjyjTeacherDeskIconInfo[i]]),
  1690. "onclick": U.UF.C.closure(function (obj) {
  1691. //防止拖动图标即打开了桌面应用
  1692. U.MD.D.click(this, obj);
  1693. }, [_chjyjTeacherDeskIconInfo[i]])
  1694. }, _frag); //
  1695. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1696. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1697. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1698. }
  1699. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1700. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1701. _content = $$("div", {
  1702. className: "U_MD_D_KO",
  1703. "onmousedown": U.UF.C.closure(function (obj) {
  1704. //防止拖动图标即打开了桌面应用
  1705. U.MD.D.click(this, obj);
  1706. }, [_szjkyAdminDeskIconInfo[i]]),
  1707. "onclick": U.UF.C.closure(function (obj) {
  1708. //防止拖动图标即打开了桌面应用
  1709. U.MD.D.click(this, obj);
  1710. }, [_szjkyAdminDeskIconInfo[i]])
  1711. }, _frag); //
  1712. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1713. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1714. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1715. }//
  1716. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1717. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1718. _content = $$("div", {
  1719. className: "U_MD_D_KO",
  1720. "onmousedown": U.UF.C.closure(function (obj) {
  1721. //防止拖动图标即打开了桌面应用
  1722. U.MD.D.click(this, obj);
  1723. }, [_szjkyTeacherDeskIconInfo[i]]),
  1724. "onclick": U.UF.C.closure(function (obj) {
  1725. //防止拖动图标即打开了桌面应用
  1726. U.MD.D.click(this, obj);
  1727. }, [_szjkyTeacherDeskIconInfo[i]])
  1728. }, _frag); //
  1729. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1730. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1731. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1732. }
  1733. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1734. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1735. _content = $$("div", {
  1736. className: "U_MD_D_KO",
  1737. "onmousedown": U.UF.C.closure(function (obj) {
  1738. //防止拖动图标即打开了桌面应用
  1739. U.MD.D.click(this, obj);
  1740. }, [_futianAdminDeskIconInfo[i]]),
  1741. "onclick": U.UF.C.closure(function (obj) {
  1742. //防止拖动图标即打开了桌面应用
  1743. U.MD.D.click(this, obj);
  1744. }, [_futianAdminDeskIconInfo[i]])
  1745. }, _frag); //
  1746. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1747. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1748. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1749. }
  1750. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1751. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1752. _content = $$("div", {
  1753. className: "U_MD_D_KO",
  1754. "onmousedown": U.UF.C.closure(function (obj) {
  1755. //防止拖动图标即打开了桌面应用
  1756. U.MD.D.click(this, obj);
  1757. }, [_futianTeacherDeskIconInfo[i]]),
  1758. "onclick": U.UF.C.closure(function (obj) {
  1759. //防止拖动图标即打开了桌面应用
  1760. U.MD.D.click(this, obj);
  1761. }, [_futianTeacherDeskIconInfo[i]])
  1762. }, _frag); //
  1763. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1764. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1765. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1766. }
  1767. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1768. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1769. _content = $$("div", {
  1770. className: "U_MD_D_KO",
  1771. "onmousedown": U.UF.C.closure(function (obj) {
  1772. //防止拖动图标即打开了桌面应用
  1773. U.MD.D.click(this, obj);
  1774. }, [_MingdeTeacherDeskIcon[i]]),
  1775. "onclick": U.UF.C.closure(function (obj) {
  1776. //防止拖动图标即打开了桌面应用
  1777. U.MD.D.click(this, obj);
  1778. }, [_MingdeTeacherDeskIcon[i]])
  1779. }, _frag); //
  1780. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1781. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1782. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1783. }
  1784. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1785. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1786. _content = $$("div", {
  1787. className: "U_MD_D_KO",
  1788. "onmousedown": U.UF.C.closure(function (obj) {
  1789. //防止拖动图标即打开了桌面应用
  1790. U.MD.D.click(this, obj);
  1791. }, [_lhsAdminDesktopIconInfo[i]]),
  1792. "onclick": U.UF.C.closure(function (obj) {
  1793. //防止拖动图标即打开了桌面应用
  1794. U.MD.D.click(this, obj);
  1795. }, [_lhsAdminDesktopIconInfo[i]])
  1796. }, _frag); //
  1797. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1798. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1799. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1800. }
  1801. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1802. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1803. _content = $$("div", {
  1804. className: "U_MD_D_KO",
  1805. "onmousedown": U.UF.C.closure(function (obj) {
  1806. //防止拖动图标即打开了桌面应用
  1807. U.MD.D.click(this, obj);
  1808. }, [_lhsteacherDesktopIconInfo[i]]),
  1809. "onclick": U.UF.C.closure(function (obj) {
  1810. //防止拖动图标即打开了桌面应用
  1811. U.MD.D.click(this, obj);
  1812. }, [_lhsteacherDesktopIconInfo[i]])
  1813. }, _frag); //
  1814. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1815. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1816. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1817. }
  1818. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1819. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1820. _content = $$("div", {
  1821. className: "U_MD_D_KO",
  1822. "onmousedown": U.UF.C.closure(function (obj) {
  1823. //防止拖动图标即打开了桌面应用
  1824. U.MD.D.click(this, obj);
  1825. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1826. "onclick": U.UF.C.closure(function (obj) {
  1827. //防止拖动图标即打开了桌面应用
  1828. U.MD.D.click(this, obj);
  1829. }, [_zhoujiateacherDesktopIconInfo[i]])
  1830. }, _frag); //
  1831. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1832. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1833. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1834. }
  1835. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1836. for (i = 0; i < _hanDeskIcon.length; i++) {
  1837. _content = $$("div", {
  1838. className: "U_MD_D_KO",
  1839. "onmousedown": U.UF.C.closure(function (obj) {
  1840. //防止拖动图标即打开了桌面应用
  1841. U.MD.D.click(this, obj);
  1842. }, [_hanDeskIcon[i]]),
  1843. "onclick": U.UF.C.closure(function (obj) {
  1844. //防止拖动图标即打开了桌面应用
  1845. U.MD.D.click(this, obj);
  1846. }, [_hanDeskIcon[i]])
  1847. }, _frag); //
  1848. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1849. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1850. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1851. }
  1852. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1853. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1854. _content = $$("div", {
  1855. className: "U_MD_D_KO",
  1856. "onmousedown": U.UF.C.closure(function (obj) {
  1857. //防止拖动图标即打开了桌面应用
  1858. U.MD.D.click(this, obj);
  1859. }, [_orgStemDeskIcon[i]]),
  1860. "onclick": U.UF.C.closure(function (obj) {
  1861. //防止拖动图标即打开了桌面应用
  1862. U.MD.D.click(this, obj);
  1863. }, [_orgStemDeskIcon[i]])
  1864. }, _frag); //
  1865. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1866. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1867. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1868. }
  1869. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1870. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1871. _content = $$("div", {
  1872. className: "U_MD_D_KO",
  1873. "onmousedown": U.UF.C.closure(function (obj) {
  1874. //防止拖动图标即打开了桌面应用
  1875. U.MD.D.click(this, obj);
  1876. }, [_szulsDeskIcon[i]]),
  1877. "onclick": U.UF.C.closure(function (obj) {
  1878. //防止拖动图标即打开了桌面应用
  1879. U.MD.D.click(this, obj);
  1880. }, [_szulsDeskIcon[i]])
  1881. }, _frag); //
  1882. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1883. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1884. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1885. }
  1886. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1887. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1888. _content = $$("div", {
  1889. className: "U_MD_D_KO",
  1890. "onmousedown": U.UF.C.closure(function (obj) {
  1891. //防止拖动图标即打开了桌面应用
  1892. U.MD.D.click(this, obj);
  1893. }, [_orgDesktopIconInfo[i]]),
  1894. "onclick": U.UF.C.closure(function (obj) {
  1895. //防止拖动图标即打开了桌面应用
  1896. U.MD.D.click(this, obj);
  1897. }, [_orgDesktopIconInfo[i]])
  1898. }, _frag); //
  1899. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1900. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1901. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1902. }
  1903. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1904. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1905. _content = $$("div", {
  1906. className: "U_MD_D_KO",
  1907. "onmousedown": U.UF.C.closure(function (obj) {
  1908. //防止拖动图标即打开了桌面应用
  1909. U.MD.D.click(this, obj);
  1910. }, [_schoolDesktopIconInfo[i]]),
  1911. "onclick": U.UF.C.closure(function (obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_schoolDesktopIconInfo[i]])
  1915. }, _frag); //
  1916. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1917. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1918. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1919. }
  1920. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1921. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1922. _content = $$("div", {
  1923. className: "U_MD_D_KO",
  1924. "onmousedown": U.UF.C.closure(function (obj) {
  1925. //防止拖动图标即打开了桌面应用
  1926. U.MD.D.click(this, obj);
  1927. }, [_GMteacherDesktopIconInfo[i]]),
  1928. "onclick": U.UF.C.closure(function (obj) {
  1929. //防止拖动图标即打开了桌面应用
  1930. U.MD.D.click(this, obj);
  1931. }, [_GMteacherDesktopIconInfo[i]])
  1932. }, _frag); //
  1933. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1934. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1935. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1936. }
  1937. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1938. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1939. _content = $$("div", {
  1940. className: "U_MD_D_KO",
  1941. "onmousedown": U.UF.C.closure(function (obj) {
  1942. //防止拖动图标即打开了桌面应用
  1943. U.MD.D.click(this, obj);
  1944. }, [_SONGteacherDesktopIconInfo[i]]),
  1945. "onclick": U.UF.C.closure(function (obj) {
  1946. //防止拖动图标即打开了桌面应用
  1947. U.MD.D.click(this, obj);
  1948. }, [_SONGteacherDesktopIconInfo[i]])
  1949. }, _frag); //
  1950. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1951. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1952. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1953. }
  1954. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1955. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1956. _content = $$("div", {
  1957. className: "U_MD_D_KO",
  1958. "onmousedown": U.UF.C.closure(function (obj) {
  1959. //防止拖动图标即打开了桌面应用
  1960. U.MD.D.click(this, obj);
  1961. }, [_GMstudentDesktopIconInfo[i]]),
  1962. "onclick": U.UF.C.closure(function (obj) {
  1963. //防止拖动图标即打开了桌面应用
  1964. U.MD.D.click(this, obj);
  1965. }, [_GMstudentDesktopIconInfo[i]])
  1966. }, _frag); //
  1967. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1968. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1969. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1970. }
  1971. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1972. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1973. _content = $$("div", {
  1974. className: "U_MD_D_KO",
  1975. "onmousedown": U.UF.C.closure(function (obj) {
  1976. //防止拖动图标即打开了桌面应用
  1977. U.MD.D.click(this, obj);
  1978. }, [_tcTeacherDeskIconInfo[i]]),
  1979. "onclick": U.UF.C.closure(function (obj) {
  1980. //防止拖动图标即打开了桌面应用
  1981. U.MD.D.click(this, obj);
  1982. }, [_tcTeacherDeskIconInfo[i]])
  1983. }, _frag); //
  1984. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1985. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1986. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1987. }
  1988. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1989. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1990. _content = $$("div", {
  1991. className: "U_MD_D_KO",
  1992. "onmousedown": U.UF.C.closure(function (obj) {
  1993. //防止拖动图标即打开了桌面应用
  1994. U.MD.D.click(this, obj);
  1995. }, [_tcOrganizerDeskIconInfo[i]]),
  1996. "onclick": U.UF.C.closure(function (obj) {
  1997. //防止拖动图标即打开了桌面应用
  1998. U.MD.D.click(this, obj);
  1999. }, [_tcOrganizerDeskIconInfo[i]])
  2000. }, _frag); //
  2001. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2002. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2003. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2004. }
  2005. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2006. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2007. _content = $$("div", {
  2008. className: "U_MD_D_KO",
  2009. "onmousedown": U.UF.C.closure(function (obj) {
  2010. //防止拖动图标即打开了桌面应用
  2011. U.MD.D.click(this, obj);
  2012. }, [_szscTeacherDeskIconInfo[i]]),
  2013. "onclick": U.UF.C.closure(function (obj) {
  2014. //防止拖动图标即打开了桌面应用
  2015. U.MD.D.click(this, obj);
  2016. }, [_szscTeacherDeskIconInfo[i]])
  2017. }, _frag); //
  2018. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2019. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2020. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2021. }
  2022. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2023. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2024. _content = $$("div", {
  2025. className: "U_MD_D_KO",
  2026. "onmousedown": U.UF.C.closure(function (obj) {
  2027. //防止拖动图标即打开了桌面应用
  2028. U.MD.D.click(this, obj);
  2029. }, [_szscOrganizerDeskIconInfo[i]]),
  2030. "onclick": U.UF.C.closure(function (obj) {
  2031. //防止拖动图标即打开了桌面应用
  2032. U.MD.D.click(this, obj);
  2033. }, [_szscOrganizerDeskIconInfo[i]])
  2034. }, _frag); //
  2035. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2036. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2037. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2038. }
  2039. } else {
  2040. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2041. _content = $$("div", {
  2042. className: "U_MD_D_KO",
  2043. "onmousedown": U.UF.C.closure(function (obj) {
  2044. //防止拖动图标即打开了桌面应用
  2045. U.MD.D.click(this, obj);
  2046. }, [_teacherDesktopIconInfo[i]]),
  2047. "onclick": U.UF.C.closure(function (obj) {
  2048. //防止拖动图标即打开了桌面应用
  2049. U.MD.D.click(this, obj);
  2050. }, [_teacherDesktopIconInfo[i]])
  2051. }, _frag); //
  2052. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2053. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2054. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2055. }
  2056. }
  2057. } else {
  2058. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2059. _content = $$("div", {
  2060. className: "U_MD_D_KO",
  2061. style: { 'width': '124px', 'height': '145px' },
  2062. "onmousedown": U.UF.C.closure(function (obj) {
  2063. //防止拖动图标即打开了桌面应用
  2064. U.MD.D.click(this, obj);
  2065. }, [_easyDesktopIconInfo[i]]),
  2066. "onclick": U.UF.C.closure(function (obj) {
  2067. //防止拖动图标即打开了桌面应用
  2068. U.MD.D.click(this, obj);
  2069. }, [_easyDesktopIconInfo[i]])
  2070. }, _frag); //
  2071. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2072. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2073. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2074. }
  2075. }
  2076. if (type == 1) {
  2077. //加载好后给图标定位
  2078. U.MD.D.iconPostion($(_frag).Child());
  2079. } else {
  2080. //加载好后给图标定位
  2081. U.MD.D.iconPostion2($(_frag).Child());
  2082. }
  2083. //把图标加载到页面
  2084. el.appendChild(_frag);
  2085. }
  2086. /**
  2087. * 显示任务栏
  2088. *
  2089. * @param {element} 桌面元素
  2090. */
  2091. U.MD.D.I.displayTaskbar = function (el) {
  2092. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  2093. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2094. //任务栏位置变化
  2095. U.selectEl(el).css({ "bottom": "0px" });
  2096. //桌面位置变话
  2097. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2098. }
  2099. }
  2100. //#region 桌面图标拖动逻辑
  2101. /**
  2102. * 桌面排列图标
  2103. *
  2104. * @param {element} 桌面元素
  2105. * @param {object} 上下相距的距离
  2106. * @param {object} 左右相距的距离
  2107. * @return {object} 命名空间
  2108. */
  2109. U.MD.D.iconPostion = function (childs, top, left) {
  2110. var i; //用于循环处理
  2111. top = top || 15; //如果没有设置元素的间距处理默认上间距为15
  2112. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  2113. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2114. for (i = 0; i < childs.length; i++) {
  2115. //如果竖排top超过了范围处理
  2116. if (top + 95 > US.height - 10) {
  2117. //left超过了页面范围处理,则向上重叠打印处理
  2118. if ((left + 180) > US.width) {
  2119. top -= 110;
  2120. left -= 90;
  2121. }
  2122. //没有超过范围,那么left+90添加到下一个竖排打印
  2123. else {
  2124. left += 90;
  2125. top = 15;
  2126. };
  2127. }
  2128. //给图标的位置赋值
  2129. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2130. if (i < childs.length - 1) {
  2131. //页面图标每次向下加95
  2132. top += 95;
  2133. }
  2134. }
  2135. //返回最后调用的图标的位置
  2136. return [top, left];
  2137. }
  2138. /**
  2139. * 桌面排列图标
  2140. *
  2141. * @param {element} 桌面元素
  2142. * @param {object} 上下相距的距离
  2143. * @param {object} 左右相距的距离
  2144. * @return {object} 命名空间
  2145. */
  2146. U.MD.D.iconPostion2 = function (childs, top, left) {
  2147. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用于循环处理
  2148. top = top || 70; //如果没有设置元素的间距处理默认上间距为15
  2149. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果没有设置元素的间距处理默认左间距为15
  2150. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  2151. for (i = 0; i < childs.length; i++) {
  2152. //如果竖排top超过了范围处理
  2153. if (left + 150 > US.width - 10) {
  2154. //left超过了页面范围处理,则向上重叠打印处理
  2155. if ((top + 180) > US.Height) {
  2156. top -= 150;
  2157. left -= 150;
  2158. }
  2159. //没有超过范围,那么left+90添加到下一个竖排打印
  2160. else {
  2161. top += 150;
  2162. left = ol;
  2163. };
  2164. }
  2165. //给图标的位置赋值
  2166. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2167. if (i < childs.length - 1) {
  2168. //页面图标每次向下加95
  2169. left += 150;
  2170. }
  2171. }
  2172. //返回最后调用的图标的位置
  2173. return [top, left];
  2174. }
  2175. /**
  2176. * 桌面点击事件逻辑
  2177. *
  2178. * @param {element} 桌面元素
  2179. * @param {object} 上下相距的距离
  2180. * @param {object} 左右相距的距离
  2181. * @return {object} 命名空间
  2182. */
  2183. U.MD.D.click = function (el, obj) {
  2184. var _buttonnumber = event.button; //点击的按钮的事件值
  2185. var _userinfo = US.userInfo;
  2186. U.UF.EV.stopBubble(); //阻止向上冒泡
  2187. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  2188. if (_buttonnumber < 2) {
  2189. //如果是click事件的处理
  2190. if (event.type == "click") {
  2191. //如果元素在mousemove事件中没有移动则出发click事件
  2192. if (!U.MD.D.I.IsDrag) {
  2193. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2194. U.alert("请先登录您的账号!");
  2195. setTimeout(() => {
  2196. U.MD.U.L.login();
  2197. }, 2000);
  2198. } else {
  2199. //打开应用处理
  2200. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2201. }
  2202. }
  2203. }
  2204. //如果是mouse事件的处理
  2205. else {
  2206. if (US.Config.type == '1') {
  2207. //拖动处理,添加拖动和拖动结束事件
  2208. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2209. }
  2210. }
  2211. U.MD.D.I.IsDrag = false;
  2212. }
  2213. }
  2214. /**
  2215. * 拖动的处理
  2216. *
  2217. */
  2218. U.MD.D.iconMove = function () {
  2219. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  2220. U.MD.D.I.IsDrag = true;
  2221. }
  2222. /**
  2223. * 拖动结束后,这里是定位处理,以网状的形式定位
  2224. *
  2225. * @param {element} 拖动的元素
  2226. * @return {object} 命名空间
  2227. */
  2228. U.MD.D.iconUp = function (el) {
  2229. var _top = 15,
  2230. _left = 20,
  2231. _margin,
  2232. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  2233. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  2234. if (_positioninfo["OT"] > 15) {
  2235. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  2236. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2237. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2238. }
  2239. if (_positioninfo["OL"] > 20) {
  2240. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  2241. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2242. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2243. }
  2244. //while循环判断么一个重叠的元素
  2245. do {
  2246. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  2247. _top = _positioninfo[0] + 95; //得到定位后的top
  2248. _left = _positioninfo[1]; //得到定位后的left
  2249. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2250. }
  2251. /**
  2252. * 判断拖动后图标是否重叠
  2253. *
  2254. * @param {element} 拖动的元素
  2255. * @param {element} 桌面所有的元素
  2256. * @param {array} 拖动元素的位置
  2257. ----------[0] 上 top
  2258. ----------[1] 左 left
  2259. * @return {object} 命名空间
  2260. */
  2261. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2262. //循环所有的图标
  2263. for (var i = 0; i < childs.length; i++) {
  2264. //判断有没有和该图标诶子重叠的元素
  2265. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2266. return childs[i]; //如果有返回
  2267. }
  2268. }
  2269. }
  2270. //#endregion
  2271. //#endregion
  2272. //#region 桌面应用
  2273. /**
  2274. * 打开应用
  2275. *
  2276. * @param {string} 类型
  2277. -----------------Disk 网盘系统
  2278. -----------------PDisk 学习系统网盘
  2279. -----------------Poto 图片
  2280. -----------------Video 视频
  2281. -----------------Music 音乐
  2282. -----------------Word word
  2283. -----------------Excel excel
  2284. -----------------Txt 记事本
  2285. -----------------PB 学习系统
  2286. -----------------Blog 朋友圈系统
  2287. -----------------FTP ftp系统
  2288. -----------------Group 好友群
  2289. -----------------SY 首页系统
  2290. -----------------Set 个人设置
  2291. -----------------XSet 系统设置
  2292. -----------------App 我们所有的app
  2293. -----------------BC c.1473.cn 平台
  2294. -----------------CWeb d.1473.cn 变成平台
  2295. -----------------其他的外联系统 我们统一用iframe打开
  2296. * @param {array} 类型
  2297. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  2298. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  2299. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  2300. 如果第一个参数为其他,则无第二个参数
  2301. * @returns {array}
  2302. */
  2303. window.addEventListener('message', function (e) { // 监听 message 事件
  2304. // alert(e.data.type);
  2305. if (e.data.screenType && e.data.screenType == "2") { //课程管理传入
  2306. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2307. //3是展示全部阶段 2学生 1老师 4专家
  2308. } else if (e.data.screenType && e.data.screenType == "2s") { //课程管理传入
  2309. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2310. //3是展示全部阶段 2学生 1老师 4专家
  2311. } else if (e.data.screenType && e.data.screenType == "2studio") { //课程管理传入
  2312. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2313. //3是展示全部阶段 2学生 1老师 4专家
  2314. } else if (e.data.screenType && e.data.screenType == "3") { //课程管理传入
  2315. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2316. } else if (e.data.screenType && e.data.screenType == "3NT") { //课程管理传入
  2317. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2318. } else if (e.data.screenType && e.data.screenType == "3s") { //课程管理传入
  2319. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2320. } else if (e.data.screenType && e.data.screenType == "3studio") { //课程管理传入
  2321. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2322. } else if (e.data.screenType && e.data.screenType == "3s2") { //课程管理传入
  2323. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2324. } else if (e.data.screenType && e.data.screenType == "2gm") { //课程管理传入
  2325. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2326. //3是展示全部阶段 2学生 1老师 4专家
  2327. } else if (e.data.screenType && e.data.screenType == "3gm") { //课程管理传入
  2328. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2329. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  2330. U.MD.D.I.selectUser();
  2331. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2332. var _formel = document.getElementById("study");
  2333. U.UF.F.windowZooming(_formel);
  2334. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2335. var _formel = document.getElementById("studyDetail");
  2336. U.UF.F.windowZooming(_formel);
  2337. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2338. var _formel = document.getElementById("studyDetail");
  2339. U.UF.F.windowZooming(_formel);
  2340. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2341. var _formel = document.getElementById("studentStudy");
  2342. U.UF.F.windowZooming(_formel);
  2343. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2344. // var _formel = document.getElementById("study");
  2345. //如果最大化了,那么就把他缩小
  2346. // if (_formel.ismaximize) {
  2347. // return;
  2348. // }
  2349. // U.UF.F.windowZooming(_formel);
  2350. // U.UF.F.topWindow(_formel);
  2351. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2352. // var _formel = document.getElementById("studyDetail");
  2353. //如果最大化了,那么就把他缩小
  2354. // if (_formel.ismaximize) {
  2355. // return;
  2356. // }
  2357. // U.UF.F.windowZooming(_formel);
  2358. // U.UF.F.topWindow(_formel);
  2359. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2360. // var _formel = document.getElementById("studentStudy");
  2361. // if (_formel.ismaximize) {
  2362. // return;
  2363. // }
  2364. // U.UF.F.windowZooming(_formel);
  2365. // U.UF.F.topWindow(_formel);
  2366. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2367. var _formel = document.getElementById("study");
  2368. // if (_formel.ismaximize) {
  2369. // return;
  2370. // }
  2371. // U.UF.F.windowZooming(_formel);
  2372. U.UF.F.topWindow(_formel);
  2373. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2374. var _formel = document.getElementById("studentIndex");
  2375. U.UF.F.windowZooming(_formel);
  2376. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2377. var _formel = document.getElementById("studyDetailS");
  2378. U.UF.F.windowZooming(_formel);
  2379. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2380. var _formel = document.getElementById("studioIndex");
  2381. U.UF.F.windowZooming(_formel);
  2382. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2383. var _formel = document.getElementById("studyDetailStudio");
  2384. U.UF.F.windowZooming(_formel);
  2385. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2386. var _formel = document.getElementById("studyDetailStudio");
  2387. U.UF.F.windowZooming(_formel);
  2388. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2389. var _formel = document.getElementById("studyDetailNT");
  2390. U.UF.F.windowZooming(_formel);
  2391. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2392. var _formel = document.getElementById("studyDetailS");
  2393. U.UF.F.windowZooming(_formel);
  2394. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2395. var _formel = document.getElementById("studyDetailS");
  2396. U.UF.F.topWindow(_formel);
  2397. } else if (e.data.tools && e.data.tools == "1") {
  2398. // U.MD.D.I.openApplication("whiteboard")
  2399. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2400. } else if (e.data.tools && e.data.tools == "2") {
  2401. U.MD.D.I.openApplication("note")
  2402. } else if (e.data.tools && e.data.tools == "3") {
  2403. // U.MD.D.I.openApplication("mind")
  2404. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2405. } else if (e.data.tools && e.data.tools == "4") {
  2406. U.MD.D.I.openApplication("investigation")
  2407. } else if (e.data.tools && e.data.tools == "6") {
  2408. // U.MD.D.I.openApplication("doc")
  2409. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2410. } else if (e.data.tools && e.data.tools == "7") {
  2411. // U.MD.D.I.openApplication("mindNetwork")
  2412. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2413. } else if (e.data.tools && e.data.tools == "8") {
  2414. U.MD.D.I.openApplication("library")
  2415. } else if (e.data.tools && e.data.tools == "17") {
  2416. U.MD.D.I.openApplication("stuLibrary")
  2417. } else if (e.data.tools && e.data.tools == "18") {
  2418. U.MD.D.I.openApplication("train")
  2419. } else if (e.data.tools && e.data.tools == "21") {
  2420. U.MD.D.I.openApplication("program")
  2421. } else if (e.data.tools && e.data.tools == "22") {
  2422. U.MD.D.I.openApplication("AIprogram2")
  2423. } else if (e.data.tools && e.data.tools == "23") {
  2424. U.MD.D.I.openApplication("Pythonprogram")
  2425. } else if (e.data.tools && e.data.tools == "24") {
  2426. U.MD.D.I.openApplication("AIprogram")
  2427. } else if (e.data.tools && e.data.tools == "25") {
  2428. U.MD.D.I.openApplication("sys")
  2429. } else if (e.data.tools && e.data.tools == "26") {
  2430. // U.MD.D.I.openApplication("courseDesign")
  2431. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2432. } else if (e.data.tools && e.data.tools == "31") {
  2433. U.MD.D.I.openApplication("netWorkPanel")
  2434. } else if (e.data.tools && e.data.tools == "32") {
  2435. U.MD.D.I.openApplication("codeEdit")
  2436. } else if (e.data.tools && e.data.tools == "57") {
  2437. U.MD.D.I.openApplication("CocoPi")
  2438. } else if (e.data.tools && e.data.tools == "63") {
  2439. U.MD.D.I.openApplication("Wood")
  2440. } else if (e.data.tools && e.data.tools == "58") {
  2441. U.MD.D.I.openApplication("car")
  2442. } else if (e.data.tools && e.data.tools == "59") {
  2443. U.MD.D.I.openApplication("lineSearch")
  2444. } else if (e.data.tools && e.data.tools == "60") {
  2445. U.MD.D.I.openApplication("deepLearning")
  2446. } else if (e.data.tools && e.data.tools == "61") {
  2447. U.MD.D.I.openApplication("allHistory")
  2448. } else if (e.data.tools && e.data.tools == "28") {
  2449. U.MD.D.I.openApplication("translation")
  2450. } else if (e.data.tools && e.data.tools == "37") {
  2451. U.MD.D.I.openApplication("mohe")
  2452. } else if (e.data.tools && e.data.tools == "38") {
  2453. U.MD.D.I.openApplication("24game")
  2454. } else if (e.data.tools && e.data.tools == "39") {
  2455. U.MD.D.I.openApplication("GeoGebra")
  2456. } else if (e.data.tools && e.data.tools == "43") {
  2457. U.MD.D.I.openApplication("studentEvaluate")
  2458. } else if (e.data.tools && e.data.tools == "44") {
  2459. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2460. } else if (e.data.tools && e.data.tools == "46") {
  2461. U.MD.D.I.openApplication("project")
  2462. } else if (e.data.tools && e.data.tools == "1s") {
  2463. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2464. } else if (e.data.tools && e.data.tools == "3s") {
  2465. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2466. } else if (e.data.tools && e.data.tools == "6s") {
  2467. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2468. } else if (e.data.tools && e.data.tools == "1studio") {
  2469. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2470. } else if (e.data.tools && e.data.tools == "3studio") {
  2471. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2472. } else if (e.data.tools && e.data.tools == "6studio") {
  2473. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2474. } else if (e.data.tools && e.data.tools == "3y") {
  2475. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2476. } else if (e.data.tools && e.data.tools == "1y") {
  2477. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2478. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2479. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2480. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2481. U.MD.D.I.openApplication("AIAnalyse")
  2482. } else if (e.data.tools && e.data.tools == "1teacher") {
  2483. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2484. } else if (e.data.tools && e.data.tools == "3teacher") {
  2485. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2486. } else if (e.data.tools && e.data.tools == "7teacher") {
  2487. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2488. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2489. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2490. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2491. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2492. } else if (e.data.tools && e.data.tools == "1E") {
  2493. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2494. } else if (e.data.tools && e.data.tools == "3E") {
  2495. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2496. } else if (e.data.tools && e.data.tools == "57y") {
  2497. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2498. } else if (e.data.tools && e.data.tools == "57u") {
  2499. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2500. } else if (e.data.tools && e.data.tools == "57teacher") {
  2501. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2502. } else if (e.data.tools && e.data.tools == "64") {
  2503. U.MD.D.I.openApplication("AIChat")
  2504. } else if (e.data.tools && e.data.tools == "66") {
  2505. U.MD.D.I.openApplication("formulaEdi")
  2506. } else if (e.data.tools && e.data.tools == "67") {
  2507. U.MD.D.I.openApplication("molStr")
  2508. } else if (e.data.tools && e.data.tools == "68") {
  2509. U.MD.D.I.openApplication("timeAxis")
  2510. } else if (e.data.tools && e.data.tools == "openCourse") {
  2511. let _data = {
  2512. typea: e.data.typea || '',
  2513. typeb: e.data.typeb || '',
  2514. typed: e.data.typed || '',
  2515. }
  2516. U.MD.D.I.openInApplication("index", _data)
  2517. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2518. let _data = {
  2519. classid: e.data.classid || '',
  2520. }
  2521. U.MD.D.I.openInApplication("dataClass", _data)
  2522. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2523. let _data = {
  2524. cid: e.data.cid || '',
  2525. gid: e.data.gid || '',
  2526. }
  2527. U.MD.D.I.openInApplication("opencCscl", _data)
  2528. }
  2529. });
  2530. U.MD.D.I.selectUser = function () {
  2531. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2532. if (res.value[0].length > 0) {
  2533. US.userInfo = res.value[0][0];
  2534. $(".userName")[0].innerHTML = US.userInfo.username;
  2535. }
  2536. }, [], { "type": "GET", "withCredentials": true });
  2537. }
  2538. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2539. var _userinfo = US.userInfo, //登录用户信息
  2540. _userid = US.userInfo.userid, //登录用户id
  2541. _oid = _userinfo.organizeid,
  2542. _type = US.userInfo.type,
  2543. _org = US.userInfo.org,
  2544. _role = US.userInfo.role,
  2545. _classId = US.userInfo.classid;
  2546. if (_type == 4) {
  2547. tType = 4
  2548. }
  2549. switch (str) {
  2550. case "studyDetailNT": //无终端模式
  2551. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2552. setTimeout(() => {
  2553. U.MD.U.L.login();
  2554. }, 2000);
  2555. } else {
  2556. _formdiv = new U.UF.UI.form(
  2557. "课程详情",
  2558. $$("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 }), {
  2559. "id": "studyDetailNT",
  2560. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2561. "onresize": function () { }
  2562. }, {
  2563. closecallback: function () { }
  2564. }, { "style": { "height": "36px" } }).form; //创建窗体
  2565. _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); } }
  2566. break;
  2567. }
  2568. case "studyDetail":
  2569. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2570. setTimeout(() => {
  2571. U.MD.U.L.login();
  2572. }, 2000);
  2573. } else {
  2574. _formdiv = new U.UF.UI.form(
  2575. "课程详情",
  2576. $$("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 }), {
  2577. "id": "studyDetail",
  2578. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2579. "onresize": function () { }
  2580. }, {
  2581. closecallback: function () { }
  2582. }, { "style": { "height": "36px" } }).form; //创建窗体
  2583. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2584. break;
  2585. }
  2586. case "studyDetailS":
  2587. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2588. setTimeout(() => {
  2589. U.MD.U.L.login();
  2590. }, 2000);
  2591. } else {
  2592. _formdiv = new U.UF.UI.form(
  2593. "项目详情",
  2594. $$("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 }), {
  2595. "id": "studyDetailS",
  2596. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2597. "onresize": function () { }
  2598. }, {
  2599. closecallback: function () { }
  2600. }, { "style": { "height": "36px" } }).form; //创建窗体
  2601. _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); } }
  2602. break;
  2603. }
  2604. case "studyDetailStudio":
  2605. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2606. setTimeout(() => {
  2607. U.MD.U.L.login();
  2608. }, 2000);
  2609. } else {
  2610. _formdiv = new U.UF.UI.form(
  2611. "工作详情",
  2612. $$("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 }), {
  2613. "id": "studyDetailStudio",
  2614. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2615. "onresize": function () { }
  2616. }, {
  2617. closecallback: function () { }
  2618. }, { "style": { "height": "36px" } }).form; //创建窗体
  2619. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作详情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2620. break;
  2621. }
  2622. case "studyDetailS5":
  2623. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2624. setTimeout(() => {
  2625. U.MD.U.L.login();
  2626. }, 2000);
  2627. } else {
  2628. _formdiv = new U.UF.UI.form(
  2629. "项目详情",
  2630. $$("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 }), {
  2631. "id": "studyDetailS",
  2632. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2633. "onresize": function () { }
  2634. }, {
  2635. closecallback: function () { }
  2636. }, { "style": { "height": "36px" } }).form; //创建窗体
  2637. _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); } }
  2638. break;
  2639. }
  2640. case "studyDetailGM":
  2641. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2642. setTimeout(() => {
  2643. U.MD.U.L.login();
  2644. }, 2000);
  2645. } else {
  2646. _formdiv = new U.UF.UI.form(
  2647. "课程详情",
  2648. $$("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 }), {
  2649. "id": "studyDetail",
  2650. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2651. "onresize": function () { }
  2652. }, {
  2653. closecallback: function () { }
  2654. }, { "style": { "height": "36px" } }).form; //创建窗体
  2655. _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); } }
  2656. break;
  2657. }
  2658. case "hanUrl":
  2659. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2660. setTimeout(() => {
  2661. U.MD.U.L.login();
  2662. }, 2000);
  2663. } else {
  2664. _formdiv = new U.UF.UI.form(
  2665. "汉字宫",
  2666. $$("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" }), {
  2667. "id": "hanUrl",
  2668. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2669. "onresize": function () { }
  2670. }, {
  2671. closecallback: function () { }
  2672. }, { "style": { "height": "36px" } }).form; //创建窗体
  2673. _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); } }
  2674. break;
  2675. }
  2676. case "index":
  2677. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2678. setTimeout(() => {
  2679. U.MD.U.L.login();
  2680. }, 2000);
  2681. } else {
  2682. _formdiv = new U.UF.UI.form(
  2683. "课程中心",
  2684. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  2685. "id": "study",
  2686. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2687. "onresize": function () { }
  2688. }, {
  2689. closecallback: function () { }
  2690. }, { "style": { "height": "36px" } }).form; //创建窗体
  2691. _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); } }
  2692. break;
  2693. }
  2694. case "dataClass":
  2695. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2696. setTimeout(() => {
  2697. U.MD.U.L.login();
  2698. }, 2000);
  2699. } else {
  2700. _formdiv = new U.UF.UI.form(
  2701. "数据报告",
  2702. $$("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/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  2703. "id": "dataClass",
  2704. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2705. "onresize": function () { }
  2706. }, {
  2707. closecallback: function () { }
  2708. }, { "style": { "height": "36px" } }).form; //创建窗体
  2709. _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); } }
  2710. break;
  2711. }
  2712. case "opencCscl":
  2713. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2714. setTimeout(() => {
  2715. U.MD.U.L.login();
  2716. }, 2000);
  2717. } else {
  2718. _formdiv = new U.UF.UI.form(
  2719. "协同建构",
  2720. $$("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": "https://cscl.cocorobo.cn?cid=" + data.cid + "&gid=" + data.gid }), {
  2721. "id": "futureClass",
  2722. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2723. "onresize": function () { }
  2724. }, {
  2725. closecallback: function () { }
  2726. }, { "style": { "height": "36px" } }).form; //创建窗体
  2727. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2728. break;
  2729. }
  2730. }
  2731. }
  2732. U.MD.D.I.openApplication = function (str, obj, info) {
  2733. obj = obj || {};
  2734. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2735. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2736. _userinfo = US.userInfo, //登录用户信息
  2737. _userid = obj.userid || US.userInfo.userid, //登录用户id
  2738. _oid = obj.organizeid || _userinfo.organizeid,
  2739. _type = US.userInfo.type,
  2740. _org = US.userInfo.org,
  2741. _role = US.userInfo.role,
  2742. _classId = US.userInfo.classid,
  2743. _TscreenType = 1
  2744. _screenType = 2,
  2745. _SscreenType = 3;
  2746. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2747. return;
  2748. }
  2749. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2750. switch (str) {
  2751. case "studnetProject": //好友打开
  2752. _formdiv = new U.UF.UI.form(
  2753. "我的项目",
  2754. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2755. "id": "studnetProject",
  2756. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2757. "onresize": function () { }
  2758. }, {
  2759. closecallback: function () { }
  2760. }, { "style": { "height": "36px" } }).form; //创建窗体
  2761. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2762. break;
  2763. case "studentEvaluate": //好友打开
  2764. _formdiv = new U.UF.UI.form(
  2765. "我的评价",
  2766. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2767. "id": "studentEvaluate",
  2768. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2769. "onresize": function () { }
  2770. }, {
  2771. closecallback: function () { }
  2772. }, { "style": { "height": "36px" } }).form; //创建窗体
  2773. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2774. break;
  2775. case "my":
  2776. _formdiv = new U.UF.UI.form(
  2777. "我的资料",
  2778. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2779. "id": "my",
  2780. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2781. "onresize": function () { }
  2782. }, {
  2783. closecallback: function () { }
  2784. }, { "style": { "height": "36px" } }).form; //创建窗体
  2785. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2786. break;
  2787. case "program":
  2788. _formdiv = new U.UF.UI.form(
  2789. "编程平台",
  2790. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2791. "id": "program",
  2792. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2793. "onresize": function () { }
  2794. }, {
  2795. closecallback: function () { }
  2796. }, { "style": { "height": "36px" } }).form; //创建窗体
  2797. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2798. break;
  2799. case "library":
  2800. _formdiv = new U.UF.UI.form(
  2801. "素材库",
  2802. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2803. "id": "library",
  2804. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2805. "onresize": function () { }
  2806. }, {
  2807. closecallback: function () { }
  2808. }, { "style": { "height": "36px" } }).form; //创建窗体
  2809. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2810. break;
  2811. case "whiteboard":
  2812. _formdiv = new U.UF.UI.form(
  2813. "电子白板",
  2814. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  2815. "id": "whiteboard",
  2816. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2817. "onresize": function () { }
  2818. }, {
  2819. closecallback: function () { }
  2820. }, { "style": { "height": "36px" } }).form; //创建窗体
  2821. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2822. break;
  2823. case "investigation":
  2824. _formdiv = new U.UF.UI.form(
  2825. "问卷调查",
  2826. $$("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 }), {
  2827. "id": "investigation",
  2828. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2829. "onresize": function () { }
  2830. }, {
  2831. closecallback: function () { }
  2832. }, { "style": { "height": "36px" } }).form; //创建窗体
  2833. _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); } }
  2834. break;
  2835. case "note":
  2836. _formdiv = new U.UF.UI.form(
  2837. "便签分类",
  2838. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  2839. "id": "note",
  2840. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2841. "onresize": function () { }
  2842. }, {
  2843. closecallback: function () { }
  2844. }, { "style": { "height": "36px" } }).form; //创建窗体
  2845. _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); } }
  2846. break;
  2847. // case "score":
  2848. // _formdiv = new U.UF.UI.form(
  2849. // "量规评分",
  2850. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2851. // "id": "score",
  2852. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2853. // "onresize": function() {}
  2854. // }, {
  2855. // closecallback: function() {}
  2856. // }, { "style": { "height": "36px" } }).form; //创建窗体
  2857. // _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); } }
  2858. // break;
  2859. case "mind":
  2860. _formdiv = new U.UF.UI.form(
  2861. "思维导图",
  2862. $$("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"
  2863. "id": "mind",
  2864. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2865. "onresize": function () { }
  2866. }, {
  2867. closecallback: function () { }
  2868. }, { "style": { "height": "36px" } }).form; //创建窗体
  2869. _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); } }
  2870. break;
  2871. case "doc":
  2872. // U.MD.D.I.isRoom();
  2873. _formdiv = new U.UF.UI.form(
  2874. "协同文档",
  2875. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2876. "id": "doc",
  2877. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2878. "onresize": function () { }
  2879. }, {
  2880. closecallback: function () { }
  2881. }, { "style": { "height": "36px" } }).form; //创建窗体
  2882. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2883. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2884. // })
  2885. _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); } }
  2886. break;
  2887. case "studentStudy":
  2888. _formdiv = new U.UF.UI.form(
  2889. "课程中心",
  2890. $$("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
  2891. "id": "studentStudy",
  2892. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2893. "onresize": function () { }
  2894. }, {
  2895. closecallback: function () { }
  2896. }, { "style": { "height": "36px" } }).form; //创建窗体
  2897. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "课程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2898. break;
  2899. case "train": //好友打开
  2900. _formdiv = new U.UF.UI.form(
  2901. "训练平台",
  2902. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2903. "id": "train",
  2904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2905. "onresize": function () { }
  2906. }, {
  2907. closecallback: function () { }
  2908. }, { "style": { "height": "36px" } }).form; //创建窗体
  2909. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "训练平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2910. break;
  2911. case "mindNetwork": //好友打开
  2912. _formdiv = new U.UF.UI.form(
  2913. "思维网格",
  2914. $$("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 }), {
  2915. "id": "mindNetwork",
  2916. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2917. "onresize": function () { }
  2918. }, {
  2919. closecallback: function () { }
  2920. }, { "style": { "height": "36px" } }).form; //创建窗体
  2921. _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); } }
  2922. break;
  2923. case "studentClassRoom": //好友打开
  2924. _formdiv = new U.UF.UI.form(
  2925. "实时课堂",
  2926. $$("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 }), {
  2927. "id": "studentClassRoom",
  2928. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2929. "onresize": function () { }
  2930. }, {
  2931. closecallback: function () { }
  2932. }, { "style": { "height": "36px" } }).form; //创建窗体
  2933. _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); } }
  2934. setTimeout(() => {
  2935. U.UF.F.windowZooming(_formdiv)
  2936. }, 0);
  2937. break;
  2938. }
  2939. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2940. switch (str) {
  2941. case "studnetProject": //好友打开
  2942. _formdiv = new U.UF.UI.form(
  2943. "我的项目",
  2944. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  2945. "id": "studnetProject",
  2946. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2947. "onresize": function () { }
  2948. }, {
  2949. closecallback: function () { }
  2950. }, { "style": { "height": "36px" } }).form; //创建窗体
  2951. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的项目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2952. break;
  2953. case "studentEvaluate": //好友打开
  2954. _formdiv = new U.UF.UI.form(
  2955. "我的评价",
  2956. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  2957. "id": "studentEvaluate",
  2958. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2959. "onresize": function () { }
  2960. }, {
  2961. closecallback: function () { }
  2962. }, { "style": { "height": "36px" } }).form; //创建窗体
  2963. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2964. break;
  2965. case "my":
  2966. _formdiv = new U.UF.UI.form(
  2967. "我的资料",
  2968. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  2969. "id": "my",
  2970. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2971. "onresize": function () { }
  2972. }, {
  2973. closecallback: function () { }
  2974. }, { "style": { "height": "36px" } }).form; //创建窗体
  2975. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2976. break;
  2977. case "program":
  2978. _formdiv = new U.UF.UI.form(
  2979. "编程平台",
  2980. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2981. "id": "program",
  2982. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2983. "onresize": function () { }
  2984. }, {
  2985. closecallback: function () { }
  2986. }, { "style": { "height": "36px" } }).form; //创建窗体
  2987. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2988. break;
  2989. case "library":
  2990. _formdiv = new U.UF.UI.form(
  2991. "素材库",
  2992. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  2993. "id": "library",
  2994. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2995. "onresize": function () { }
  2996. }, {
  2997. closecallback: function () { }
  2998. }, { "style": { "height": "36px" } }).form; //创建窗体
  2999. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材库", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3000. break;
  3001. case "whiteboard":
  3002. _formdiv = new U.UF.UI.form(
  3003. "电子白板",
  3004. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3005. "id": "whiteboard",
  3006. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3007. "onresize": function () { }
  3008. }, {
  3009. closecallback: function () { }
  3010. }, { "style": { "height": "36px" } }).form; //创建窗体
  3011. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "电子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3012. break;
  3013. case "investigation":
  3014. _formdiv = new U.UF.UI.form(
  3015. "问卷调查",
  3016. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3017. "id": "investigation",
  3018. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3019. "onresize": function () { }
  3020. }, {
  3021. closecallback: function () { }
  3022. }, { "style": { "height": "36px" } }).form; //创建窗体
  3023. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "问卷调查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3024. break;
  3025. case "note":
  3026. _formdiv = new U.UF.UI.form(
  3027. "便签分类",
  3028. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3029. "id": "note",
  3030. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3031. "onresize": function () { }
  3032. }, {
  3033. closecallback: function () { }
  3034. }, { "style": { "height": "36px" } }).form; //创建窗体
  3035. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便签分类", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3036. break;
  3037. // case "score":
  3038. // _formdiv = new U.UF.UI.form(
  3039. // "量规评分",
  3040. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3041. // "id": "score",
  3042. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3043. // "onresize": function() {}
  3044. // }, {
  3045. // closecallback: function() {}
  3046. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3047. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量规评分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3048. // break;
  3049. case "mind":
  3050. _formdiv = new U.UF.UI.form(
  3051. "思维导图",
  3052. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3053. "id": "mind",
  3054. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3055. "onresize": function () { }
  3056. }, {
  3057. closecallback: function () { }
  3058. }, { "style": { "height": "36px" } }).form; //创建窗体
  3059. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思维导图", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3060. break;
  3061. case "doc":
  3062. // U.MD.D.I.isRoom();
  3063. _formdiv = new U.UF.UI.form(
  3064. "协同文档",
  3065. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3066. "id": "doc",
  3067. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3068. "onresize": function () { }
  3069. }, {
  3070. closecallback: function () { }
  3071. }, { "style": { "height": "36px" } }).form; //创建窗体
  3072. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3073. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3074. })
  3075. _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); } }
  3076. break;
  3077. case "train": //好友打开
  3078. _formdiv = new U.UF.UI.form(
  3079. "训练平台",
  3080. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3081. "id": "train",
  3082. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function () { }
  3084. }, {
  3085. closecallback: function () { }
  3086. }, { "style": { "height": "36px" } }).form; //创建窗体
  3087. _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); } }
  3088. break;
  3089. case "studentStudy":
  3090. _formdiv = new U.UF.UI.form(
  3091. "课程中心",
  3092. $$("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
  3093. "id": "studentStudy",
  3094. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3095. "onresize": function () { }
  3096. }, {
  3097. closecallback: function () { }
  3098. }, { "style": { "height": "36px" } }).form; //创建窗体
  3099. _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); } }
  3100. break;
  3101. case "mindNetwork": //好友打开
  3102. _formdiv = new U.UF.UI.form(
  3103. "思维网格",
  3104. $$("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 }), {
  3105. "id": "mindNetwork",
  3106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3107. "onresize": function () { }
  3108. }, {
  3109. closecallback: function () { }
  3110. }, { "style": { "height": "36px" } }).form; //创建窗体
  3111. _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); } }
  3112. break;
  3113. case "studentClassRoom": //好友打开
  3114. _formdiv = new U.UF.UI.form(
  3115. "实时课堂",
  3116. $$("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 }), {
  3117. "id": "studentClassRoom",
  3118. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3119. "onresize": function () { }
  3120. }, {
  3121. closecallback: function () { }
  3122. }, { "style": { "height": "36px" } }).form; //创建窗体
  3123. _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); } }
  3124. setTimeout(() => {
  3125. U.UF.F.windowZooming(_formdiv)
  3126. }, 0);
  3127. break;
  3128. }
  3129. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3130. //选择应用处理
  3131. switch (str) {
  3132. case "project": //好友打开
  3133. _formdiv = new U.UF.UI.form(
  3134. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理",
  3135. $$("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 }), {
  3136. "id": "project",
  3137. "style": { "width": "90%", "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/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作项目' : "课程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3143. break;
  3144. case "student":
  3145. _formdiv = new U.UF.UI.form(
  3146. "学生管理",
  3147. $$("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 + "&role=" + _role }), {
  3148. "id": "student",
  3149. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3150. "onresize": function () { }
  3151. }, {
  3152. closecallback: function () { }
  3153. }, { "style": { "height": "36px" } }).form; //创建窗体
  3154. _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); } }
  3155. break;
  3156. case "evaluate":
  3157. _formdiv = new U.UF.UI.form(
  3158. "学生评价",
  3159. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3160. "id": "evaluate",
  3161. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3162. "onresize": function () { }
  3163. }, {
  3164. closecallback: function () { }
  3165. }, { "style": { "height": "36px" } }).form; //创建窗体
  3166. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3167. break;
  3168. case "sys":
  3169. _formdiv = new U.UF.UI.form(
  3170. "目标管理",
  3171. $$("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 }), {
  3172. "id": "sys",
  3173. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3174. "onresize": function () { }
  3175. }, {
  3176. closecallback: function () { }
  3177. }, { "style": { "height": "36px" } }).form; //创建窗体
  3178. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目标管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3179. break;
  3180. case "courseDesign":
  3181. _formdiv = new U.UF.UI.form(
  3182. "项目设计",
  3183. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3184. "id": "courseDesign",
  3185. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3186. "onresize": function () { }
  3187. }, {
  3188. closecallback: function () { }
  3189. }, { "style": { "height": "36px" } }).form; //创建窗体
  3190. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "项目设计", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3191. break;
  3192. case "program":
  3193. _formdiv = new U.UF.UI.form(
  3194. "编程平台",
  3195. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3196. "id": "program",
  3197. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3198. "onresize": function () { }
  3199. }, {
  3200. closecallback: function () { }
  3201. }, { "style": { "height": "36px" } }).form; //创建窗体
  3202. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "编程平台", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3203. break;
  3204. case "class":
  3205. _formdiv = new U.UF.UI.form(
  3206. "班级管理",
  3207. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3208. "id": "class",
  3209. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3210. "onresize": function () { }
  3211. }, {
  3212. closecallback: function () { }
  3213. }, { "style": { "height": "36px" } }).form; //创建窗体
  3214. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3215. break;
  3216. case "Grade":
  3217. _formdiv = new U.UF.UI.form(
  3218. "年级管理",
  3219. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3220. "id": "Grade",
  3221. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3222. "onresize": function () { }
  3223. }, {
  3224. closecallback: function () { }
  3225. }, { "style": { "height": "36px" } }).form; //创建窗体
  3226. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3227. break;
  3228. case "teacherOffice":
  3229. _formdiv = new U.UF.UI.form(
  3230. "教研室",
  3231. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3232. "id": "teacherOffice",
  3233. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3234. "onresize": function () { }
  3235. }, {
  3236. closecallback: function () { }
  3237. }, { "style": { "height": "36px" } }).form; //创建窗体
  3238. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3239. break;
  3240. case "my":
  3241. _formdiv = new U.UF.UI.form(
  3242. "我的资料",
  3243. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3244. "id": "my",
  3245. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3246. "onresize": function () { }
  3247. }, {
  3248. closecallback: function () { }
  3249. }, { "style": { "height": "36px" } }).form; //创建窗体
  3250. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的资料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3251. break;
  3252. case "notice":
  3253. _formdiv = new U.UF.UI.form(
  3254. "通知公告",
  3255. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3256. "id": "notice",
  3257. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3258. "onresize": function () { }
  3259. }, {
  3260. closecallback: function () { }
  3261. }, { "style": { "height": "36px" } }).form; //创建窗体
  3262. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3263. break;
  3264. case "library":
  3265. _formdiv = new U.UF.UI.form(
  3266. "素材库",
  3267. $$("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 }), {
  3268. "id": "library",
  3269. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3270. "onresize": function () { }
  3271. }, {
  3272. closecallback: function () { }
  3273. }, { "style": { "height": "36px" } }).form; //创建窗体
  3274. _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); } }
  3275. break;
  3276. case "whiteboard":
  3277. _formdiv = new U.UF.UI.form(
  3278. "电子白板",
  3279. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3280. "id": "whiteboard",
  3281. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3282. "onresize": function () { }
  3283. }, {
  3284. closecallback: function () { }
  3285. }, { "style": { "height": "36px" } }).form; //创建窗体
  3286. _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); } }
  3287. break;
  3288. case "investigation":
  3289. _formdiv = new U.UF.UI.form(
  3290. "问卷调查",
  3291. $$("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 }), {
  3292. "id": "investigation",
  3293. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3294. "onresize": function () { }
  3295. }, {
  3296. closecallback: function () { }
  3297. }, { "style": { "height": "36px" } }).form; //创建窗体
  3298. _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); } }
  3299. break;
  3300. case "note":
  3301. _formdiv = new U.UF.UI.form(
  3302. "便签分类",
  3303. $$("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 }), {
  3304. "id": "note",
  3305. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3306. "onresize": function () { }
  3307. }, {
  3308. closecallback: function () { }
  3309. }, { "style": { "height": "36px" } }).form; //创建窗体
  3310. _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); } }
  3311. break;
  3312. // case "score":
  3313. // _formdiv = new U.UF.UI.form(
  3314. // "量规评分",
  3315. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3316. // "id": "score",
  3317. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3318. // "onresize": function() {}
  3319. // }, {
  3320. // closecallback: function() {}
  3321. // }, { "style": { "height": "36px" } }).form; //创建窗体
  3322. // _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); } }
  3323. // break;
  3324. case "mind":
  3325. _formdiv = new U.UF.UI.form(
  3326. "思维导图",
  3327. $$("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"
  3328. "id": "mind",
  3329. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3330. "onresize": function () { }
  3331. }, {
  3332. closecallback: function () { }
  3333. }, { "style": { "height": "36px" } }).form; //创建窗体
  3334. _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); } }
  3335. break;
  3336. case "doc":
  3337. // U.MD.D.I.isRoom();
  3338. _formdiv = new U.UF.UI.form(
  3339. "协同文档",
  3340. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3341. "id": "doc",
  3342. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3343. "onresize": function () { }
  3344. }, {
  3345. closecallback: function () { }
  3346. }, { "style": { "height": "36px" } }).form; //创建窗体
  3347. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3348. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3349. })
  3350. _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); } }
  3351. break;
  3352. case "study":
  3353. _formdiv = new U.UF.UI.form(
  3354. "课程中心",
  3355. $$("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
  3356. "id": "study",
  3357. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3358. "onresize": function () { }
  3359. }, {
  3360. closecallback: function () { }
  3361. }, { "style": { "height": "36px" } }).form; //创建窗体
  3362. _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); } }
  3363. break;
  3364. case "mindNetwork": //好友打开
  3365. _formdiv = new U.UF.UI.form(
  3366. "思维网格",
  3367. $$("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 }), {
  3368. "id": "mindNetwork",
  3369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3370. "onresize": function () { }
  3371. }, {
  3372. closecallback: function () { }
  3373. }, { "style": { "height": "36px" } }).form; //创建窗体
  3374. _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); } }
  3375. break;
  3376. case "train": //好友打开
  3377. _formdiv = new U.UF.UI.form(
  3378. "训练平台",
  3379. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3380. "id": "mindNetwork",
  3381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. _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); } }
  3387. break;
  3388. case "teacherClassRoom": //好友打开
  3389. _formdiv = new U.UF.UI.form(
  3390. "实时课堂",
  3391. $$("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 }), {
  3392. "id": "teacherClassRoom",
  3393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function () { }
  3395. }, {
  3396. closecallback: function () { }
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. _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); } }
  3399. setTimeout(() => {
  3400. U.UF.F.windowZooming(_formdiv)
  3401. }, 0);
  3402. break;
  3403. }
  3404. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3405. switch (str) {
  3406. case "project": //好友打开
  3407. _formdiv = new U.UF.UI.form(
  3408. "课程管理",
  3409. $$("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 }), {
  3410. "id": "project",
  3411. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3412. "onresize": function () { }
  3413. }, {
  3414. closecallback: function () { }
  3415. }, { "style": { "height": "36px" } }).form; //创建窗体
  3416. _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); } }
  3417. break;
  3418. case "evaluate":
  3419. _formdiv = new U.UF.UI.form(
  3420. "学生评价",
  3421. $$("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 }), {
  3422. "id": "evaluate",
  3423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3424. "onresize": function () { }
  3425. }, {
  3426. closecallback: function () { }
  3427. }, { "style": { "height": "36px" } }).form; //创建窗体
  3428. _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); } }
  3429. break;
  3430. case "notice":
  3431. _formdiv = new U.UF.UI.form(
  3432. "通知公告",
  3433. $$("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 }), {
  3434. "id": "notice",
  3435. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3436. "onresize": function () { }
  3437. }, {
  3438. closecallback: function () { }
  3439. }, { "style": { "height": "36px" } }).form; //创建窗体
  3440. _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); } }
  3441. break;
  3442. case "stuLibrary":
  3443. _formdiv = new U.UF.UI.form(
  3444. "学习资料",
  3445. $$("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 }), {
  3446. "id": "stuLibrary",
  3447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3448. "onresize": function () { }
  3449. }, {
  3450. closecallback: function () { }
  3451. }, { "style": { "height": "36px" } }).form; //创建窗体
  3452. _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); } }
  3453. break;
  3454. case "program":
  3455. _formdiv = new U.UF.UI.form(
  3456. "编程平台",
  3457. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3458. "id": "program",
  3459. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3460. "onresize": function () { }
  3461. }, {
  3462. closecallback: function () { }
  3463. }, { "style": { "height": "36px" } }).form; //创建窗体
  3464. _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); } }
  3465. break;
  3466. case "whiteboard":
  3467. _formdiv = new U.UF.UI.form(
  3468. "电子白板",
  3469. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  3470. "id": "whiteboard",
  3471. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3472. "onresize": function () { }
  3473. }, {
  3474. closecallback: function () { }
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. _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); } }
  3477. break;
  3478. case "investigation":
  3479. _formdiv = new U.UF.UI.form(
  3480. "问卷调查",
  3481. $$("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 }), {
  3482. "id": "investigation",
  3483. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3484. "onresize": function () { }
  3485. }, {
  3486. closecallback: function () { }
  3487. }, { "style": { "height": "36px" } }).form; //创建窗体
  3488. _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); } }
  3489. break;
  3490. case "mind":
  3491. _formdiv = new U.UF.UI.form(
  3492. "思维导图",
  3493. $$("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"
  3494. "id": "mind",
  3495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3496. "onresize": function () { }
  3497. }, {
  3498. closecallback: function () { }
  3499. }, { "style": { "height": "36px" } }).form; //创建窗体
  3500. _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); } }
  3501. break;
  3502. case "doc":
  3503. // U.MD.D.I.isRoom();
  3504. _formdiv = new U.UF.UI.form(
  3505. "协同文档",
  3506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3507. "id": "doc",
  3508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3509. "onresize": function () { }
  3510. }, {
  3511. closecallback: function () { }
  3512. }, { "style": { "height": "36px" } }).form; //创建窗体
  3513. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3514. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3515. })
  3516. _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); } }
  3517. break;
  3518. case "study":
  3519. _formdiv = new U.UF.UI.form(
  3520. "课程中心",
  3521. $$("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
  3522. "id": "study",
  3523. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3524. "onresize": function () { }
  3525. }, {
  3526. closecallback: function () { }
  3527. }, { "style": { "height": "36px" } }).form; //创建窗体
  3528. _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); } }
  3529. break;
  3530. case "mindNetwork": //好友打开
  3531. _formdiv = new U.UF.UI.form(
  3532. "思维网格",
  3533. $$("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 }), {
  3534. "id": "mindNetwork",
  3535. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function () { }
  3537. }, {
  3538. closecallback: function () { }
  3539. }, { "style": { "height": "36px" } }).form; //创建窗体
  3540. _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); } }
  3541. break;
  3542. case "train": //好友打开
  3543. _formdiv = new U.UF.UI.form(
  3544. "训练平台",
  3545. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3546. "id": "train",
  3547. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3548. "onresize": function () { }
  3549. }, {
  3550. closecallback: function () { }
  3551. }, { "style": { "height": "36px" } }).form; //创建窗体
  3552. _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); } }
  3553. break;
  3554. case "sys":
  3555. _formdiv = new U.UF.UI.form(
  3556. "目标管理",
  3557. $$("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 }), {
  3558. "id": "sys",
  3559. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3560. "onresize": function () { }
  3561. }, {
  3562. closecallback: function () { }
  3563. }, { "style": { "height": "36px" } }).form; //创建窗体
  3564. _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); } }
  3565. break;
  3566. case "courseDesign":
  3567. _formdiv = new U.UF.UI.form(
  3568. "项目设计",
  3569. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3570. "id": "courseDesign",
  3571. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3572. "onresize": function () { }
  3573. }, {
  3574. closecallback: function () { }
  3575. }, { "style": { "height": "36px" } }).form; //创建窗体
  3576. _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); } }
  3577. break;
  3578. }
  3579. } else if (!_type) {
  3580. switch (str) {
  3581. case "my":
  3582. _formdiv = new U.UF.UI.form(
  3583. "我的资料",
  3584. $$("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 }), {
  3585. "id": "my",
  3586. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3587. "onresize": function () { }
  3588. }, {
  3589. closecallback: function () { }
  3590. }, { "style": { "height": "36px" } }).form; //创建窗体
  3591. _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); } }
  3592. break;
  3593. }
  3594. }
  3595. switch (str) {
  3596. // AIprogram2 AI体验 aihub.cocorobo.cn
  3597. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  3598. // AIprogram AI编程 ai-blockly.cocorobo.cn
  3599. case "formulaEdi": //公式编辑
  3600. _formdiv = new U.UF.UI.form(
  3601. "公式编辑",
  3602. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3603. "id": "formulaEdi",
  3604. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3605. "onresize": function () { }
  3606. }, {
  3607. closecallback: function () { }
  3608. }, { "style": { "height": "36px" } }).form; //创建窗体
  3609. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式编辑", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3610. break;
  3611. case "molStr": //分子结构
  3612. _formdiv = new U.UF.UI.form(
  3613. "分子结构",
  3614. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3615. "id": "molStr",
  3616. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3617. "onresize": function () { }
  3618. }, {
  3619. closecallback: function () { }
  3620. }, { "style": { "height": "36px" } }).form; //创建窗体
  3621. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子结构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3622. break;
  3623. case "timeAxis": //时间轴
  3624. _formdiv = new U.UF.UI.form(
  3625. "时间轴",
  3626. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3627. "id": "timeAxis",
  3628. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3629. "onresize": function () { }
  3630. }, {
  3631. closecallback: function () { }
  3632. }, { "style": { "height": "36px" } }).form; //创建窗体
  3633. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "时间轴", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3634. break;
  3635. case "AIprogram2": //AI体验
  3636. _formdiv = new U.UF.UI.form(
  3637. "AI体验",
  3638. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3639. "id": "AIprogram2",
  3640. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3641. "onresize": function () { }
  3642. }, {
  3643. closecallback: function () { }
  3644. }, { "style": { "height": "36px" } }).form; //创建窗体
  3645. _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); } }
  3646. break;
  3647. case "Pythonprogram": //python编程
  3648. _formdiv = new U.UF.UI.form(
  3649. "Python编程",
  3650. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3651. "id": "Pythonprogram",
  3652. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3653. "onresize": function () { }
  3654. }, {
  3655. closecallback: function () { }
  3656. }, { "style": { "height": "36px" } }).form; //创建窗体
  3657. _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); } }
  3658. break;
  3659. case "AIprogram": //ai编程
  3660. _formdiv = new U.UF.UI.form(
  3661. "AI编程平台",
  3662. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3663. "id": "AIprogram",
  3664. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3665. "onresize": function () { }
  3666. }, {
  3667. closecallback: function () { }
  3668. }, { "style": { "height": "36px" } }).form; //创建窗体
  3669. _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); } }
  3670. break;
  3671. case "CocoPi": //CocoPi
  3672. _formdiv = new U.UF.UI.form(
  3673. "CocoPi",
  3674. $$("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" }), {
  3675. "id": "CocoPi",
  3676. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3677. "onresize": function () { }
  3678. }, {
  3679. closecallback: function () { }
  3680. }, { "style": { "height": "36px" } }).form; //创建窗体
  3681. _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); } }
  3682. break;
  3683. case "Wood": //Wood
  3684. _formdiv = new U.UF.UI.form(
  3685. "海龟编程",
  3686. $$("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/" }), {
  3687. "id": "Wood",
  3688. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3689. "onresize": function () { }
  3690. }, {
  3691. closecallback: function () { }
  3692. }, { "style": { "height": "36px" } }).form; //创建窗体
  3693. _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); } }
  3694. break;
  3695. case "car": //模拟驾驶
  3696. _formdiv = new U.UF.UI.form(
  3697. "模拟驾驶",
  3698. $$("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/" }), {
  3699. "id": "car",
  3700. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3701. "onresize": function () { }
  3702. }, {
  3703. closecallback: function () { }
  3704. }, { "style": { "height": "36px" } }).form; //创建窗体
  3705. _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); } }
  3706. break;
  3707. case "lineSearch": //路径搜索
  3708. _formdiv = new U.UF.UI.form(
  3709. "路径搜索",
  3710. $$("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/" }), {
  3711. "id": "lineSearch",
  3712. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3713. "onresize": function () { }
  3714. }, {
  3715. closecallback: function () { }
  3716. }, { "style": { "height": "36px" } }).form; //创建窗体
  3717. _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); } }
  3718. break;
  3719. case "deepLearning": //深度学习
  3720. _formdiv = new U.UF.UI.form(
  3721. "深度学习",
  3722. $$("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/#" }), {
  3723. "id": "deepLearning",
  3724. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3725. "onresize": function () { }
  3726. }, {
  3727. closecallback: function () { }
  3728. }, { "style": { "height": "36px" } }).form; //创建窗体
  3729. _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); } }
  3730. break;
  3731. case "allHistory": //深度学习
  3732. _formdiv = new U.UF.UI.form(
  3733. "全历史",
  3734. $$("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/" }), {
  3735. "id": "allHistory",
  3736. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3737. "onresize": function () { }
  3738. }, {
  3739. closecallback: function () { }
  3740. }, { "style": { "height": "36px" } }).form; //创建窗体
  3741. _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); } }
  3742. break;
  3743. case "chatPDF": //ai编程
  3744. _formdiv = new U.UF.UI.form(
  3745. "chatPDF",
  3746. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3747. "id": "chatPDF",
  3748. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3749. "onresize": function () { }
  3750. }, {
  3751. closecallback: function () { }
  3752. }, { "style": { "height": "36px" } }).form; //创建窗体
  3753. _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); } }
  3754. break;
  3755. case "resources": //国家教育
  3756. _formdiv = new U.UF.UI.form(
  3757. "国家教育",
  3758. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3759. "id": "resources",
  3760. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3761. "onresize": function () { }
  3762. }, {
  3763. closecallback: function () { }
  3764. }, { "style": { "height": "36px" } }).form; //创建窗体
  3765. _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); } }
  3766. break;
  3767. case "codeEdit": //源码编辑
  3768. _formdiv = new U.UF.UI.form(
  3769. "源码编辑",
  3770. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3771. "id": "codeEdit",
  3772. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3773. "onresize": function () { }
  3774. }, {
  3775. closecallback: function () { }
  3776. }, { "style": { "height": "36px" } }).form; //创建窗体
  3777. _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); } }
  3778. break; //
  3779. case "MindMap": //MindMap
  3780. _formdiv = new U.UF.UI.form(
  3781. "MindMap",
  3782. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3783. "id": "MindMap",
  3784. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3785. "onresize": function () { }
  3786. }, {
  3787. closecallback: function () { }
  3788. }, { "style": { "height": "36px" } }).form; //创建窗体
  3789. _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); } }
  3790. break;
  3791. case "netWorkPanel": //netWorkPanel
  3792. _formdiv = new U.UF.UI.form(
  3793. "netWorkPanel",
  3794. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3795. "id": "netWorkPanel",
  3796. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3797. "onresize": function () { }
  3798. }, {
  3799. closecallback: function () { }
  3800. }, { "style": { "height": "36px" } }).form; //创建窗体
  3801. _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); } }
  3802. break;
  3803. case "GeoGebra": //GeoGebra
  3804. _formdiv = new U.UF.UI.form(
  3805. "GeoGebra",
  3806. $$("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" }), {
  3807. "id": "GeoGebra",
  3808. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function () { }
  3810. }, {
  3811. closecallback: function () { }
  3812. }, { "style": { "height": "36px" } }).form; //创建窗体
  3813. _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); } }
  3814. break;
  3815. case "translation": //翻译
  3816. _formdiv = new U.UF.UI.form(
  3817. "翻译",
  3818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3819. "id": "translation",
  3820. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function () { }
  3822. }, {
  3823. closecallback: function () { }
  3824. }, { "style": { "height": "36px" } }).form; //创建窗体
  3825. _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); } }
  3826. break;
  3827. case "mohe": //魔盒
  3828. _formdiv = new U.UF.UI.form(
  3829. "魔盒识字",
  3830. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3831. "id": "mohe",
  3832. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3833. "onresize": function () { }
  3834. }, {
  3835. closecallback: function () { }
  3836. }, { "style": { "height": "36px" } }).form; //创建窗体
  3837. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒识字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3838. break;
  3839. case "24game": //24点
  3840. _formdiv = new U.UF.UI.form(
  3841. "24点",
  3842. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3843. "id": "24game",
  3844. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3845. "onresize": function () { }
  3846. }, {
  3847. closecallback: function () { }
  3848. }, { "style": { "height": "36px" } }).form; //创建窗体
  3849. _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); } }
  3850. break;
  3851. case "case":
  3852. _formdiv = new U.UF.UI.form(
  3853. "课程进展",
  3854. $$("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 }), {
  3855. "id": "case",
  3856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function () { }
  3858. }, {
  3859. closecallback: function () { }
  3860. }, { "style": { "height": "36px" } }).form; //创建窗体
  3861. _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); } }
  3862. break;
  3863. case "snf":
  3864. _formdiv = new U.UF.UI.form(
  3865. "赛诺梵",
  3866. $$("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" }), {
  3867. "id": "snf",
  3868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3869. "onresize": function () { }
  3870. }, {
  3871. closecallback: function () { }
  3872. }, { "style": { "height": "36px" } }).form; //创建窗体
  3873. _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); } }
  3874. break;
  3875. case "hanFamily":
  3876. _formdiv = new U.UF.UI.form(
  3877. "汉字家族",
  3878. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3879. "id": "hanFamily",
  3880. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3881. "onresize": function () { }
  3882. }, {
  3883. closecallback: function () { }
  3884. }, { "style": { "height": "36px" } }).form; //创建窗体
  3885. _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); } }
  3886. break;
  3887. case "hanClassics":
  3888. _formdiv = new U.UF.UI.form(
  3889. "国学经典",
  3890. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3891. "id": "hanClassics",
  3892. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3893. "onresize": function () { }
  3894. }, {
  3895. closecallback: function () { }
  3896. }, { "style": { "height": "36px" } }).form; //创建窗体
  3897. _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); } }
  3898. break;
  3899. case "hanTraining":
  3900. _formdiv = new U.UF.UI.form(
  3901. "笔画训练",
  3902. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3903. "id": "hanTraining",
  3904. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3905. "onresize": function () { }
  3906. }, {
  3907. closecallback: function () { }
  3908. }, { "style": { "height": "36px" } }).form; //创建窗体
  3909. _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); } }
  3910. break;
  3911. case "hanClass":
  3912. _formdiv = new U.UF.UI.form(
  3913. "书法课堂",
  3914. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3915. "id": "hanClass",
  3916. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3917. "onresize": function () { }
  3918. }, {
  3919. closecallback: function () { }
  3920. }, { "style": { "height": "36px" } }).form; //创建窗体
  3921. _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); } }
  3922. break;
  3923. case "han":
  3924. _formdiv = new U.UF.UI.form(
  3925. "汉字宫",
  3926. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3927. "id": "han",
  3928. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3929. "onresize": function () { }
  3930. }, {
  3931. closecallback: function () { }
  3932. }, { "style": { "height": "36px" } }).form; //创建窗体
  3933. _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); } }
  3934. break;
  3935. case "projectGM": //课程管理
  3936. _formdiv = new U.UF.UI.form(
  3937. "课程管理",
  3938. $$("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 }), {
  3939. "id": "projectGM",
  3940. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3941. "onresize": function () { }
  3942. }, {
  3943. closecallback: function () { }
  3944. }, { "style": { "height": "36px" } }).form; //创建窗体
  3945. _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); } }
  3946. break;
  3947. case "studyGM": //课程中心
  3948. _formdiv = new U.UF.UI.form(
  3949. "课程中心",
  3950. $$("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
  3951. "id": "study",
  3952. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3953. "onresize": function () { }
  3954. }, {
  3955. closecallback: function () { }
  3956. }, { "style": { "height": "36px" } }).form; //创建窗体
  3957. _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); } }
  3958. break;
  3959. // studentGM
  3960. case "studentGM": //学生管理
  3961. _formdiv = new U.UF.UI.form(
  3962. "学生管理",
  3963. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  3964. "id": "studentGM",
  3965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function () { }
  3967. }, {
  3968. closecallback: function () { }
  3969. }, { "style": { "height": "36px" } }).form; //创建窗体
  3970. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "学生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3971. break;
  3972. case "evaluateGM": //学生评价
  3973. _formdiv = new U.UF.UI.form(
  3974. "学生评价",
  3975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3976. "id": "evaluateGM",
  3977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function () { }
  3979. }, {
  3980. closecallback: function () { }
  3981. }, { "style": { "height": "36px" } }).form; //创建窗体
  3982. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "学生评价", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3983. break;
  3984. // classGM
  3985. case "classGM": //班级管理
  3986. _formdiv = new U.UF.UI.form(
  3987. "班级管理",
  3988. $$("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 }), {
  3989. "id": "classGM",
  3990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3991. "onresize": function () { }
  3992. }, {
  3993. closecallback: function () { }
  3994. }, { "style": { "height": "36px" } }).form; //创建窗体
  3995. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3996. break;
  3997. // dataGM
  3998. case "dataGM":
  3999. _formdiv = new U.UF.UI.form(
  4000. "我的资料",
  4001. $$("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 }), {
  4002. "id": "dataGM",
  4003. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4004. "onresize": function () { }
  4005. }, {
  4006. closecallback: function () { }
  4007. }, { "style": { "height": "36px" } }).form; //创建窗体
  4008. _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); } }
  4009. break;
  4010. // caseGM
  4011. case "caseGM": //课程进展
  4012. _formdiv = new U.UF.UI.form(
  4013. "课程进展",
  4014. $$("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 }), {
  4015. "id": "caseGM",
  4016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //创建窗体
  4021. _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); } }
  4022. break;
  4023. // meterialGM
  4024. case "meterialGM": //素材库
  4025. _formdiv = new U.UF.UI.form(
  4026. "素材库",
  4027. $$("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 }), {
  4028. "id": "meterialGM",
  4029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4030. "onresize": function () { }
  4031. }, {
  4032. closecallback: function () { }
  4033. }, { "style": { "height": "36px" } }).form; //创建窗体
  4034. _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); } }
  4035. break;
  4036. // evaluateSGM
  4037. case "evaluateSGM": //我的评价
  4038. _formdiv = new U.UF.UI.form(
  4039. "我的评价",
  4040. $$("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 }), {
  4041. "id": "evaluateSGM",
  4042. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4043. "onresize": function () { }
  4044. }, {
  4045. closecallback: function () { }
  4046. }, { "style": { "height": "36px" } }).form; //创建窗体
  4047. _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); } }
  4048. break;
  4049. case "jupyter": //jupyter
  4050. _formdiv = new U.UF.UI.form(
  4051. "jupyter",
  4052. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4053. "id": "jupyter",
  4054. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4055. "onresize": function () { }
  4056. }, {
  4057. closecallback: function () { }
  4058. }, { "style": { "height": "36px" } }).form; //创建窗体
  4059. _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); } }
  4060. break;
  4061. case "number": //数字实验室
  4062. _formdiv = new U.UF.UI.form(
  4063. "数字实验室",
  4064. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4065. "id": "number",
  4066. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4067. "onresize": function () { }
  4068. }, {
  4069. closecallback: function () { }
  4070. }, { "style": { "height": "36px" } }).form; //创建窗体
  4071. _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); } }
  4072. break;
  4073. case "studentCourse": //项目管理 学生
  4074. _formdiv = new U.UF.UI.form(
  4075. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4076. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4077. "id": "studentCourse",
  4078. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4079. "onresize": function () { }
  4080. }, {
  4081. closecallback: function () { }
  4082. }, { "style": { "height": "36px" } }).form; //创建窗体
  4083. _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); } }
  4084. break;
  4085. case "studentCourseS": //项目管理 老师
  4086. _formdiv = new U.UF.UI.form(
  4087. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "师生项目" : "项目管理",
  4088. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4089. "id": "studentCourseS",
  4090. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4091. "onresize": function () { }
  4092. }, {
  4093. closecallback: function () { }
  4094. }, { "style": { "height": "36px" } }).form; //创建窗体
  4095. _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); } }
  4096. break;
  4097. case "studentIndex": //项目中心
  4098. _formdiv = new U.UF.UI.form(
  4099. "项目中心",
  4100. $$("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 }), {
  4101. "id": "studentIndex",
  4102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4103. "onresize": function () { }
  4104. }, {
  4105. closecallback: function () { }
  4106. }, { "style": { "height": "36px" } }).form; //创建窗体
  4107. _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); } }
  4108. break;
  4109. case "CaseDesignS":
  4110. _formdiv = new U.UF.UI.form(
  4111. "项目进展",
  4112. $$("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 }), {
  4113. "id": "case",
  4114. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4115. "onresize": function () { }
  4116. }, {
  4117. closecallback: function () { }
  4118. }, { "style": { "height": "36px" } }).form; //创建窗体
  4119. _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); } }
  4120. break;
  4121. case "tcStudent": //腾讯学生管理
  4122. _formdiv = new U.UF.UI.form(
  4123. "学生管理",
  4124. $$("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 }), {
  4125. "id": "tcStudent",
  4126. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4127. "onresize": function () { }
  4128. }, {
  4129. closecallback: function () { }
  4130. }, { "style": { "height": "36px" } }).form; //创建窗体
  4131. _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); } }
  4132. break;
  4133. case "tcSchool": //腾讯学校管理
  4134. _formdiv = new U.UF.UI.form(
  4135. "学校管理",
  4136. $$("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 }), {
  4137. "id": "tcSchool",
  4138. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4139. "onresize": function () { }
  4140. }, {
  4141. closecallback: function () { }
  4142. }, { "style": { "height": "36px" } }).form; //创建窗体
  4143. _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); } }
  4144. break;
  4145. case "tcTeacher": //腾讯学校管理
  4146. _formdiv = new U.UF.UI.form(
  4147. "教师管理",
  4148. $$("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 }), {
  4149. "id": "tcTeacher",
  4150. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4151. "onresize": function () { }
  4152. }, {
  4153. closecallback: function () { }
  4154. }, { "style": { "height": "36px" } }).form; //创建窗体
  4155. _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); } }
  4156. break;
  4157. case "tcData": //腾讯我的资料
  4158. _formdiv = new U.UF.UI.form(
  4159. "我的资料",
  4160. $$("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 }), {
  4161. "id": "tcData",
  4162. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4163. "onresize": function () { }
  4164. }, {
  4165. closecallback: function () { }
  4166. }, { "style": { "height": "36px" } }).form; //创建窗体
  4167. _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); } }
  4168. break;
  4169. case "tcNotice": //腾讯消息通知
  4170. _formdiv = new U.UF.UI.form(
  4171. "消息通知",
  4172. $$("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 }), {
  4173. "id": "tcNotice",
  4174. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4175. "onresize": function () { }
  4176. }, {
  4177. closecallback: function () { }
  4178. }, { "style": { "height": "36px" } }).form; //创建窗体
  4179. _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); } }
  4180. break;
  4181. case "myReport": //好友打开
  4182. _formdiv = new U.UF.UI.form(
  4183. "我的评价",
  4184. $$("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 }), {
  4185. "id": "myReport",
  4186. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4187. "onresize": function () { }
  4188. }, {
  4189. closecallback: function () { }
  4190. }, { "style": { "height": "36px" } }).form; //创建窗体
  4191. _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); } }
  4192. break;
  4193. case "learnAna": //好友打开
  4194. _formdiv = new U.UF.UI.form(
  4195. "学习分析",
  4196. $$("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 }), {
  4197. "id": "learnAna",
  4198. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4199. "onresize": function () { }
  4200. }, {
  4201. closecallback: function () { }
  4202. }, { "style": { "height": "36px" } }).form; //创建窗体
  4203. _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); } }
  4204. break;
  4205. case "AIChat": //AI共创
  4206. _formdiv = new U.UF.UI.form(
  4207. "AI共创",
  4208. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aichat/" }), {
  4209. "id": "AIChat",
  4210. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4211. "onresize": function () { }
  4212. }, {
  4213. istop: true,
  4214. closecallback: function () { $("#aichat_icon").remove(); },
  4215. narrowcallback: function () {
  4216. if (!$("#aichat_icon")[0]) {
  4217. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4218. }
  4219. },
  4220. }, { "style": { "height": "36px" } }).form; //创建窗体
  4221. _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); } }
  4222. break;
  4223. case "ainew": //AI共创
  4224. _formdiv = new U.UF.UI.form(
  4225. "AI协同",
  4226. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ainew/" }), {
  4227. "id": "ainew",
  4228. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4229. "onresize": function () { }
  4230. }, {
  4231. closecallback: function () { }
  4232. }, { "style": { "height": "36px" } }).form; //创建窗体
  4233. _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); } }
  4234. break;
  4235. case "futureClass": //AI共创
  4236. _formdiv = new U.UF.UI.form(
  4237. "协同建构",
  4238. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.cn
  4239. "id": "synergyCourse",
  4240. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4241. "onresize": function () { }
  4242. }, {
  4243. closecallback: function () { }
  4244. }, { "style": { "height": "36px" } }).form; //创建窗体
  4245. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "协同建构", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4246. break;
  4247. case "aiagent": //ai agent
  4248. _formdiv = new U.UF.UI.form(
  4249. "AI Agent",
  4250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), {
  4251. "id": "AIAgent",
  4252. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4253. "onresize": function () { }
  4254. }, {
  4255. closecallback: function () { }
  4256. }, { "style": { "height": "36px" } }).form; //创建窗体
  4257. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4258. break;
  4259. case "dataBoard": //数据看板
  4260. _formdiv = new U.UF.UI.form(
  4261. "数据看板",
  4262. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4263. "id": "dataBoard",
  4264. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4265. "onresize": function () { }
  4266. }, {
  4267. closecallback: function () { }
  4268. }, { "style": { "height": "36px" } }).form; //创建窗体
  4269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4270. break;
  4271. case "dataBoardSies": //数据看板
  4272. _formdiv = new U.UF.UI.form(
  4273. "数据看板",
  4274. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4275. "id": "dataBoardSies",
  4276. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4277. "onresize": function () { }
  4278. }, {
  4279. closecallback: function () { }
  4280. }, { "style": { "height": "36px" } }).form; //创建窗体
  4281. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "数据看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4282. break;
  4283. case "AIAnalyse": //AI共创
  4284. _formdiv = new U.UF.UI.form(
  4285. "AI分析",
  4286. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/ai/" }), {
  4287. "id": "AIAnalyse",
  4288. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4289. "onresize": function () { }
  4290. }, {
  4291. closecallback: function () { }
  4292. }, { "style": { "height": "36px" } }).form; //创建窗体
  4293. _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); } }
  4294. break;
  4295. case "studioCourse": //AI共创
  4296. _formdiv = new U.UF.UI.form(
  4297. "工作管理",
  4298. $$("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 }), {
  4299. "id": "studioCourse",
  4300. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4301. "onresize": function () { }
  4302. }, {
  4303. closecallback: function () { }
  4304. }, { "style": { "height": "36px" } }).form; //创建窗体
  4305. _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); } }
  4306. break;
  4307. case "studioIndex": //AI共创
  4308. _formdiv = new U.UF.UI.form(
  4309. "工作中心",
  4310. $$("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 }), {
  4311. "id": "studioIndex",
  4312. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4313. "onresize": function () { }
  4314. }, {
  4315. closecallback: function () { }
  4316. }, { "style": { "height": "36px" } }).form; //创建窗体
  4317. _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); } }
  4318. break;
  4319. case "source":
  4320. _formdiv = new U.UF.UI.form(
  4321. "教学资源",
  4322. $$("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 }), {
  4323. "id": "source",
  4324. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4325. "onresize": function () { }
  4326. }, {
  4327. closecallback: function () { }
  4328. }, { "style": { "height": "36px" } }).form; //创建窗体
  4329. _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); } }
  4330. break;
  4331. case "testTeacher":
  4332. _formdiv = new U.UF.UI.form(
  4333. "评测管理",
  4334. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4335. "id": "testTeacher",
  4336. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4337. "onresize": function () { }
  4338. }, {
  4339. closecallback: function () { }
  4340. }, { "style": { "height": "36px" } }).form; //创建窗体
  4341. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4342. break;
  4343. case "testStudent":
  4344. _formdiv = new U.UF.UI.form(
  4345. "评测中心",
  4346. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4347. "id": "testStudent",
  4348. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4349. "onresize": function () { }
  4350. }, {
  4351. closecallback: function () { }
  4352. }, { "style": { "height": "36px" } }).form; //创建窗体
  4353. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4354. break;
  4355. }
  4356. //U.MD.D.I.openClick(str);
  4357. //如果有任务栏信息
  4358. if (_taskbar) {
  4359. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4360. }
  4361. }
  4362. // U.MD.D.I.openClick = function(str){
  4363. // var click = '';
  4364. // switch(str){
  4365. // case 'friend':
  4366. // click = '我的好友';
  4367. // break;
  4368. // case 'domain':
  4369. // click = '域名管理';
  4370. // break;
  4371. // case 'disk':
  4372. // click = '我的云盘';
  4373. // break;
  4374. // case 'word':
  4375. // click = 'Word';
  4376. // break;
  4377. // case 'excel':
  4378. // click = 'Execl';
  4379. // break;
  4380. // case 'txt':
  4381. // click = '文本文件';
  4382. // break;
  4383. // case 'lookupFriend':
  4384. // click = '查找好友';
  4385. // break;
  4386. // case 'ftp':
  4387. // click = 'FTP';
  4388. // break;
  4389. // case 'group':
  4390. // click = '群组';
  4391. // break;
  4392. // case 'set':
  4393. // click = '我的设置';
  4394. // break;
  4395. // case 'systemSet':
  4396. // click = '系统设置';
  4397. // break;
  4398. // case 'boomYun':
  4399. // click = '互联办公';
  4400. // break;
  4401. // case 'xz':
  4402. // click = '云端下载';
  4403. // break;
  4404. // case 'client':
  4405. // click = '有思浏览器';
  4406. // break;
  4407. // case 'backEndProgramming':
  4408. // click = '在线后台编程';
  4409. // break;
  4410. // case 'frontEndProgramming':
  4411. // click = '在线前端编程';
  4412. // break;
  4413. // default: break;
  4414. // }
  4415. // if(U.MD.D.I.Ip && click){
  4416. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4417. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4418. // })
  4419. // }
  4420. // }
  4421. /**
  4422. *函数作用:ajax简易函数,使用post格式
  4423. *@param url {data} 后台地址
  4424. *@param data {data} 参数json
  4425. *@param fn {data} 回调函数
  4426. *
  4427. */
  4428. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4429. // var xhr = new XMLHttpRequest();
  4430. // xhr.open("GET",url,true);
  4431. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4432. // xhr.onreadystatechange = function(){
  4433. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4434. // fn.call(this,xhr.responseText);
  4435. // }
  4436. // };
  4437. // xhr.send();
  4438. // }
  4439. /*判断是否是内网IP*/
  4440. // U.MD.D.I.isInnerIPFn = function(str){
  4441. // var curPageUrl = str;
  4442. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  4443. // curPageUrl =curPageUrl.replace(reg1,'');
  4444. // // console.log('curPageUrl-1 '+curPageUrl);
  4445. // var reg2 = /\:+/g;//替换冒号为一点
  4446. // curPageUrl =curPageUrl.replace(reg2,'.');
  4447. // // console.log('curPageUrl-2 '+curPageUrl);
  4448. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  4449. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4450. // if(curPageUrl[2] != '16'){
  4451. // return ipAddress;
  4452. // }else{
  4453. // return false;
  4454. // }
  4455. // }
  4456. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4457. // //compatibility for firefox and chrome
  4458. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4459. // var pc = new myPeerConnection({
  4460. // iceServers: []
  4461. // }),
  4462. // noop = function() {},
  4463. // localIPs = {},
  4464. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4465. // key;
  4466. // function iterateIP(ip) {
  4467. // if (!localIPs[ip]) onNewIP(ip);
  4468. // localIPs[ip] = true;
  4469. // }
  4470. // //create a bogus data channel
  4471. // pc.createDataChannel("");
  4472. // // create offer and set local description
  4473. // pc.createOffer().then(function(sdp) {
  4474. // sdp.sdp.split('\n').forEach(function(line) {
  4475. // if (line.indexOf('candidate') < 0) return;
  4476. // line.match(ipRegex).forEach(iterateIP);
  4477. // });
  4478. // pc.setLocalDescription(sdp, noop, noop);
  4479. // }).catch(function(reason) {
  4480. // // An error occurred, so handle the failure to connect
  4481. // });
  4482. // //sten for candidate events
  4483. // pc.onicecandidate = function(ice) {
  4484. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4485. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4486. // };
  4487. // }
  4488. // U.MD.D.I.getUserIpBool = function(callback){
  4489. // U.MD.D.I.getUserIP(function(ip){
  4490. // alert("Got IP! :" + ip);
  4491. // });
  4492. //}
  4493. //#endregion
  4494. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4495. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4496. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4497. _userinfo = US.userInfo, //登录用户信息
  4498. _userid = US.userInfo.userid //登录用户id
  4499. let _iframe;
  4500. let _cid = cid,
  4501. _stage = stage,
  4502. _task = task,
  4503. _tool = tool;
  4504. var _jie = $$("div", {
  4505. "style": {
  4506. "position": "absolute",
  4507. "bottom": "50px",
  4508. "right": "50px",
  4509. "zIndex": "9999",
  4510. "backgroundColor": "#2268bc",
  4511. "color": "#fff",
  4512. "padding": "12px 20px",
  4513. "cursor": "pointer",
  4514. "borderRadius": "4px",
  4515. },
  4516. "innerHTML": "提交作业"
  4517. })
  4518. let aTool = ''
  4519. let _loading = document.createElement('div')
  4520. _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;"
  4521. // _loading.id = "";
  4522. let _lchild = document.createElement('div')
  4523. let _limg = document.createElement('img')
  4524. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4525. _limg.style = "width: 26px;margin-right: 10px;"
  4526. _lchild.appendChild(_limg)
  4527. let _lspan = document.createElement('span')
  4528. _lspan.innerHTML = "上传中..."
  4529. _lchild.appendChild(_lspan)
  4530. _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%);"
  4531. _loading.appendChild(_lchild)
  4532. var _box = $$('div', {
  4533. "style": {
  4534. "position": "relative",
  4535. "width": "100%",
  4536. "height": "100%",
  4537. },
  4538. })
  4539. _box.appendChild(_loading)
  4540. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4541. switch (str) {
  4542. case "whiteboard":
  4543. aTool = 1;
  4544. _iframe = $$("iframe", {
  4545. "frameborder": "no",
  4546. "border": "0",
  4547. "scrolling ": "no",
  4548. "style": {
  4549. "cssText": "border:0;width:100%;height:100%"
  4550. },
  4551. "src": "https://iwb.cocorobo.cn/"
  4552. })
  4553. _box.appendChild(_iframe);
  4554. _box.appendChild(_jie);
  4555. _formdiv = new U.UF.UI.form(
  4556. "电子白板",
  4557. _box, {
  4558. "id": "whiteboard" + cid + stage + task + tool,
  4559. "style": {
  4560. "width": "90%",
  4561. "height": "90%",
  4562. "overflow": 'hidden'
  4563. },
  4564. "onresize": function () { }
  4565. }, {
  4566. closecallback: function () { }
  4567. }, {
  4568. "style": {
  4569. "height": "36px"
  4570. }
  4571. }).form; //创建窗体
  4572. _taskbar = {
  4573. "id": str + _formdiv.id,
  4574. "style": {
  4575. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4576. },
  4577. "name": "电子白板",
  4578. "forms": _formdiv,
  4579. "click": function () {
  4580. U.MD.D.I.openApplication(str, obj, info);
  4581. }
  4582. }
  4583. break;
  4584. case "mind":
  4585. aTool = 3;
  4586. _iframe = $$("iframe", {
  4587. "frameborder": "no",
  4588. "border": "0",
  4589. "scrolling ": "no",
  4590. "style": {
  4591. "cssText": "border:0;width:100%;height:100%"
  4592. },
  4593. "src": "/kityminder-editor/dist/index.html"
  4594. })
  4595. _box.appendChild(_iframe);
  4596. _box.appendChild(_jie);
  4597. _formdiv = new U.UF.UI.form(
  4598. "思维导图",
  4599. _box, { //"/jsmind/example/demo.html"
  4600. "id": "mind" + cid + stage + task + tool,
  4601. "style": {
  4602. "width": "90%",
  4603. "height": "90%",
  4604. "overflow": 'hidden'
  4605. },
  4606. "onresize": function () { }
  4607. }, {
  4608. closecallback: function () { }
  4609. }, {
  4610. "style": {
  4611. "height": "36px"
  4612. }
  4613. }).form; //创建窗体
  4614. _taskbar = {
  4615. "id": str + _formdiv.id,
  4616. "style": {
  4617. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4618. },
  4619. "name": "思维导图",
  4620. "forms": _formdiv,
  4621. "click": function () {
  4622. U.MD.D.I.openApplication(str, obj, info);
  4623. }
  4624. }
  4625. break;
  4626. case "MindMap":
  4627. aTool = 3;
  4628. _iframe = $$("iframe", {
  4629. "frameborder": "no",
  4630. "border": "0",
  4631. "scrolling ": "no",
  4632. "style": {
  4633. "cssText": "border:0;width:100%;height:100%"
  4634. },
  4635. "src": "//cloud.cocorobo.cn/mind/"
  4636. })
  4637. _box.appendChild(_iframe);
  4638. _box.appendChild(_jie);
  4639. _formdiv = new U.UF.UI.form(
  4640. "思维导图",
  4641. _box, { //"/jsmind/example/demo.html"
  4642. "id": "mind" + cid + stage + task + tool,
  4643. "style": {
  4644. "width": "90%",
  4645. "height": "90%",
  4646. "overflow": 'hidden'
  4647. },
  4648. "onresize": function () { }
  4649. }, {
  4650. closecallback: function () { }
  4651. }, {
  4652. "style": {
  4653. "height": "36px"
  4654. }
  4655. }).form; //创建窗体
  4656. _taskbar = {
  4657. "id": str + _formdiv.id,
  4658. "style": {
  4659. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4660. },
  4661. "name": "思维导图",
  4662. "forms": _formdiv,
  4663. "click": function () {
  4664. U.MD.D.I.openApplication(str, obj, info);
  4665. }
  4666. }
  4667. break;
  4668. case "doc":
  4669. aTool = 6;
  4670. _iframe = $$("iframe", {
  4671. "frameborder": "no",
  4672. "border": "0",
  4673. "scrolling ": "no",
  4674. "style": {
  4675. "cssText": "border:0;width:100%;height:100%"
  4676. },
  4677. "src": "/Office/Word/WordEditArea.htm"
  4678. })
  4679. _box.appendChild(_iframe);
  4680. _box.appendChild(_jie);
  4681. _formdiv = new U.UF.UI.form(
  4682. "协同文档",
  4683. _box, {
  4684. "id": "doc" + cid + stage + task + tool,
  4685. "style": {
  4686. "width": "90%",
  4687. "height": "90%",
  4688. "overflow": 'hidden'
  4689. },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, {
  4694. "style": {
  4695. "height": "36px"
  4696. }
  4697. }).form; //创建窗体
  4698. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4699. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4700. })
  4701. _taskbar = {
  4702. "id": str + _formdiv.id,
  4703. "style": {
  4704. "backgroundImage": "url(/img/icon/doc.png)"
  4705. },
  4706. "name": "协同文档",
  4707. "forms": _formdiv,
  4708. "click": function () {
  4709. U.MD.D.I.openApplication(str, obj, info);
  4710. }
  4711. }
  4712. break;
  4713. case "mindNetwork": //好友打开
  4714. aTool = 7;
  4715. _iframe = $$("iframe", {
  4716. "webkitallowfullscreen": "",
  4717. "mozallowfullscreen": "",
  4718. "allowfullscreen": "",
  4719. "frameborder": "no",
  4720. "border": "0",
  4721. "scrolling ": "no",
  4722. "style": {
  4723. "cssText": "border:0; width:100%; height:100%;"
  4724. },
  4725. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4726. })
  4727. _box.appendChild(_iframe);
  4728. _box.appendChild(_jie);
  4729. _formdiv = new U.UF.UI.form(
  4730. "思维网格",
  4731. _box, {
  4732. "id": "mindNetwork" + cid + stage + task + tool,
  4733. "style": {
  4734. "width": "90%",
  4735. "height": "90%",
  4736. "overflow": 'hidden'
  4737. },
  4738. "onresize": function () { }
  4739. }, {
  4740. closecallback: function () { }
  4741. }, {
  4742. "style": {
  4743. "height": "36px"
  4744. }
  4745. }).form; //创建窗体
  4746. _taskbar = {
  4747. "id": str + _formdiv.id,
  4748. "style": {
  4749. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4750. },
  4751. "name": "思维网格",
  4752. "forms": _formdiv,
  4753. "click": function () {
  4754. U.MD.D.I.openApplication(str, obj, info);
  4755. }
  4756. }
  4757. break;
  4758. case "courseDesign":
  4759. _iframe = $$("iframe", {
  4760. "webkitallowfullscreen": "",
  4761. "mozallowfullscreen": "",
  4762. "allowfullscreen": "",
  4763. "frameborder": "no",
  4764. "border": "0",
  4765. "scrolling ": "no",
  4766. "style": {
  4767. "cssText": "border:0; width:100%; height:100%;"
  4768. },
  4769. "src": "/course-design-vue"
  4770. })
  4771. _box.appendChild(_iframe);
  4772. _box.appendChild(_jie);
  4773. _formdiv = new U.UF.UI.form(
  4774. "项目设计",
  4775. _box, {
  4776. "id": "courseDesign" + cid + stage + task + tool,
  4777. "style": {
  4778. "width": "90%",
  4779. "height": "90%",
  4780. "overflow": 'hidden'
  4781. },
  4782. "onresize": function () { }
  4783. }, {
  4784. closecallback: function () { }
  4785. }, {
  4786. "style": {
  4787. "height": "36px"
  4788. }
  4789. }).form; //创建窗体
  4790. _taskbar = {
  4791. "id": str + _formdiv.id,
  4792. "style": {
  4793. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4794. },
  4795. "name": "项目设计",
  4796. "forms": _formdiv,
  4797. "click": function () {
  4798. U.MD.D.I.openApplication(str, obj, info);
  4799. }
  4800. }
  4801. break;
  4802. }
  4803. const script1 = document.createElement("script");
  4804. script1.type = "text/javascript";
  4805. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4806. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  4807. const script2 = document.createElement("script");
  4808. script2.type = "text/javascript";
  4809. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4810. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  4811. const script3 = document.createElement("script");
  4812. script3.type = "text/javascript";
  4813. script3.charset = "UTF-8";
  4814. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  4815. const script4 = document.createElement("script");
  4816. script4.type = "text/javascript";
  4817. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4818. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  4819. if (_iframe) {
  4820. if (str == 'doc') {
  4821. _iframe = _formdiv.querySelector('iframe')
  4822. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4823. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4824. _iframe.contentWindow.document.body.appendChild(script1);
  4825. _iframe.contentWindow.document.body.appendChild(script2);
  4826. // _iframe.contentWindow.document.body.appendChild(script3);
  4827. _iframe.contentWindow.document.body.appendChild(script4);
  4828. })
  4829. if (onloadListener) {
  4830. _iframe.contentDocument.location.reload()
  4831. } else {
  4832. _iframe.contentDocument.location.reload()
  4833. }
  4834. } else if (str == 'courseDesign') {
  4835. U.UF.DL.iframeLoad(_iframe, function () {
  4836. // _iframe.contentWindow.U.MD.O.W.load();
  4837. // _iframe.contentWindow.document.body.appendChild(script1);
  4838. _iframe.contentWindow.document.body.appendChild(script2);
  4839. _iframe.contentWindow.document.body.appendChild(script4);
  4840. })
  4841. } else if (str == 'mind') {
  4842. _iframe = _formdiv.querySelector('iframe')
  4843. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4844. //
  4845. _iframe.contentWindow.document.body.appendChild(script1);
  4846. _iframe.contentWindow.document.body.appendChild(script2);
  4847. _iframe.contentWindow.document.body.appendChild(script4);
  4848. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4849. })
  4850. if (onloadListener) {
  4851. _iframe.contentDocument.location.reload()
  4852. } else {
  4853. _iframe.contentDocument.location.reload()
  4854. }
  4855. } else if (str == 'whiteboard') {
  4856. _iframe = _formdiv.querySelector('iframe')
  4857. let onloadListener = _iframe.onload = () => {
  4858. _iframe.contentWindow.document.body.appendChild(script1);
  4859. _iframe.contentWindow.document.body.appendChild(script2);
  4860. _iframe.contentWindow.document.body.appendChild(script4);
  4861. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4862. };
  4863. if (onloadListener) {
  4864. _iframe.contentDocument.location.reload()
  4865. } else {
  4866. _iframe.contentDocument.location.reload()
  4867. }
  4868. } else {
  4869. _iframe.onload = () => {
  4870. _iframe.contentWindow.document.body.appendChild(script1);
  4871. _iframe.contentWindow.document.body.appendChild(script2);
  4872. // _iframe.contentWindow.document.body.appendChild(script3);
  4873. _iframe.contentWindow.document.body.appendChild(script4);
  4874. };
  4875. }
  4876. _jie.onclick = async () => {
  4877. let text = ''
  4878. if (aTool == 1) {
  4879. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4880. } else if (aTool == 6) {
  4881. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4882. } else if (aTool == 3) {
  4883. text = await U.MD.D.I.getEditorContent(_iframe);
  4884. }
  4885. _loading.style.display = 'flex'
  4886. console.log(_loading);
  4887. var _ajs = _iframe.contentWindow.document.createElement("script");
  4888. _ajs.type = "text/javascript";
  4889. _ajs.innerHTML =
  4890. // 'console.log(' + _loading + ');\n' +
  4891. 'var _js = document.createElement("script");\n' +
  4892. '_js.type="text/javascript";\n' +
  4893. '_js.charset="UTF-8";\n' +
  4894. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  4895. "_js.onload = function(){\n" +
  4896. ' var a = document.getElementsByTagName("img")\n' +
  4897. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4898. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4899. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4900. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4901. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  4902. "beforeUpload_shishi(file," +
  4903. "'" +
  4904. _userid +
  4905. "'" +
  4906. ", " +
  4907. "'" +
  4908. _cid +
  4909. "'" +
  4910. ", " +
  4911. "'" +
  4912. _stage +
  4913. "'" +
  4914. ", " +
  4915. "'" +
  4916. _task +
  4917. "'" +
  4918. ", " +
  4919. "'" +
  4920. _tool +
  4921. "'" +
  4922. ", " +
  4923. "'" +
  4924. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4925. "'" +
  4926. ", " +
  4927. "'" +
  4928. aTool +
  4929. "'" +
  4930. ", " +
  4931. "`" +
  4932. text +
  4933. "`" +
  4934. ")\n" +
  4935. " });\n" +
  4936. "}\n" +
  4937. "document.head.appendChild(_js);\n";
  4938. _iframe.contentWindow.document.head.appendChild(_ajs);
  4939. }
  4940. }
  4941. //U.MD.D.I.openClick(str);
  4942. //如果有任务栏信息
  4943. // if (_taskbar) {
  4944. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  4945. // }
  4946. }
  4947. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4948. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  4949. _formdiv, //创建任务栏时同时弹出的窗体元素。
  4950. _userinfo = US.userInfo, //登录用户信息
  4951. _userid = US.userInfo.userid //登录用户id
  4952. let _iframe;
  4953. let _cid = cid,
  4954. _stage = stage,
  4955. _task = task,
  4956. _tool = tool;
  4957. var _jie = $$("div", {
  4958. "style": {
  4959. "position": "absolute",
  4960. "bottom": "50px",
  4961. "right": "50px",
  4962. "zIndex": "9999",
  4963. "backgroundColor": "#2268bc",
  4964. "color": "#fff",
  4965. "padding": "12px 20px",
  4966. "cursor": "pointer",
  4967. "borderRadius": "4px",
  4968. },
  4969. "innerHTML": "提交作业"
  4970. })
  4971. let aTool = ''
  4972. let _loading = document.createElement('div')
  4973. _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;"
  4974. // _loading.id = "";
  4975. let _lchild = document.createElement('div')
  4976. let _limg = document.createElement('img')
  4977. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4978. _limg.style = "width: 26px;margin-right: 10px;"
  4979. _lchild.appendChild(_limg)
  4980. let _lspan = document.createElement('span')
  4981. _lspan.innerHTML = "上传中..."
  4982. _lchild.appendChild(_lspan)
  4983. _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%);"
  4984. _loading.appendChild(_lchild)
  4985. var _box = $$('div', {
  4986. "style": {
  4987. "position": "relative",
  4988. "width": "100%",
  4989. "height": "100%",
  4990. },
  4991. })
  4992. _box.appendChild(_loading)
  4993. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4994. switch (str) {
  4995. case "whiteboard":
  4996. aTool = 1;
  4997. _iframe = $$("iframe", {
  4998. "frameborder": "no",
  4999. "border": "0",
  5000. "scrolling ": "no",
  5001. "style": {
  5002. "cssText": "border:0;width:100%;height:100%"
  5003. },
  5004. "src": "https://iwb.cocorobo.cn/"
  5005. })
  5006. _box.appendChild(_iframe);
  5007. _box.appendChild(_jie);
  5008. _formdiv = new U.UF.UI.form(
  5009. "电子白板",
  5010. _box, {
  5011. "id": "whiteboard" + cid + stage + task + tool,
  5012. "style": {
  5013. "width": "90%",
  5014. "height": "90%",
  5015. "overflow": 'hidden'
  5016. },
  5017. "onresize": function () { }
  5018. }, {
  5019. closecallback: function () { }
  5020. }, {
  5021. "style": {
  5022. "height": "36px"
  5023. }
  5024. }).form; //创建窗体
  5025. _taskbar = {
  5026. "id": str + _formdiv.id,
  5027. "style": {
  5028. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5029. },
  5030. "name": "电子白板",
  5031. "forms": _formdiv,
  5032. "click": function () {
  5033. U.MD.D.I.openApplication(str, obj, info);
  5034. }
  5035. }
  5036. break;
  5037. case "mind":
  5038. aTool = 3;
  5039. _iframe = $$("iframe", {
  5040. "frameborder": "no",
  5041. "border": "0",
  5042. "scrolling ": "no",
  5043. "style": {
  5044. "cssText": "border:0;width:100%;height:100%"
  5045. },
  5046. "src": "/kityminder-editor/dist/index.html"
  5047. })
  5048. _box.appendChild(_iframe);
  5049. _box.appendChild(_jie);
  5050. _formdiv = new U.UF.UI.form(
  5051. "思维导图",
  5052. _box, { //"/jsmind/example/demo.html"
  5053. "id": "mind" + cid + stage + task + tool,
  5054. "style": {
  5055. "width": "90%",
  5056. "height": "90%",
  5057. "overflow": 'hidden'
  5058. },
  5059. "onresize": function () { }
  5060. }, {
  5061. closecallback: function () { }
  5062. }, {
  5063. "style": {
  5064. "height": "36px"
  5065. }
  5066. }).form; //创建窗体
  5067. _taskbar = {
  5068. "id": str + _formdiv.id,
  5069. "style": {
  5070. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5071. },
  5072. "name": "思维导图",
  5073. "forms": _formdiv,
  5074. "click": function () {
  5075. U.MD.D.I.openApplication(str, obj, info);
  5076. }
  5077. }
  5078. break;
  5079. case "MindMap":
  5080. aTool = 3;
  5081. _iframe = $$("iframe", {
  5082. "frameborder": "no",
  5083. "border": "0",
  5084. "scrolling ": "no",
  5085. "style": {
  5086. "cssText": "border:0;width:100%;height:100%"
  5087. },
  5088. "src": "//cloud.cocorobo.cn/mind/"
  5089. })
  5090. _box.appendChild(_iframe);
  5091. _box.appendChild(_jie);
  5092. _formdiv = new U.UF.UI.form(
  5093. "思维导图",
  5094. _box, { //"/jsmind/example/demo.html"
  5095. "id": "mind" + cid + stage + task + tool,
  5096. "style": {
  5097. "width": "90%",
  5098. "height": "90%",
  5099. "overflow": 'hidden'
  5100. },
  5101. "onresize": function () { }
  5102. }, {
  5103. closecallback: function () { }
  5104. }, {
  5105. "style": {
  5106. "height": "36px"
  5107. }
  5108. }).form; //创建窗体
  5109. _taskbar = {
  5110. "id": str + _formdiv.id,
  5111. "style": {
  5112. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5113. },
  5114. "name": "思维导图",
  5115. "forms": _formdiv,
  5116. "click": function () {
  5117. U.MD.D.I.openApplication(str, obj, info);
  5118. }
  5119. }
  5120. break;
  5121. case "doc":
  5122. aTool = 6;
  5123. _iframe = $$("iframe", {
  5124. "frameborder": "no",
  5125. "border": "0",
  5126. "scrolling ": "no",
  5127. "style": {
  5128. "cssText": "border:0;width:100%;height:100%"
  5129. },
  5130. "src": "/Office/Word/WordEditArea.htm"
  5131. })
  5132. _box.appendChild(_iframe);
  5133. _box.appendChild(_jie);
  5134. _formdiv = new U.UF.UI.form(
  5135. "协同文档",
  5136. _box, {
  5137. "id": "doc" + cid + stage + task + tool,
  5138. "style": {
  5139. "width": "90%",
  5140. "height": "90%",
  5141. "overflow": 'hidden'
  5142. },
  5143. "onresize": function () { }
  5144. }, {
  5145. closecallback: function () { }
  5146. }, {
  5147. "style": {
  5148. "height": "36px"
  5149. }
  5150. }).form; //创建窗体
  5151. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5152. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5153. })
  5154. _taskbar = {
  5155. "id": str + _formdiv.id,
  5156. "style": {
  5157. "backgroundImage": "url(/img/icon/doc.png)"
  5158. },
  5159. "name": "协同文档",
  5160. "forms": _formdiv,
  5161. "click": function () {
  5162. U.MD.D.I.openApplication(str, obj, info);
  5163. }
  5164. }
  5165. break;
  5166. case "mindNetwork": //好友打开
  5167. aTool = 7;
  5168. _iframe = $$("iframe", {
  5169. "webkitallowfullscreen": "",
  5170. "mozallowfullscreen": "",
  5171. "allowfullscreen": "",
  5172. "frameborder": "no",
  5173. "border": "0",
  5174. "scrolling ": "no",
  5175. "style": {
  5176. "cssText": "border:0; width:100%; height:100%;"
  5177. },
  5178. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5179. })
  5180. _box.appendChild(_iframe);
  5181. _box.appendChild(_jie);
  5182. _formdiv = new U.UF.UI.form(
  5183. "思维网格",
  5184. _box, {
  5185. "id": "mindNetwork" + cid + stage + task + tool,
  5186. "style": {
  5187. "width": "90%",
  5188. "height": "90%",
  5189. "overflow": 'hidden'
  5190. },
  5191. "onresize": function () { }
  5192. }, {
  5193. closecallback: function () { }
  5194. }, {
  5195. "style": {
  5196. "height": "36px"
  5197. }
  5198. }).form; //创建窗体
  5199. _taskbar = {
  5200. "id": str + _formdiv.id,
  5201. "style": {
  5202. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5203. },
  5204. "name": "思维网格",
  5205. "forms": _formdiv,
  5206. "click": function () {
  5207. U.MD.D.I.openApplication(str, obj, info);
  5208. }
  5209. }
  5210. break;
  5211. case "courseDesign":
  5212. _iframe = $$("iframe", {
  5213. "webkitallowfullscreen": "",
  5214. "mozallowfullscreen": "",
  5215. "allowfullscreen": "",
  5216. "frameborder": "no",
  5217. "border": "0",
  5218. "scrolling ": "no",
  5219. "style": {
  5220. "cssText": "border:0; width:100%; height:100%;"
  5221. },
  5222. "src": "/course-design-vue"
  5223. })
  5224. _box.appendChild(_iframe);
  5225. _box.appendChild(_jie);
  5226. _formdiv = new U.UF.UI.form(
  5227. "项目设计",
  5228. _box, {
  5229. "id": "courseDesign" + cid + stage + task + tool,
  5230. "style": {
  5231. "width": "90%",
  5232. "height": "90%",
  5233. "overflow": 'hidden'
  5234. },
  5235. "onresize": function () { }
  5236. }, {
  5237. closecallback: function () { }
  5238. }, {
  5239. "style": {
  5240. "height": "36px"
  5241. }
  5242. }).form; //创建窗体
  5243. _taskbar = {
  5244. "id": str + _formdiv.id,
  5245. "style": {
  5246. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5247. },
  5248. "name": "项目设计",
  5249. "forms": _formdiv,
  5250. "click": function () {
  5251. U.MD.D.I.openApplication(str, obj, info);
  5252. }
  5253. }
  5254. break;
  5255. }
  5256. const script1 = document.createElement("script");
  5257. script1.type = "text/javascript";
  5258. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5259. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5260. const script2 = document.createElement("script");
  5261. script2.type = "text/javascript";
  5262. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5263. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5264. const script3 = document.createElement("script");
  5265. script3.type = "text/javascript";
  5266. script3.charset = "UTF-8";
  5267. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5268. const script4 = document.createElement("script");
  5269. script4.type = "text/javascript";
  5270. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5271. script4.src = window.origin + "/js/Common/jietu2E.js";
  5272. if (_iframe) {
  5273. if (str == 'doc') {
  5274. _iframe = _formdiv.querySelector('iframe')
  5275. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5276. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5277. _iframe.contentWindow.document.body.appendChild(script1);
  5278. _iframe.contentWindow.document.body.appendChild(script2);
  5279. // _iframe.contentWindow.document.body.appendChild(script3);
  5280. _iframe.contentWindow.document.body.appendChild(script4);
  5281. })
  5282. if (onloadListener) {
  5283. _iframe.contentDocument.location.reload()
  5284. } else {
  5285. _iframe.contentDocument.location.reload()
  5286. }
  5287. } else if (str == 'courseDesign') {
  5288. U.UF.DL.iframeLoad(_iframe, function () {
  5289. // _iframe.contentWindow.U.MD.O.W.load();
  5290. // _iframe.contentWindow.document.body.appendChild(script1);
  5291. _iframe.contentWindow.document.body.appendChild(script2);
  5292. _iframe.contentWindow.document.body.appendChild(script4);
  5293. })
  5294. } else if (str == 'mind') {
  5295. _iframe = _formdiv.querySelector('iframe')
  5296. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5297. //
  5298. _iframe.contentWindow.document.body.appendChild(script1);
  5299. _iframe.contentWindow.document.body.appendChild(script2);
  5300. _iframe.contentWindow.document.body.appendChild(script4);
  5301. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5302. })
  5303. if (onloadListener) {
  5304. _iframe.contentDocument.location.reload()
  5305. } else {
  5306. _iframe.contentDocument.location.reload()
  5307. }
  5308. } else if (str == 'whiteboard') {
  5309. _iframe = _formdiv.querySelector('iframe')
  5310. let onloadListener = _iframe.onload = () => {
  5311. _iframe.contentWindow.document.body.appendChild(script1);
  5312. _iframe.contentWindow.document.body.appendChild(script2);
  5313. _iframe.contentWindow.document.body.appendChild(script4);
  5314. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5315. };
  5316. if (onloadListener) {
  5317. _iframe.contentDocument.location.reload()
  5318. } else {
  5319. _iframe.contentDocument.location.reload()
  5320. }
  5321. } else {
  5322. _iframe.onload = () => {
  5323. _iframe.contentWindow.document.body.appendChild(script1);
  5324. _iframe.contentWindow.document.body.appendChild(script2);
  5325. // _iframe.contentWindow.document.body.appendChild(script3);
  5326. _iframe.contentWindow.document.body.appendChild(script4);
  5327. };
  5328. }
  5329. _jie.onclick = async () => {
  5330. let text = ''
  5331. if (aTool == 1) {
  5332. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5333. } else if (aTool == 6) {
  5334. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5335. } else if (aTool == 3) {
  5336. text = await U.MD.D.I.getEditorContent(_iframe);
  5337. }
  5338. _loading.style.display = 'flex'
  5339. console.log(_loading);
  5340. var _ajs = _iframe.contentWindow.document.createElement("script");
  5341. _ajs.type = "text/javascript";
  5342. _ajs.innerHTML =
  5343. // 'console.log(' + _loading + ');\n' +
  5344. 'var _js = document.createElement("script");\n' +
  5345. '_js.type="text/javascript";\n' +
  5346. '_js.charset="UTF-8";\n' +
  5347. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5348. "_js.onload = function(){\n" +
  5349. ' var a = document.getElementsByTagName("img")\n' +
  5350. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5351. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5352. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5353. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5354. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5355. "beforeUpload_shishi(file," +
  5356. "'" +
  5357. _userid +
  5358. "'" +
  5359. ", " +
  5360. "'" +
  5361. _cid +
  5362. "'" +
  5363. ", " +
  5364. "'" +
  5365. _stage +
  5366. "'" +
  5367. ", " +
  5368. "'" +
  5369. _task +
  5370. "'" +
  5371. ", " +
  5372. "'" +
  5373. _tool +
  5374. "'" +
  5375. ", " +
  5376. "'" +
  5377. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5378. "'" +
  5379. ", " +
  5380. "'" +
  5381. aTool +
  5382. "'" +
  5383. ", " +
  5384. "`" +
  5385. text +
  5386. "`" +
  5387. ")\n" +
  5388. " });\n" +
  5389. "}\n" +
  5390. "document.head.appendChild(_js);\n";
  5391. _iframe.contentWindow.document.head.appendChild(_ajs);
  5392. }
  5393. }
  5394. //U.MD.D.I.openClick(str);
  5395. //如果有任务栏信息
  5396. // if (_taskbar) {
  5397. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  5398. // }
  5399. }
  5400. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5401. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5402. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5403. _userid = student.userid, //登录用户id
  5404. _username = student.student //用户名字
  5405. let _iframe;
  5406. let _cid = cid,
  5407. _stage = stage,
  5408. _task = task,
  5409. _tool = tool;
  5410. var _jie = $$("div", {
  5411. "style": {
  5412. "position": "absolute",
  5413. "bottom": "50px",
  5414. "right": "50px",
  5415. "zIndex": "9999",
  5416. "backgroundColor": "#2268bc",
  5417. "color": "#fff",
  5418. "padding": "12px 20px",
  5419. "cursor": "pointer",
  5420. "borderRadius": "4px",
  5421. },
  5422. "innerHTML": "提交作业"
  5423. })
  5424. let aTool = ''
  5425. let _loading = document.createElement('div')
  5426. _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;"
  5427. // _loading.id = "";
  5428. let _lchild = document.createElement('div')
  5429. let _limg = document.createElement('img')
  5430. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5431. _limg.style = "width: 26px;margin-right: 10px;"
  5432. _lchild.appendChild(_limg)
  5433. let _lspan = document.createElement('span')
  5434. _lspan.innerHTML = "上传中..."
  5435. _lchild.appendChild(_lspan)
  5436. _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%);"
  5437. _loading.appendChild(_lchild)
  5438. var _box = $$('div', {
  5439. "style": {
  5440. "position": "relative",
  5441. "width": "100%",
  5442. "height": "100%",
  5443. },
  5444. })
  5445. _box.appendChild(_loading)
  5446. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5447. switch (str) {
  5448. case "whiteboard":
  5449. aTool = 1;
  5450. _iframe = $$("iframe", {
  5451. "frameborder": "no",
  5452. "border": "0",
  5453. "scrolling ": "no",
  5454. "style": {
  5455. "cssText": "border:0;width:100%;height:100%"
  5456. },
  5457. "src": "https://iwb.cocorobo.cn/"
  5458. })
  5459. _box.appendChild(_iframe);
  5460. _box.appendChild(_jie);
  5461. _formdiv = new U.UF.UI.form(
  5462. "电子白板-" + _username,
  5463. _box, {
  5464. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5465. "style": {
  5466. "width": "90%",
  5467. "height": "90%",
  5468. "overflow": 'hidden'
  5469. },
  5470. "onresize": function () { }
  5471. }, {
  5472. closecallback: function () { }
  5473. }, {
  5474. "style": {
  5475. "height": "36px"
  5476. }
  5477. }).form; //创建窗体
  5478. _taskbar = {
  5479. "id": str + _formdiv.id,
  5480. "style": {
  5481. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5482. },
  5483. "name": "电子白板",
  5484. "forms": _formdiv,
  5485. "click": function () {
  5486. U.MD.D.I.openApplication(str, obj, info);
  5487. }
  5488. }
  5489. break;
  5490. case "mind":
  5491. aTool = 3;
  5492. _iframe = $$("iframe", {
  5493. "frameborder": "no",
  5494. "border": "0",
  5495. "scrolling ": "no",
  5496. "style": {
  5497. "cssText": "border:0;width:100%;height:100%"
  5498. },
  5499. "src": "/kityminder-editor/dist/index.html"
  5500. })
  5501. _box.appendChild(_iframe);
  5502. _box.appendChild(_jie);
  5503. _formdiv = new U.UF.UI.form(
  5504. "思维导图-" + _username,
  5505. _box, { //"/jsmind/example/demo.html"
  5506. "id": "mind" + cid + stage + task + tool + _userid,
  5507. "style": {
  5508. "width": "90%",
  5509. "height": "90%",
  5510. "overflow": 'hidden'
  5511. },
  5512. "onresize": function () { }
  5513. }, {
  5514. closecallback: function () { }
  5515. }, {
  5516. "style": {
  5517. "height": "36px"
  5518. }
  5519. }).form; //创建窗体
  5520. _taskbar = {
  5521. "id": str + _formdiv.id,
  5522. "style": {
  5523. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5524. },
  5525. "name": "思维导图",
  5526. "forms": _formdiv,
  5527. "click": function () {
  5528. U.MD.D.I.openApplication(str, obj, info);
  5529. }
  5530. }
  5531. break;
  5532. case "MindMap":
  5533. aTool = 3;
  5534. _iframe = $$("iframe", {
  5535. "frameborder": "no",
  5536. "border": "0",
  5537. "scrolling ": "no",
  5538. "style": {
  5539. "cssText": "border:0;width:100%;height:100%"
  5540. },
  5541. "src": "//cloud.cocorobo.cn/mind/"
  5542. })
  5543. _box.appendChild(_iframe);
  5544. _box.appendChild(_jie);
  5545. _formdiv = new U.UF.UI.form(
  5546. "思维导图-" + _username,
  5547. _box, { //"/jsmind/example/demo.html"
  5548. "id": "mind" + cid + stage + task + tool + _userid,
  5549. "style": {
  5550. "width": "90%",
  5551. "height": "90%",
  5552. "overflow": 'hidden'
  5553. },
  5554. "onresize": function () { }
  5555. }, {
  5556. closecallback: function () { }
  5557. }, {
  5558. "style": {
  5559. "height": "36px"
  5560. }
  5561. }).form; //创建窗体
  5562. _taskbar = {
  5563. "id": str + _formdiv.id,
  5564. "style": {
  5565. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5566. },
  5567. "name": "思维导图",
  5568. "forms": _formdiv,
  5569. "click": function () {
  5570. U.MD.D.I.openApplication(str, obj, info);
  5571. }
  5572. }
  5573. break;
  5574. case "doc":
  5575. aTool = 6;
  5576. _iframe = $$("iframe", {
  5577. "frameborder": "no",
  5578. "border": "0",
  5579. "scrolling ": "no",
  5580. "style": {
  5581. "cssText": "border:0;width:100%;height:100%"
  5582. },
  5583. "src": "/Office/Word/WordEditArea.htm"
  5584. })
  5585. _box.appendChild(_iframe);
  5586. _box.appendChild(_jie);
  5587. _formdiv = new U.UF.UI.form(
  5588. "协同文档-" + _username,
  5589. _box, {
  5590. "id": "doc" + cid + stage + task + tool + _userid,
  5591. "style": {
  5592. "width": "90%",
  5593. "height": "90%",
  5594. "overflow": 'hidden'
  5595. },
  5596. "onresize": function () { }
  5597. }, {
  5598. closecallback: function () { }
  5599. }, {
  5600. "style": {
  5601. "height": "36px"
  5602. }
  5603. }).form; //创建窗体
  5604. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5605. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5606. })
  5607. _taskbar = {
  5608. "id": str + _formdiv.id,
  5609. "style": {
  5610. "backgroundImage": "url(/img/icon/doc.png)"
  5611. },
  5612. "name": "协同文档",
  5613. "forms": _formdiv,
  5614. "click": function () {
  5615. U.MD.D.I.openApplication(str, obj, info);
  5616. }
  5617. }
  5618. break;
  5619. case "mindNetwork": //好友打开
  5620. aTool = 7;
  5621. _iframe = $$("iframe", {
  5622. "webkitallowfullscreen": "",
  5623. "mozallowfullscreen": "",
  5624. "allowfullscreen": "",
  5625. "frameborder": "no",
  5626. "border": "0",
  5627. "scrolling ": "no",
  5628. "style": {
  5629. "cssText": "border:0; width:100%; height:100%;"
  5630. },
  5631. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5632. })
  5633. _box.appendChild(_iframe);
  5634. _box.appendChild(_jie);
  5635. _formdiv = new U.UF.UI.form(
  5636. "思维网格-" + _username,
  5637. _box, {
  5638. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5639. "style": {
  5640. "width": "90%",
  5641. "height": "90%",
  5642. "overflow": 'hidden'
  5643. },
  5644. "onresize": function () { }
  5645. }, {
  5646. closecallback: function () { }
  5647. }, {
  5648. "style": {
  5649. "height": "36px"
  5650. }
  5651. }).form; //创建窗体
  5652. _taskbar = {
  5653. "id": str + _formdiv.id,
  5654. "style": {
  5655. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5656. },
  5657. "name": "思维网格",
  5658. "forms": _formdiv,
  5659. "click": function () {
  5660. U.MD.D.I.openApplication(str, obj, info);
  5661. }
  5662. }
  5663. break;
  5664. case "courseDesign":
  5665. _iframe = $$("iframe", {
  5666. "webkitallowfullscreen": "",
  5667. "mozallowfullscreen": "",
  5668. "allowfullscreen": "",
  5669. "frameborder": "no",
  5670. "border": "0",
  5671. "scrolling ": "no",
  5672. "style": {
  5673. "cssText": "border:0; width:100%; height:100%;"
  5674. },
  5675. "src": "/course-design-vue"
  5676. })
  5677. _box.appendChild(_iframe);
  5678. _box.appendChild(_jie);
  5679. _formdiv = new U.UF.UI.form(
  5680. "项目设计-" + _username,
  5681. _box, {
  5682. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5683. "style": {
  5684. "width": "90%",
  5685. "height": "90%",
  5686. "overflow": 'hidden'
  5687. },
  5688. "onresize": function () { }
  5689. }, {
  5690. closecallback: function () { }
  5691. }, {
  5692. "style": {
  5693. "height": "36px"
  5694. }
  5695. }).form; //创建窗体
  5696. _taskbar = {
  5697. "id": str + _formdiv.id,
  5698. "style": {
  5699. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5700. },
  5701. "name": "项目设计",
  5702. "forms": _formdiv,
  5703. "click": function () {
  5704. U.MD.D.I.openApplication(str, obj, info);
  5705. }
  5706. }
  5707. break;
  5708. }
  5709. const script1 = document.createElement("script");
  5710. script1.type = "text/javascript";
  5711. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5712. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  5713. const script2 = document.createElement("script");
  5714. script2.type = "text/javascript";
  5715. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5716. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  5717. const script3 = document.createElement("script");
  5718. script3.type = "text/javascript";
  5719. script3.charset = "UTF-8";
  5720. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  5721. const script4 = document.createElement("script");
  5722. script4.type = "text/javascript";
  5723. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5724. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu2.js";
  5725. if (_iframe) {
  5726. if (str == 'doc') {
  5727. _iframe = _formdiv.querySelector('iframe')
  5728. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5729. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5730. _iframe.contentWindow.document.body.appendChild(script1);
  5731. _iframe.contentWindow.document.body.appendChild(script2);
  5732. // _iframe.contentWindow.document.body.appendChild(script3);
  5733. _iframe.contentWindow.document.body.appendChild(script4);
  5734. })
  5735. if (onloadListener) {
  5736. _iframe.contentDocument.location.reload()
  5737. } else {
  5738. _iframe.contentDocument.location.reload()
  5739. }
  5740. } else if (str == 'courseDesign') {
  5741. U.UF.DL.iframeLoad(_iframe, function () {
  5742. // _iframe.contentWindow.U.MD.O.W.load();
  5743. // _iframe.contentWindow.document.body.appendChild(script1);
  5744. _iframe.contentWindow.document.body.appendChild(script2);
  5745. _iframe.contentWindow.document.body.appendChild(script4);
  5746. })
  5747. } else if (str == 'mind') {
  5748. _iframe = _formdiv.querySelector('iframe')
  5749. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5750. //
  5751. _iframe.contentWindow.document.body.appendChild(script1);
  5752. _iframe.contentWindow.document.body.appendChild(script2);
  5753. _iframe.contentWindow.document.body.appendChild(script4);
  5754. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5755. })
  5756. if (onloadListener) {
  5757. _iframe.contentDocument.location.reload()
  5758. } else {
  5759. _iframe.contentDocument.location.reload()
  5760. }
  5761. } else if (str == 'whiteboard') {
  5762. _iframe = _formdiv.querySelector('iframe')
  5763. let onloadListener = _iframe.onload = () => {
  5764. _iframe.contentWindow.document.body.appendChild(script1);
  5765. _iframe.contentWindow.document.body.appendChild(script2);
  5766. _iframe.contentWindow.document.body.appendChild(script4);
  5767. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5768. };
  5769. if (onloadListener) {
  5770. _iframe.contentDocument.location.reload()
  5771. } else {
  5772. _iframe.contentDocument.location.reload()
  5773. }
  5774. } else {
  5775. _iframe.onload = () => {
  5776. _iframe.contentWindow.document.body.appendChild(script1);
  5777. _iframe.contentWindow.document.body.appendChild(script2);
  5778. // _iframe.contentWindow.document.body.appendChild(script3);
  5779. _iframe.contentWindow.document.body.appendChild(script4);
  5780. };
  5781. }
  5782. _jie.onclick = async () => {
  5783. let text = ''
  5784. if (aTool == 1) {
  5785. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5786. } else if (aTool == 6) {
  5787. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5788. } else if (aTool == 3) {
  5789. text = await U.MD.D.I.getEditorContent(_iframe);
  5790. }
  5791. _loading.style.display = 'flex'
  5792. console.log(_loading);
  5793. var _ajs = _iframe.contentWindow.document.createElement("script");
  5794. _ajs.type = "text/javascript";
  5795. _ajs.innerHTML =
  5796. // 'console.log(' + _loading + ');\n' +
  5797. 'var _js = document.createElement("script");\n' +
  5798. '_js.type="text/javascript";\n' +
  5799. '_js.charset="UTF-8";\n' +
  5800. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  5801. "_js.onload = function(){\n" +
  5802. ' var a = document.getElementsByTagName("img")\n' +
  5803. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5804. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5805. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5806. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5807. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  5808. "beforeUpload_shishi(file," +
  5809. "'" +
  5810. _userid +
  5811. "'" +
  5812. ", " +
  5813. "'" +
  5814. _cid +
  5815. "'" +
  5816. ", " +
  5817. "'" +
  5818. _stage +
  5819. "'" +
  5820. ", " +
  5821. "'" +
  5822. _task +
  5823. "'" +
  5824. ", " +
  5825. "'" +
  5826. _tool +
  5827. "'" +
  5828. ", " +
  5829. "'" +
  5830. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5831. "'" +
  5832. ", " +
  5833. "'" +
  5834. aTool +
  5835. "'" +
  5836. ", " +
  5837. "`" +
  5838. text +
  5839. "`" +
  5840. ")\n" +
  5841. " });\n" +
  5842. "}\n" +
  5843. "document.head.appendChild(_js);\n";
  5844. _iframe.contentWindow.document.head.appendChild(_ajs);
  5845. }
  5846. }
  5847. }
  5848. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5849. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  5850. _formdiv, //创建任务栏时同时弹出的窗体元素。
  5851. _userid = student.userid, //登录用户id
  5852. _username = student.student //用户名字
  5853. let _iframe;
  5854. let _cid = cid,
  5855. _stage = stage,
  5856. _task = task,
  5857. _tool = tool;
  5858. var _jie = $$("div", {
  5859. "style": {
  5860. "position": "absolute",
  5861. "bottom": "50px",
  5862. "right": "50px",
  5863. "zIndex": "9999",
  5864. "backgroundColor": "#2268bc",
  5865. "color": "#fff",
  5866. "padding": "12px 20px",
  5867. "cursor": "pointer",
  5868. "borderRadius": "4px",
  5869. },
  5870. "innerHTML": "提交作业"
  5871. })
  5872. let aTool = ''
  5873. let _loading = document.createElement('div')
  5874. _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;"
  5875. // _loading.id = "";
  5876. let _lchild = document.createElement('div')
  5877. let _limg = document.createElement('img')
  5878. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5879. _limg.style = "width: 26px;margin-right: 10px;"
  5880. _lchild.appendChild(_limg)
  5881. let _lspan = document.createElement('span')
  5882. _lspan.innerHTML = "上传中..."
  5883. _lchild.appendChild(_lspan)
  5884. _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%);"
  5885. _loading.appendChild(_lchild)
  5886. var _box = $$('div', {
  5887. "style": {
  5888. "position": "relative",
  5889. "width": "100%",
  5890. "height": "100%",
  5891. },
  5892. })
  5893. _box.appendChild(_loading)
  5894. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5895. switch (str) {
  5896. case "whiteboard":
  5897. aTool = 1;
  5898. _iframe = $$("iframe", {
  5899. "frameborder": "no",
  5900. "border": "0",
  5901. "scrolling ": "no",
  5902. "style": {
  5903. "cssText": "border:0;width:100%;height:100%"
  5904. },
  5905. "src": "https://iwb.cocorobo.cn/"
  5906. })
  5907. _box.appendChild(_iframe);
  5908. _box.appendChild(_jie);
  5909. _formdiv = new U.UF.UI.form(
  5910. "电子白板-" + _username,
  5911. _box, {
  5912. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5913. "style": {
  5914. "width": "90%",
  5915. "height": "90%",
  5916. "overflow": 'hidden'
  5917. },
  5918. "onresize": function () { }
  5919. }, {
  5920. closecallback: function () { }
  5921. }, {
  5922. "style": {
  5923. "height": "36px"
  5924. }
  5925. }).form; //创建窗体
  5926. _taskbar = {
  5927. "id": str + _formdiv.id,
  5928. "style": {
  5929. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5930. },
  5931. "name": "电子白板",
  5932. "forms": _formdiv,
  5933. "click": function () {
  5934. U.MD.D.I.openApplication(str, obj, info);
  5935. }
  5936. }
  5937. break;
  5938. case "mind":
  5939. aTool = 3;
  5940. _iframe = $$("iframe", {
  5941. "frameborder": "no",
  5942. "border": "0",
  5943. "scrolling ": "no",
  5944. "style": {
  5945. "cssText": "border:0;width:100%;height:100%"
  5946. },
  5947. "src": "/kityminder-editor/dist/index.html"
  5948. })
  5949. _box.appendChild(_iframe);
  5950. _box.appendChild(_jie);
  5951. _formdiv = new U.UF.UI.form(
  5952. "思维导图-" + _username,
  5953. _box, { //"/jsmind/example/demo.html"
  5954. "id": "mind" + cid + stage + task + tool + _userid,
  5955. "style": {
  5956. "width": "90%",
  5957. "height": "90%",
  5958. "overflow": 'hidden'
  5959. },
  5960. "onresize": function () { }
  5961. }, {
  5962. closecallback: function () { }
  5963. }, {
  5964. "style": {
  5965. "height": "36px"
  5966. }
  5967. }).form; //创建窗体
  5968. _taskbar = {
  5969. "id": str + _formdiv.id,
  5970. "style": {
  5971. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5972. },
  5973. "name": "思维导图",
  5974. "forms": _formdiv,
  5975. "click": function () {
  5976. U.MD.D.I.openApplication(str, obj, info);
  5977. }
  5978. }
  5979. break;
  5980. case "MindMap":
  5981. aTool = 3;
  5982. _iframe = $$("iframe", {
  5983. "frameborder": "no",
  5984. "border": "0",
  5985. "scrolling ": "no",
  5986. "style": {
  5987. "cssText": "border:0;width:100%;height:100%"
  5988. },
  5989. "src": "//cloud.cocorobo.cn/mind/"
  5990. })
  5991. _box.appendChild(_iframe);
  5992. _box.appendChild(_jie);
  5993. _formdiv = new U.UF.UI.form(
  5994. "思维导图-" + _username,
  5995. _box, { //"/jsmind/example/demo.html"
  5996. "id": "mind" + cid + stage + task + tool + _userid,
  5997. "style": {
  5998. "width": "90%",
  5999. "height": "90%",
  6000. "overflow": 'hidden'
  6001. },
  6002. "onresize": function () { }
  6003. }, {
  6004. closecallback: function () { }
  6005. }, {
  6006. "style": {
  6007. "height": "36px"
  6008. }
  6009. }).form; //创建窗体
  6010. _taskbar = {
  6011. "id": str + _formdiv.id,
  6012. "style": {
  6013. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6014. },
  6015. "name": "思维导图",
  6016. "forms": _formdiv,
  6017. "click": function () {
  6018. U.MD.D.I.openApplication(str, obj, info);
  6019. }
  6020. }
  6021. break;
  6022. case "doc":
  6023. aTool = 6;
  6024. _iframe = $$("iframe", {
  6025. "frameborder": "no",
  6026. "border": "0",
  6027. "scrolling ": "no",
  6028. "style": {
  6029. "cssText": "border:0;width:100%;height:100%"
  6030. },
  6031. "src": "/Office/Word/WordEditArea.htm"
  6032. })
  6033. _box.appendChild(_iframe);
  6034. _box.appendChild(_jie);
  6035. _formdiv = new U.UF.UI.form(
  6036. "协同文档-" + _username,
  6037. _box, {
  6038. "id": "doc" + cid + stage + task + tool + _userid,
  6039. "style": {
  6040. "width": "90%",
  6041. "height": "90%",
  6042. "overflow": 'hidden'
  6043. },
  6044. "onresize": function () { }
  6045. }, {
  6046. closecallback: function () { }
  6047. }, {
  6048. "style": {
  6049. "height": "36px"
  6050. }
  6051. }).form; //创建窗体
  6052. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6053. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6054. })
  6055. _taskbar = {
  6056. "id": str + _formdiv.id,
  6057. "style": {
  6058. "backgroundImage": "url(/img/icon/doc.png)"
  6059. },
  6060. "name": "协同文档",
  6061. "forms": _formdiv,
  6062. "click": function () {
  6063. U.MD.D.I.openApplication(str, obj, info);
  6064. }
  6065. }
  6066. break;
  6067. case "mindNetwork": //好友打开
  6068. aTool = 7;
  6069. _iframe = $$("iframe", {
  6070. "webkitallowfullscreen": "",
  6071. "mozallowfullscreen": "",
  6072. "allowfullscreen": "",
  6073. "frameborder": "no",
  6074. "border": "0",
  6075. "scrolling ": "no",
  6076. "style": {
  6077. "cssText": "border:0; width:100%; height:100%;"
  6078. },
  6079. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6080. })
  6081. _box.appendChild(_iframe);
  6082. _box.appendChild(_jie);
  6083. _formdiv = new U.UF.UI.form(
  6084. "思维网格-" + _username,
  6085. _box, {
  6086. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6087. "style": {
  6088. "width": "90%",
  6089. "height": "90%",
  6090. "overflow": 'hidden'
  6091. },
  6092. "onresize": function () { }
  6093. }, {
  6094. closecallback: function () { }
  6095. }, {
  6096. "style": {
  6097. "height": "36px"
  6098. }
  6099. }).form; //创建窗体
  6100. _taskbar = {
  6101. "id": str + _formdiv.id,
  6102. "style": {
  6103. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6104. },
  6105. "name": "思维网格",
  6106. "forms": _formdiv,
  6107. "click": function () {
  6108. U.MD.D.I.openApplication(str, obj, info);
  6109. }
  6110. }
  6111. break;
  6112. case "courseDesign":
  6113. _iframe = $$("iframe", {
  6114. "webkitallowfullscreen": "",
  6115. "mozallowfullscreen": "",
  6116. "allowfullscreen": "",
  6117. "frameborder": "no",
  6118. "border": "0",
  6119. "scrolling ": "no",
  6120. "style": {
  6121. "cssText": "border:0; width:100%; height:100%;"
  6122. },
  6123. "src": "/course-design-vue"
  6124. })
  6125. _box.appendChild(_iframe);
  6126. _box.appendChild(_jie);
  6127. _formdiv = new U.UF.UI.form(
  6128. "项目设计-" + _username,
  6129. _box, {
  6130. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6131. "style": {
  6132. "width": "90%",
  6133. "height": "90%",
  6134. "overflow": 'hidden'
  6135. },
  6136. "onresize": function () { }
  6137. }, {
  6138. closecallback: function () { }
  6139. }, {
  6140. "style": {
  6141. "height": "36px"
  6142. }
  6143. }).form; //创建窗体
  6144. _taskbar = {
  6145. "id": str + _formdiv.id,
  6146. "style": {
  6147. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6148. },
  6149. "name": "项目设计",
  6150. "forms": _formdiv,
  6151. "click": function () {
  6152. U.MD.D.I.openApplication(str, obj, info);
  6153. }
  6154. }
  6155. break;
  6156. }
  6157. const script1 = document.createElement("script");
  6158. script1.type = "text/javascript";
  6159. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6160. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6161. const script2 = document.createElement("script");
  6162. script2.type = "text/javascript";
  6163. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6164. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6165. const script3 = document.createElement("script");
  6166. script3.type = "text/javascript";
  6167. script3.charset = "UTF-8";
  6168. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6169. const script4 = document.createElement("script");
  6170. script4.type = "text/javascript";
  6171. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6172. script4.src = window.origin + "/js/Common/jietu2E.js";
  6173. if (_iframe) {
  6174. if (str == 'doc') {
  6175. _iframe = _formdiv.querySelector('iframe')
  6176. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6177. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6178. _iframe.contentWindow.document.body.appendChild(script1);
  6179. _iframe.contentWindow.document.body.appendChild(script2);
  6180. // _iframe.contentWindow.document.body.appendChild(script3);
  6181. _iframe.contentWindow.document.body.appendChild(script4);
  6182. })
  6183. if (onloadListener) {
  6184. _iframe.contentDocument.location.reload()
  6185. } else {
  6186. _iframe.contentDocument.location.reload()
  6187. }
  6188. } else if (str == 'courseDesign') {
  6189. U.UF.DL.iframeLoad(_iframe, function () {
  6190. // _iframe.contentWindow.U.MD.O.W.load();
  6191. // _iframe.contentWindow.document.body.appendChild(script1);
  6192. _iframe.contentWindow.document.body.appendChild(script2);
  6193. _iframe.contentWindow.document.body.appendChild(script4);
  6194. })
  6195. } else if (str == 'mind') {
  6196. _iframe = _formdiv.querySelector('iframe')
  6197. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6198. //
  6199. _iframe.contentWindow.document.body.appendChild(script1);
  6200. _iframe.contentWindow.document.body.appendChild(script2);
  6201. _iframe.contentWindow.document.body.appendChild(script4);
  6202. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6203. })
  6204. if (onloadListener) {
  6205. _iframe.contentDocument.location.reload()
  6206. } else {
  6207. _iframe.contentDocument.location.reload()
  6208. }
  6209. } else if (str == 'whiteboard') {
  6210. _iframe = _formdiv.querySelector('iframe')
  6211. let onloadListener = _iframe.onload = () => {
  6212. _iframe.contentWindow.document.body.appendChild(script1);
  6213. _iframe.contentWindow.document.body.appendChild(script2);
  6214. _iframe.contentWindow.document.body.appendChild(script4);
  6215. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6216. };
  6217. if (onloadListener) {
  6218. _iframe.contentDocument.location.reload()
  6219. } else {
  6220. _iframe.contentDocument.location.reload()
  6221. }
  6222. } else {
  6223. _iframe.onload = () => {
  6224. _iframe.contentWindow.document.body.appendChild(script1);
  6225. _iframe.contentWindow.document.body.appendChild(script2);
  6226. // _iframe.contentWindow.document.body.appendChild(script3);
  6227. _iframe.contentWindow.document.body.appendChild(script4);
  6228. };
  6229. }
  6230. _jie.onclick = async () => {
  6231. let text = ''
  6232. if (aTool == 1) {
  6233. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6234. } else if (aTool == 6) {
  6235. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6236. } else if (aTool == 3) {
  6237. text = await U.MD.D.I.getEditorContent(_iframe);
  6238. }
  6239. _loading.style.display = 'flex'
  6240. console.log(_loading);
  6241. var _ajs = _iframe.contentWindow.document.createElement("script");
  6242. _ajs.type = "text/javascript";
  6243. _ajs.innerHTML =
  6244. // 'console.log(' + _loading + ');\n' +
  6245. 'var _js = document.createElement("script");\n' +
  6246. '_js.type="text/javascript";\n' +
  6247. '_js.charset="UTF-8";\n' +
  6248. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6249. "_js.onload = function(){\n" +
  6250. ' var a = document.getElementsByTagName("img")\n' +
  6251. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6252. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6253. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6254. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6255. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6256. "beforeUpload_shishi(file," +
  6257. "'" +
  6258. _userid +
  6259. "'" +
  6260. ", " +
  6261. "'" +
  6262. _cid +
  6263. "'" +
  6264. ", " +
  6265. "'" +
  6266. _stage +
  6267. "'" +
  6268. ", " +
  6269. "'" +
  6270. _task +
  6271. "'" +
  6272. ", " +
  6273. "'" +
  6274. _tool +
  6275. "'" +
  6276. ", " +
  6277. "'" +
  6278. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6279. "'" +
  6280. ", " +
  6281. "'" +
  6282. aTool +
  6283. "'" +
  6284. ", " +
  6285. "`" +
  6286. text +
  6287. "`" +
  6288. ")\n" +
  6289. " });\n" +
  6290. "}\n" +
  6291. "document.head.appendChild(_js);\n";
  6292. _iframe.contentWindow.document.head.appendChild(_ajs);
  6293. }
  6294. }
  6295. }
  6296. U.MD.D.I.getEditorContent = function (iframe) {
  6297. return new Promise((resolve, reject) => {
  6298. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6299. console.log(content);
  6300. resolve(content)
  6301. });
  6302. });
  6303. }
  6304. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6305. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6306. // if (res.value[0].length > 0) {
  6307. // // resolve(res.value[0][0].text);
  6308. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6309. // $(fileInput).val('');
  6310. // });
  6311. // }
  6312. // }, [], { "type": "GET", "withCredentials": true });
  6313. var xmlhttp;
  6314. var Mac, Sn, DeviceId
  6315. if (window.XMLHttpRequest) {
  6316. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  6317. xmlhttp = new XMLHttpRequest();
  6318. } else {
  6319. // IE6, IE5 浏览器执行代码
  6320. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6321. }
  6322. xmlhttp.onreadystatechange = function () {
  6323. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6324. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6325. // resolve(res.value[0][0].text);
  6326. if (type == '2') {
  6327. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6328. } else if (type == '3') {
  6329. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6330. }
  6331. } else {
  6332. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6333. }
  6334. }
  6335. }
  6336. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6337. xmlhttp.send();
  6338. }
  6339. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6340. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6341. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6342. _userinfo = US.userInfo, //登录用户信息
  6343. _userid = US.userInfo.userid //登录用户id
  6344. let _iframe;
  6345. let _cid = cid,
  6346. _stage = stage,
  6347. _task = task,
  6348. _tool = tool;
  6349. var _jie = $$("div", {
  6350. "style": {
  6351. "position": "absolute",
  6352. "bottom": "50px",
  6353. "right": "50px",
  6354. "zIndex": "9999",
  6355. "backgroundColor": "#2268bc",
  6356. "color": "#fff",
  6357. "padding": "12px 20px",
  6358. "cursor": "pointer",
  6359. "borderRadius": "4px",
  6360. },
  6361. "innerHTML": "确认并提交"
  6362. })
  6363. let aTool = ''
  6364. let _loading = document.createElement('div')
  6365. _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;"
  6366. // _loading.id = "";
  6367. let _lchild = document.createElement('div')
  6368. let _limg = document.createElement('img')
  6369. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6370. _limg.style = "width: 26px;margin-right: 10px;"
  6371. _lchild.appendChild(_limg)
  6372. let _lspan = document.createElement('span')
  6373. _lspan.innerHTML = "上传中..."
  6374. _lchild.appendChild(_lspan)
  6375. _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%);"
  6376. _loading.appendChild(_lchild)
  6377. var _box = $$('div', {
  6378. "style": {
  6379. "position": "relative",
  6380. "width": "100%",
  6381. "height": "100%",
  6382. },
  6383. })
  6384. _box.appendChild(_loading)
  6385. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6386. switch (str) {
  6387. case "whiteboard":
  6388. aTool = 1;
  6389. _iframe = $$("iframe", {
  6390. "frameborder": "no",
  6391. "border": "0",
  6392. "scrolling ": "no",
  6393. "style": {
  6394. "cssText": "border:0;width:100%;height:100%"
  6395. },
  6396. "src": "https://iwb.cocorobo.cn/"
  6397. })
  6398. _box.appendChild(_iframe);
  6399. _box.appendChild(_jie);
  6400. _formdiv = new U.UF.UI.form(
  6401. "电子白板",
  6402. _box, {
  6403. "id": "whiteboards" + cid + stage + task + tool,
  6404. "style": {
  6405. "width": "90%",
  6406. "height": "90%",
  6407. "overflow": 'hidden'
  6408. },
  6409. "onresize": function () { }
  6410. }, {
  6411. closecallback: function () { }
  6412. }, {
  6413. "style": {
  6414. "height": "36px"
  6415. }
  6416. }).form; //创建窗体
  6417. _taskbar = {
  6418. "id": str + _formdiv.id,
  6419. "style": {
  6420. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6421. },
  6422. "name": "电子白板",
  6423. "forms": _formdiv,
  6424. "click": function () {
  6425. U.MD.D.I.openApplication(str, obj, info);
  6426. }
  6427. }
  6428. break;
  6429. case "mind":
  6430. aTool = 3;
  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": "/kityminder-editor/dist/index.html"
  6439. });
  6440. _box.appendChild(_iframe);
  6441. _box.appendChild(_jie);
  6442. _formdiv = new U.UF.UI.form(
  6443. "思维导图",
  6444. _box, { //"/jsmind/example/demo.html"
  6445. "id": "minds" + 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/mindMapping.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 "doc":
  6472. aTool = 6;
  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": "/Office/Word/WordEditArea.htm"
  6481. })
  6482. _box.appendChild(_iframe);
  6483. _box.appendChild(_jie);
  6484. _formdiv = new U.UF.UI.form(
  6485. "协同文档",
  6486. _box, {
  6487. "id": "docs" + 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. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6502. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6503. })
  6504. _taskbar = {
  6505. "id": str + _formdiv.id,
  6506. "style": {
  6507. "backgroundImage": "url(/img/icon/doc.png)"
  6508. },
  6509. "name": "协同文档",
  6510. "forms": _formdiv,
  6511. "click": function () {
  6512. U.MD.D.I.openApplication(str, obj, info);
  6513. }
  6514. }
  6515. break;
  6516. }
  6517. const script1 = document.createElement("script");
  6518. script1.type = "text/javascript";
  6519. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6520. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6521. const script2 = document.createElement("script");
  6522. script2.type = "text/javascript";
  6523. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6524. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6525. const script3 = document.createElement("script");
  6526. script3.type = "text/javascript";
  6527. script3.charset = "UTF-8";
  6528. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6529. const script4 = document.createElement("script");
  6530. script4.type = "text/javascript";
  6531. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6532. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu4.js";
  6533. if (_iframe) {
  6534. if (str == 'doc') {
  6535. _iframe = _formdiv.querySelector('iframe')
  6536. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6537. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6538. _iframe.contentWindow.document.body.appendChild(script1);
  6539. _iframe.contentWindow.document.body.appendChild(script2);
  6540. // _iframe.contentWindow.document.body.appendChild(script3);
  6541. _iframe.contentWindow.document.body.appendChild(script4);
  6542. })
  6543. if (onloadListener) {
  6544. _iframe.contentDocument.location.reload()
  6545. } else {
  6546. _iframe.contentDocument.location.reload()
  6547. }
  6548. } else if (str == 'mind') {
  6549. _iframe = _formdiv.querySelector('iframe')
  6550. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6551. _iframe.contentWindow.document.body.appendChild(script1);
  6552. _iframe.contentWindow.document.body.appendChild(script2);
  6553. _iframe.contentWindow.document.body.appendChild(script4);
  6554. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6555. })
  6556. if (onloadListener) {
  6557. _iframe.contentDocument.location.reload()
  6558. } else {
  6559. _iframe.contentDocument.location.reload()
  6560. }
  6561. } else {
  6562. _iframe.onload = () => {
  6563. _iframe.contentWindow.document.body.appendChild(script1);
  6564. _iframe.contentWindow.document.body.appendChild(script2);
  6565. // _iframe.contentWindow.document.body.appendChild(script3);
  6566. _iframe.contentWindow.document.body.appendChild(script4);
  6567. };
  6568. }
  6569. _jie.onclick = async () => {
  6570. let text = ''
  6571. if (aTool == 6) {
  6572. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6573. } else if (aTool == 3) {
  6574. text = await U.MD.D.I.getEditorContent(_iframe);
  6575. }
  6576. _loading.style.display = 'flex'
  6577. console.log(_loading);
  6578. var _ajs = _iframe.contentWindow.document.createElement("script");
  6579. _ajs.type = "text/javascript";
  6580. _ajs.innerHTML =
  6581. // 'console.log(' + _loading + ');\n' +
  6582. 'var _js = document.createElement("script");\n' +
  6583. '_js.type="text/javascript";\n' +
  6584. '_js.charset="UTF-8";\n' +
  6585. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6586. "_js.onload = function(){\n" +
  6587. ' var a = document.getElementsByTagName("img")\n' +
  6588. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6589. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6590. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6591. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6592. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6593. "beforeUpload_shishi(file," +
  6594. "'" +
  6595. _userid +
  6596. "'" +
  6597. ", " +
  6598. "'" +
  6599. _cid +
  6600. "'" +
  6601. ", " +
  6602. "'" +
  6603. _stage +
  6604. "'" +
  6605. ", " +
  6606. "'" +
  6607. _task +
  6608. "'" +
  6609. ", " +
  6610. "'" +
  6611. _tool +
  6612. "'" +
  6613. ", " +
  6614. "'" +
  6615. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6616. "'" +
  6617. ", " +
  6618. "'" +
  6619. aTool +
  6620. "'" +
  6621. ", " +
  6622. "`" +
  6623. text +
  6624. "`" +
  6625. ")\n" +
  6626. " });\n" +
  6627. "}\n" +
  6628. "document.head.appendChild(_js);\n";
  6629. _iframe.contentWindow.document.head.appendChild(_ajs);
  6630. }
  6631. }
  6632. //U.MD.D.I.openClick(str);
  6633. //如果有任务栏信息
  6634. // if (_taskbar) {
  6635. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6636. // }
  6637. }
  6638. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6639. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6640. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6641. _userinfo = US.userInfo, //登录用户信息
  6642. _userid = US.userInfo.userid //登录用户id
  6643. let _iframe;
  6644. let _cid = cid,
  6645. _stage = stage,
  6646. _task = task,
  6647. _tool = tool;
  6648. var _jie = $$("div", {
  6649. "style": {
  6650. "position": "absolute",
  6651. "bottom": "50px",
  6652. "right": "50px",
  6653. "zIndex": "9999",
  6654. "backgroundColor": "#2268bc",
  6655. "color": "#fff",
  6656. "padding": "12px 20px",
  6657. "cursor": "pointer",
  6658. "borderRadius": "4px",
  6659. },
  6660. "innerHTML": "确认并提交"
  6661. })
  6662. let aTool = ''
  6663. let _loading = document.createElement('div')
  6664. _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;"
  6665. // _loading.id = "";
  6666. let _lchild = document.createElement('div')
  6667. let _limg = document.createElement('img')
  6668. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6669. _limg.style = "width: 26px;margin-right: 10px;"
  6670. _lchild.appendChild(_limg)
  6671. let _lspan = document.createElement('span')
  6672. _lspan.innerHTML = "上传中..."
  6673. _lchild.appendChild(_lspan)
  6674. _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%);"
  6675. _loading.appendChild(_lchild)
  6676. var _box = $$('div', {
  6677. "style": {
  6678. "position": "relative",
  6679. "width": "100%",
  6680. "height": "100%",
  6681. },
  6682. })
  6683. _box.appendChild(_loading)
  6684. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6685. switch (str) {
  6686. case "whiteboard":
  6687. aTool = 1;
  6688. _iframe = $$("iframe", {
  6689. "frameborder": "no",
  6690. "border": "0",
  6691. "scrolling ": "no",
  6692. "style": {
  6693. "cssText": "border:0;width:100%;height:100%"
  6694. },
  6695. "src": "https://iwb.cocorobo.cn/"
  6696. })
  6697. _box.appendChild(_iframe);
  6698. _box.appendChild(_jie);
  6699. _formdiv = new U.UF.UI.form(
  6700. "电子白板",
  6701. _box, {
  6702. "id": "whiteboards" + cid + stage + task + tool,
  6703. "style": {
  6704. "width": "90%",
  6705. "height": "90%",
  6706. "overflow": 'hidden'
  6707. },
  6708. "onresize": function () { }
  6709. }, {
  6710. closecallback: function () { }
  6711. }, {
  6712. "style": {
  6713. "height": "36px"
  6714. }
  6715. }).form; //创建窗体
  6716. _taskbar = {
  6717. "id": str + _formdiv.id,
  6718. "style": {
  6719. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6720. },
  6721. "name": "电子白板",
  6722. "forms": _formdiv,
  6723. "click": function () {
  6724. U.MD.D.I.openApplication(str, obj, info);
  6725. }
  6726. }
  6727. break;
  6728. case "mind":
  6729. aTool = 3;
  6730. _iframe = $$("iframe", {
  6731. "frameborder": "no",
  6732. "border": "0",
  6733. "scrolling ": "no",
  6734. "style": {
  6735. "cssText": "border:0;width:100%;height:100%"
  6736. },
  6737. "src": "/kityminder-editor/dist/index.html"
  6738. });
  6739. _box.appendChild(_iframe);
  6740. _box.appendChild(_jie);
  6741. _formdiv = new U.UF.UI.form(
  6742. "思维导图",
  6743. _box, { //"/jsmind/example/demo.html"
  6744. "id": "minds" + cid + stage + task + tool,
  6745. "style": {
  6746. "width": "90%",
  6747. "height": "90%",
  6748. "overflow": 'hidden'
  6749. },
  6750. "onresize": function () { }
  6751. }, {
  6752. closecallback: function () { }
  6753. }, {
  6754. "style": {
  6755. "height": "36px"
  6756. }
  6757. }).form; //创建窗体
  6758. _taskbar = {
  6759. "id": str + _formdiv.id,
  6760. "style": {
  6761. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6762. },
  6763. "name": "思维导图",
  6764. "forms": _formdiv,
  6765. "click": function () {
  6766. U.MD.D.I.openApplication(str, obj, info);
  6767. }
  6768. }
  6769. break;
  6770. case "doc":
  6771. aTool = 6;
  6772. _iframe = $$("iframe", {
  6773. "frameborder": "no",
  6774. "border": "0",
  6775. "scrolling ": "no",
  6776. "style": {
  6777. "cssText": "border:0;width:100%;height:100%"
  6778. },
  6779. "src": "/Office/Word/WordEditArea.htm"
  6780. })
  6781. _box.appendChild(_iframe);
  6782. _box.appendChild(_jie);
  6783. _formdiv = new U.UF.UI.form(
  6784. "协同文档",
  6785. _box, {
  6786. "id": "docs" + cid + stage + task + tool,
  6787. "style": {
  6788. "width": "90%",
  6789. "height": "90%",
  6790. "overflow": 'hidden'
  6791. },
  6792. "onresize": function () { }
  6793. }, {
  6794. closecallback: function () { }
  6795. }, {
  6796. "style": {
  6797. "height": "36px"
  6798. }
  6799. }).form; //创建窗体
  6800. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6801. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6802. })
  6803. _taskbar = {
  6804. "id": str + _formdiv.id,
  6805. "style": {
  6806. "backgroundImage": "url(/img/icon/doc.png)"
  6807. },
  6808. "name": "协同文档",
  6809. "forms": _formdiv,
  6810. "click": function () {
  6811. U.MD.D.I.openApplication(str, obj, info);
  6812. }
  6813. }
  6814. break;
  6815. }
  6816. const script1 = document.createElement("script");
  6817. script1.type = "text/javascript";
  6818. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6819. script1.src = "https://cloud.cocorobo.cn/js/Common/jquery-3.6.0.min.js";
  6820. const script2 = document.createElement("script");
  6821. script2.type = "text/javascript";
  6822. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6823. script2.src = "https://cloud.cocorobo.cn/js/Common/aws-sdk-2.235.1.min.js";
  6824. const script3 = document.createElement("script");
  6825. script3.type = "text/javascript";
  6826. script3.charset = "UTF-8";
  6827. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  6828. const script4 = document.createElement("script");
  6829. script4.type = "text/javascript";
  6830. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6831. script4.src = "https://cloud.cocorobo.cn/js/Common/jietu5.js";
  6832. if (_iframe) {
  6833. if (str == 'doc') {
  6834. _iframe = _formdiv.querySelector('iframe')
  6835. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6836. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6837. _iframe.contentWindow.document.body.appendChild(script1);
  6838. _iframe.contentWindow.document.body.appendChild(script2);
  6839. // _iframe.contentWindow.document.body.appendChild(script3);
  6840. _iframe.contentWindow.document.body.appendChild(script4);
  6841. })
  6842. if (onloadListener) {
  6843. _iframe.contentDocument.location.reload()
  6844. } else {
  6845. _iframe.contentDocument.location.reload()
  6846. }
  6847. } else if (str == 'mind') {
  6848. _iframe = _formdiv.querySelector('iframe')
  6849. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6850. _iframe.contentWindow.document.body.appendChild(script1);
  6851. _iframe.contentWindow.document.body.appendChild(script2);
  6852. _iframe.contentWindow.document.body.appendChild(script4);
  6853. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6854. })
  6855. if (onloadListener) {
  6856. _iframe.contentDocument.location.reload()
  6857. } else {
  6858. _iframe.contentDocument.location.reload()
  6859. }
  6860. } else {
  6861. _iframe.onload = () => {
  6862. _iframe.contentWindow.document.body.appendChild(script1);
  6863. _iframe.contentWindow.document.body.appendChild(script2);
  6864. // _iframe.contentWindow.document.body.appendChild(script3);
  6865. _iframe.contentWindow.document.body.appendChild(script4);
  6866. };
  6867. }
  6868. _jie.onclick = async () => {
  6869. let text = ''
  6870. if (aTool == 6) {
  6871. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6872. } else if (aTool == 3) {
  6873. text = await U.MD.D.I.getEditorContent(_iframe);
  6874. }
  6875. _loading.style.display = 'flex'
  6876. console.log(_loading);
  6877. var _ajs = _iframe.contentWindow.document.createElement("script");
  6878. _ajs.type = "text/javascript";
  6879. _ajs.innerHTML =
  6880. // 'console.log(' + _loading + ');\n' +
  6881. 'var _js = document.createElement("script");\n' +
  6882. '_js.type="text/javascript";\n' +
  6883. '_js.charset="UTF-8";\n' +
  6884. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  6885. "_js.onload = function(){\n" +
  6886. ' var a = document.getElementsByTagName("img")\n' +
  6887. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6888. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6889. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6890. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6891. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  6892. "beforeUpload_shishi(file," +
  6893. "'" +
  6894. _userid +
  6895. "'" +
  6896. ", " +
  6897. "'" +
  6898. _cid +
  6899. "'" +
  6900. ", " +
  6901. "'" +
  6902. _stage +
  6903. "'" +
  6904. ", " +
  6905. "'" +
  6906. _task +
  6907. "'" +
  6908. ", " +
  6909. "'" +
  6910. _tool +
  6911. "'" +
  6912. ", " +
  6913. "'" +
  6914. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6915. "'" +
  6916. ", " +
  6917. "'" +
  6918. aTool +
  6919. "'" +
  6920. ", " +
  6921. "`" +
  6922. text +
  6923. "`" +
  6924. ")\n" +
  6925. " });\n" +
  6926. "}\n" +
  6927. "document.head.appendChild(_js);\n";
  6928. _iframe.contentWindow.document.head.appendChild(_ajs);
  6929. }
  6930. }
  6931. //U.MD.D.I.openClick(str);
  6932. //如果有任务栏信息
  6933. // if (_taskbar) {
  6934. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  6935. // }
  6936. }
  6937. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6938. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  6939. _formdiv, //创建任务栏时同时弹出的窗体元素。
  6940. _userinfo = US.userInfo, //登录用户信息
  6941. _userid = US.userInfo.userid //登录用户id
  6942. let _iframe;
  6943. let _cid = cid,
  6944. _stage = stage,
  6945. _task = task,
  6946. _tool = tool;
  6947. var _jie = $$("div", {
  6948. "style": {
  6949. "position": "absolute",
  6950. "bottom": "50px",
  6951. "right": "50px",
  6952. "zIndex": "9999",
  6953. "backgroundColor": "#2268bc",
  6954. "color": "#fff",
  6955. "padding": "12px 20px",
  6956. "cursor": "pointer",
  6957. "borderRadius": "4px",
  6958. },
  6959. "innerHTML": "上传模板"
  6960. })
  6961. let aTool = ''
  6962. let _loading = document.createElement('div')
  6963. _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;"
  6964. // _loading.id = "";
  6965. let _lchild = document.createElement('div')
  6966. let _limg = document.createElement('img')
  6967. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6968. _limg.style = "width: 26px;margin-right: 10px;"
  6969. _lchild.appendChild(_limg)
  6970. let _lspan = document.createElement('span')
  6971. _lspan.innerHTML = "上传中..."
  6972. _lchild.appendChild(_lspan)
  6973. _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%);"
  6974. _loading.appendChild(_lchild)
  6975. var _box = $$('div', {
  6976. "style": {
  6977. "position": "relative",
  6978. "width": "100%",
  6979. "height": "100%",
  6980. },
  6981. })
  6982. _box.appendChild(_loading)
  6983. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6984. switch (str) {
  6985. case "whiteboard":
  6986. aTool = 1;
  6987. _iframe = $$("iframe", {
  6988. "frameborder": "no",
  6989. "border": "0",
  6990. "scrolling ": "no",
  6991. "style": {
  6992. "cssText": "border:0;width:100%;height:100%"
  6993. },
  6994. "src": "https://iwb.cocorobo.cn/"
  6995. })
  6996. _box.appendChild(_iframe);
  6997. _box.appendChild(_jie);
  6998. _formdiv = new U.UF.UI.form(
  6999. "电子白板",
  7000. _box, {
  7001. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7002. "style": {
  7003. "width": "90%",
  7004. "height": "90%",
  7005. "overflow": 'hidden'
  7006. },
  7007. "onresize": function () { }
  7008. }, {
  7009. closecallback: function () { }
  7010. }, {
  7011. "style": {
  7012. "height": "36px"
  7013. }
  7014. }).form; //创建窗体
  7015. _taskbar = {
  7016. "id": str + _formdiv.id,
  7017. "style": {
  7018. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7019. },
  7020. "name": "电子白板",
  7021. "forms": _formdiv,
  7022. "click": function () {
  7023. U.MD.D.I.openApplication(str, obj, info);
  7024. }
  7025. }
  7026. break;
  7027. case "mind":
  7028. aTool = 3;
  7029. _iframe = $$("iframe", {
  7030. "frameborder": "no",
  7031. "border": "0",
  7032. "scrolling ": "no",
  7033. "style": {
  7034. "cssText": "border:0;width:100%;height:100%"
  7035. },
  7036. "src": "/kityminder-editor/dist/index.html"
  7037. });
  7038. _box.appendChild(_iframe);
  7039. _box.appendChild(_jie);
  7040. _formdiv = new U.UF.UI.form(
  7041. "思维导图",
  7042. _box, { //"/jsmind/example/demo.html"
  7043. "id": "minds_Yu" + cid + stage + task + tool,
  7044. "style": {
  7045. "width": "90%",
  7046. "height": "90%",
  7047. "overflow": 'hidden'
  7048. },
  7049. "onresize": function () { }
  7050. }, {
  7051. closecallback: function () { }
  7052. }, {
  7053. "style": {
  7054. "height": "36px"
  7055. }
  7056. }).form; //创建窗体
  7057. _taskbar = {
  7058. "id": str + _formdiv.id,
  7059. "style": {
  7060. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7061. },
  7062. "name": "思维导图",
  7063. "forms": _formdiv,
  7064. "click": function () {
  7065. U.MD.D.I.openApplication(str, obj, info);
  7066. }
  7067. }
  7068. break;
  7069. case "doc":
  7070. aTool = 6;
  7071. _iframe = $$("iframe", {
  7072. "frameborder": "no",
  7073. "border": "0",
  7074. "scrolling ": "no",
  7075. "style": {
  7076. "cssText": "border:0;width:100%;height:100%"
  7077. },
  7078. "src": "/Office/Word/WordEditArea.htm"
  7079. })
  7080. _box.appendChild(_iframe);
  7081. _box.appendChild(_jie);
  7082. _formdiv = new U.UF.UI.form(
  7083. "协同文档",
  7084. _box, {
  7085. "id": "docs_Yu" + cid + stage + task + tool,
  7086. "style": {
  7087. "width": "90%",
  7088. "height": "90%",
  7089. "overflow": 'hidden'
  7090. },
  7091. "onresize": function () { }
  7092. }, {
  7093. closecallback: function () { }
  7094. }, {
  7095. "style": {
  7096. "height": "36px"
  7097. }
  7098. }).form; //创建窗体
  7099. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7100. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7101. })
  7102. _taskbar = {
  7103. "id": str + _formdiv.id,
  7104. "style": {
  7105. "backgroundImage": "url(/img/icon/doc.png)"
  7106. },
  7107. "name": "协同文档",
  7108. "forms": _formdiv,
  7109. "click": function () {
  7110. U.MD.D.I.openApplication(str, obj, info);
  7111. }
  7112. }
  7113. break;
  7114. case "CocoPi":
  7115. aTool = 57;
  7116. _iframe = $$("iframe", {
  7117. "allowpaymentrequest": "allowpaymentrequest",
  7118. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7119. "webkitallowfullscreen": "",
  7120. "mozallowfullscreen": "",
  7121. "frameborder": "no",
  7122. "border": "0",
  7123. "scrolling ": "no",
  7124. "style": {
  7125. "cssText": "border:0;width:100%;height:100%"
  7126. },
  7127. "src": "https://pi.cocorobo.cn/"
  7128. })
  7129. _box.appendChild(_iframe);
  7130. _box.appendChild(_jie);
  7131. _formdiv = new U.UF.UI.form(
  7132. "CocoPi",
  7133. _box, {
  7134. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7135. "style": {
  7136. "width": "90%",
  7137. "height": "90%",
  7138. "overflow": 'hidden'
  7139. },
  7140. "onresize": function () { }
  7141. }, {
  7142. closecallback: function () { }
  7143. }, {
  7144. "style": {
  7145. "height": "36px"
  7146. }
  7147. }).form; //创建窗体
  7148. _taskbar = {
  7149. "id": str + _formdiv.id,
  7150. "style": {
  7151. "backgroundImage": "url(/img/icon/cocopi.png)"
  7152. },
  7153. "name": "CocoPi",
  7154. "forms": _formdiv,
  7155. "click": function () {
  7156. U.MD.D.I.openApplication(str, obj, info);
  7157. }
  7158. }
  7159. break;
  7160. }
  7161. if (_iframe) {
  7162. if (str == 'doc') {
  7163. _iframe = _formdiv.querySelector('iframe')
  7164. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7165. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7166. })
  7167. if (onloadListener) {
  7168. _iframe.contentDocument.location.reload()
  7169. } else {
  7170. _iframe.contentDocument.location.reload()
  7171. }
  7172. } else if (str == 'mind') {
  7173. _iframe = _formdiv.querySelector('iframe')
  7174. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7175. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7176. })
  7177. if (onloadListener) {
  7178. _iframe.contentDocument.location.reload()
  7179. } else {
  7180. _iframe.contentDocument.location.reload()
  7181. }
  7182. } else if (str == 'whiteboard') {
  7183. _iframe = _formdiv.querySelector('iframe')
  7184. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7185. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7186. })
  7187. if (onloadListener) {
  7188. _iframe.contentDocument.location.reload()
  7189. } else {
  7190. _iframe.contentDocument.location.reload()
  7191. }
  7192. } else if (str == 'CocoPi') {
  7193. _iframe = _formdiv.querySelector('iframe')
  7194. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7195. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7196. })
  7197. if (onloadListener) {
  7198. _iframe.contentDocument.location.reload()
  7199. } else {
  7200. _iframe.contentDocument.location.reload()
  7201. }
  7202. } else {
  7203. _iframe.onload = () => { };
  7204. }
  7205. _jie.onclick = async () => {
  7206. let text = ''
  7207. let type = '2'
  7208. if (aTool == 1) {
  7209. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7210. type = '3'
  7211. } else if (aTool == 6) {
  7212. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7213. type = '1'
  7214. } else if (aTool == 3) {
  7215. text = await U.MD.D.I.getEditorContent(_iframe);
  7216. type = '2'
  7217. } else if (aTool == 57) {
  7218. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7219. type = '4'
  7220. }
  7221. _loading.style.display = 'flex'
  7222. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7223. }
  7224. }
  7225. //U.MD.D.I.openClick(str);
  7226. //如果有任务栏信息
  7227. // if (_taskbar) {
  7228. // U.MD.D.T.taskbar(_taskbar); //创建任务处理
  7229. // }
  7230. }
  7231. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7232. var xmlhttp;
  7233. var Mac, Sn, DeviceId
  7234. if (window.XMLHttpRequest) {
  7235. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7236. xmlhttp = new XMLHttpRequest();
  7237. } else {
  7238. // IE6, IE5 浏览器执行代码
  7239. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7240. }
  7241. xmlhttp.onreadystatechange = function () {
  7242. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7243. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7244. // resolve(res.value[0][0].text);
  7245. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7246. }
  7247. }
  7248. }
  7249. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7250. xmlhttp.send();
  7251. }
  7252. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7253. var xmlhttp;
  7254. var Mac, Sn, DeviceId
  7255. if (window.XMLHttpRequest) {
  7256. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7257. xmlhttp = new XMLHttpRequest();
  7258. } else {
  7259. // IE6, IE5 浏览器执行代码
  7260. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7261. }
  7262. xmlhttp.onreadystatechange = function () {
  7263. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7264. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7265. // resolve(res.value[0][0].text);
  7266. if (type == '2') {
  7267. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7268. } else if (type == '3') {
  7269. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7270. } else if (type == '4') {
  7271. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7272. }
  7273. } else {
  7274. if (type == '2') {
  7275. iframe.contentWindow.editor.minder.importData('json', '')
  7276. } else if (type == '3') {
  7277. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7278. } else if (type == '4') {
  7279. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7280. }
  7281. }
  7282. }
  7283. }
  7284. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7285. xmlhttp.send();
  7286. }
  7287. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7288. var xmlhttp;
  7289. var Mac, Sn, DeviceId
  7290. if (window.XMLHttpRequest) {
  7291. // IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
  7292. xmlhttp = new XMLHttpRequest();
  7293. } else {
  7294. // IE6, IE5 浏览器执行代码
  7295. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7296. }
  7297. xmlhttp.onreadystatechange = function () {
  7298. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7299. if (xmlhttp.response) {
  7300. // resolve(res.value[0][0].text);
  7301. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7302. // $(fileInput).val('');
  7303. // });
  7304. span.innerHTML = '上传成功'
  7305. setTimeout(() => {
  7306. loading.style.display = 'none'
  7307. }, 1000);
  7308. }
  7309. }
  7310. }
  7311. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7312. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7313. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7314. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7315. // 设置请求头,表示请求体的编码格式
  7316. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7317. // 设置请求体,使用url-encoded格式的数据
  7318. }
  7319. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7320. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7321. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7322. _userinfo = US.userInfo, //登录用户信息
  7323. _userid = US.userInfo.userid //登录用户id
  7324. let _iframe;
  7325. let _cid = cid,
  7326. _stage = stage,
  7327. _task = task,
  7328. _tool = tool;
  7329. var _jie = $$("div", {
  7330. "style": {
  7331. "position": "absolute",
  7332. "bottom": "50px",
  7333. "right": "50px",
  7334. "zIndex": "9999",
  7335. "backgroundColor": "#2268bc",
  7336. "color": "#fff",
  7337. "padding": "12px 20px",
  7338. "cursor": "pointer",
  7339. "borderRadius": "4px",
  7340. },
  7341. "innerHTML": "提交作业"
  7342. })
  7343. let aTool = ''
  7344. let _loading = document.createElement('div')
  7345. _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;"
  7346. // _loading.id = "";
  7347. let _lchild = document.createElement('div')
  7348. let _limg = document.createElement('img')
  7349. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7350. _limg.style = "width: 26px;margin-right: 10px;"
  7351. _lchild.appendChild(_limg)
  7352. let _lspan = document.createElement('span')
  7353. _lspan.innerHTML = "上传中..."
  7354. _lchild.appendChild(_lspan)
  7355. _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%);"
  7356. _loading.appendChild(_lchild)
  7357. var _box = $$('div', {
  7358. "style": {
  7359. "position": "relative",
  7360. "width": "100%",
  7361. "height": "100%",
  7362. },
  7363. })
  7364. _box.appendChild(_loading)
  7365. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7366. switch (str) {
  7367. case "CocoPi":
  7368. aTool = 57;
  7369. _iframe = $$("iframe", {
  7370. "allowpaymentrequest": "allowpaymentrequest",
  7371. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7372. "webkitallowfullscreen": "",
  7373. "mozallowfullscreen": "",
  7374. "frameborder": "no",
  7375. "border": "0",
  7376. "scrolling ": "no",
  7377. "style": {
  7378. "cssText": "border:0;width:100%;height:100%"
  7379. },
  7380. "src": "https://pi.cocorobo.cn/"
  7381. })
  7382. _box.appendChild(_iframe);
  7383. _box.appendChild(_jie);
  7384. _formdiv = new U.UF.UI.form(
  7385. "CocoPi",
  7386. _box, {
  7387. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7388. "style": {
  7389. "width": "90%",
  7390. "height": "90%",
  7391. "overflow": 'hidden'
  7392. },
  7393. "onresize": function () { }
  7394. }, {
  7395. closecallback: function () { }
  7396. }, {
  7397. "style": {
  7398. "height": "36px"
  7399. }
  7400. }).form; //创建窗体
  7401. _taskbar = {
  7402. "id": str + _formdiv.id,
  7403. "style": {
  7404. "backgroundImage": "url(/img/icon/cocopi.png)"
  7405. },
  7406. "name": "CocoPi",
  7407. "forms": _formdiv,
  7408. "click": function () {
  7409. U.MD.D.I.openApplication(str, obj, info);
  7410. }
  7411. }
  7412. break;
  7413. }
  7414. if (_iframe) {
  7415. if (str == 'CocoPi') {
  7416. _iframe = _formdiv.querySelector('iframe')
  7417. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7418. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7419. })
  7420. if (onloadListener) {
  7421. _iframe.contentDocument.location.reload()
  7422. } else {
  7423. _iframe.contentDocument.location.reload()
  7424. }
  7425. }
  7426. _jie.onclick = async () => {
  7427. let text = ''
  7428. if (aTool == 57) {
  7429. text = _iframe.contentWindow.getLoadXmlStr()
  7430. }
  7431. _loading.style.display = 'flex'
  7432. console.log(_loading);
  7433. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7434. _loading.style.display = 'none'
  7435. let _div = document.createElement('div')
  7436. _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;"
  7437. let _inner = document.createElement('div')
  7438. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7439. _inner.innerHTML = "上传成功"
  7440. _div.appendChild(_inner)
  7441. _iframe.contentWindow.window.document.body.appendChild(_div)
  7442. _div.onclick = () => {
  7443. _iframe.contentWindow.window.document.body.removeChild(_div)
  7444. }
  7445. setTimeout(() => {
  7446. _iframe.contentWindow.window.document.body.removeChild(_div)
  7447. }, 1000);
  7448. }, [], { "type": "POST", "withCredentials": true });
  7449. }
  7450. }
  7451. }
  7452. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7453. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  7454. _formdiv, //创建任务栏时同时弹出的窗体元素。
  7455. _userid = student.userid, //登录用户id
  7456. _username = student.student //用户名字
  7457. let _iframe;
  7458. let _cid = cid,
  7459. _stage = stage,
  7460. _task = task,
  7461. _tool = tool;
  7462. var _jie = $$("div", {
  7463. "style": {
  7464. "position": "absolute",
  7465. "bottom": "50px",
  7466. "right": "50px",
  7467. "zIndex": "9999",
  7468. "backgroundColor": "#2268bc",
  7469. "color": "#fff",
  7470. "padding": "12px 20px",
  7471. "cursor": "pointer",
  7472. "borderRadius": "4px",
  7473. },
  7474. "innerHTML": "提交作业"
  7475. })
  7476. let aTool = ''
  7477. let _loading = document.createElement('div')
  7478. _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;"
  7479. // _loading.id = "";
  7480. let _lchild = document.createElement('div')
  7481. let _limg = document.createElement('img')
  7482. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7483. _limg.style = "width: 26px;margin-right: 10px;"
  7484. _lchild.appendChild(_limg)
  7485. let _lspan = document.createElement('span')
  7486. _lspan.innerHTML = "上传中..."
  7487. _lchild.appendChild(_lspan)
  7488. _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%);"
  7489. _loading.appendChild(_lchild)
  7490. var _box = $$('div', {
  7491. "style": {
  7492. "position": "relative",
  7493. "width": "100%",
  7494. "height": "100%",
  7495. },
  7496. })
  7497. _box.appendChild(_loading)
  7498. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7499. switch (str) {
  7500. case "CocoPi":
  7501. aTool = 57;
  7502. _iframe = $$("iframe", {
  7503. "allowpaymentrequest": "allowpaymentrequest",
  7504. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7505. "webkitallowfullscreen": "",
  7506. "mozallowfullscreen": "",
  7507. "frameborder": "no",
  7508. "border": "0",
  7509. "scrolling ": "no",
  7510. "style": {
  7511. "cssText": "border:0;width:100%;height:100%"
  7512. },
  7513. "src": "https://pi.cocorobo.cn/"
  7514. })
  7515. _box.appendChild(_iframe);
  7516. _box.appendChild(_jie);
  7517. _formdiv = new U.UF.UI.form(
  7518. "CocoPi-" + _username,
  7519. _box, {
  7520. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7521. "style": {
  7522. "width": "90%",
  7523. "height": "90%",
  7524. "overflow": 'hidden'
  7525. },
  7526. "onresize": function () { }
  7527. }, {
  7528. closecallback: function () { }
  7529. }, {
  7530. "style": {
  7531. "height": "36px"
  7532. }
  7533. }).form; //创建窗体
  7534. _taskbar = {
  7535. "id": str + _formdiv.id,
  7536. "style": {
  7537. "backgroundImage": "url(/img/icon/cocopi.png)"
  7538. },
  7539. "name": "CocoPi",
  7540. "forms": _formdiv,
  7541. "click": function () {
  7542. U.MD.D.I.openApplication(str, obj, info);
  7543. }
  7544. }
  7545. break;
  7546. }
  7547. if (_iframe) {
  7548. if (str == 'CocoPi') {
  7549. _iframe = _formdiv.querySelector('iframe')
  7550. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7551. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7552. })
  7553. if (onloadListener) {
  7554. _iframe.contentDocument.location.reload()
  7555. } else {
  7556. _iframe.contentDocument.location.reload()
  7557. }
  7558. }
  7559. _jie.onclick = async () => {
  7560. let text = ''
  7561. if (aTool == 57) {
  7562. text = _iframe.contentWindow.getLoadXmlStr()
  7563. }
  7564. _loading.style.display = 'flex'
  7565. console.log(_loading);
  7566. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7567. _loading.style.display = 'none'
  7568. let _div = document.createElement('div')
  7569. _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;"
  7570. let _inner = document.createElement('div')
  7571. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7572. _inner.innerHTML = "上传成功"
  7573. _div.appendChild(_inner)
  7574. _iframe.contentWindow.window.document.body.appendChild(_div)
  7575. _div.onclick = () => {
  7576. _iframe.contentWindow.window.document.body.removeChild(_div)
  7577. }
  7578. setTimeout(() => {
  7579. _iframe.contentWindow.window.document.body.removeChild(_div)
  7580. }, 1000);
  7581. }, [], { "type": "POST", "withCredentials": true });
  7582. }
  7583. }
  7584. }
  7585. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7586. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7587. if (res.value[0].length > 0) {
  7588. if (atool == 57) {
  7589. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7590. }
  7591. } else {
  7592. if (atool == 57) {
  7593. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7594. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7595. }
  7596. }
  7597. }, [], { "type": "POST", "withCredentials": true });
  7598. }