DeskTop.js 156 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644
  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": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  15. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  16. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  17. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  18. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  19. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  20. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  21. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  22. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  23. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  24. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  25. { "Name": "实时课堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  26. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  27. { "Name": "课程设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  28. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  29. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  30. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  31. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  32. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  33. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  34. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  35. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  36. { "Name": " 魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  37. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  38. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  39. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  40. { "Name": "项目进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  41. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  42. { "Name": "赛诺梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  43. { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  44. ];
  45. U.MD.D.I.studentDeskIcon = [
  46. // { "Name": "我的项目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  47. { "Name": "学习中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  48. // { "Name": "我的评价", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  49. // { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  50. // { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  51. // { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  52. // { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  53. // { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  54. // { "Name": "量规评分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  55. // { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  56. // { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  57. // { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  58. { "Name": "实时课堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  59. // { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  60. // { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  61. // { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  62. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  63. // { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  64. // { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  65. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  66. // { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  67. // { "Name": " 魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  68. // { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  69. // { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  70. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  71. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  72. { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  73. ];
  74. U.MD.D.I.schoolDeskIcon = [
  75. { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  76. { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  77. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  78. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  79. { "Name": "学习资料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  80. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  81. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  82. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  83. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  84. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  85. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  86. { "Name": "课程设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  87. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  88. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  89. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  90. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  91. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  92. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  93. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  94. // { "Name": "国家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  95. ];
  96. U.MD.D.I.orgDeskIcon = [
  97. { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  98. { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  99. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  100. { "Name": "项目进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  101. ];
  102. U.MD.D.I.orgStemDeskIcon = [
  103. { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  104. { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  105. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  106. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  107. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  109. { "Name": "课程设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  110. { "Name": "项目进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  111. ];
  112. U.MD.D.I.hanDeskIcon = [
  113. { "Name": "项目管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  114. { "Name": "学习中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  115. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  116. { "Name": "汉字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  117. { "Name": "国学经典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  118. { "Name": "笔画训练", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  119. { "Name": "书法课堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  120. { "Name": "汉字宫", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  121. { "Name": " 魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  122. ];
  123. U.MD.D.I.GMteacherDeskIcon = [
  124. { "Name": "项目管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  125. { "Name": "学习中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  126. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  127. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  128. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  129. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  130. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  131. ];
  132. U.MD.D.I.GMorganizerDeskIcon = [
  133. { "Name": "项目管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  134. { "Name": "学习中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  135. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  136. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  137. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  138. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  139. { "Name": "项目进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  140. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  141. { "Name": "学校管理", "Url": "schoolGM", "style": { "cssText": "background-image:url(/img/icon/gm/school.png)" } },
  142. { "Name": "教师管理", "Url": "teacherGM", "style": { "cssText": "background-image:url(/img/icon/gm/teacher.png)" } },
  143. ];
  144. U.MD.D.I.GMstudentDeskIcon = [
  145. { "Name": "学习中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  146. { "Name": "我的评价", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  147. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  148. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  149. ];
  150. U.MD.D.I.teacherDeskIcon = [
  151. { "Name": "项目管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  152. { "Name": "学习中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  153. { "Name": "学生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  154. { "Name": "学生评价", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  155. { "Name": "班级管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  156. { "Name": "我的资料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  157. { "Name": "项目进展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  158. { "Name": "素材库", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  159. ];
  160. //#region 桌面初始化a
  161. /**
  162. * 初始化桌面的起始函数
  163. *
  164. */
  165. U.MD.D.I.init = function () {
  166. if ($("#U_MD_D_K")[0]) {
  167. //初始化桌面图标
  168. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0]);
  169. // var clickUrl = ':12588/requestIp.php';
  170. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  171. // U.MD.D.I.Ip = data;
  172. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  173. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  174. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  175. // })
  176. // //初始化任务栏,因为是静态的,所以直接改变样式即可.
  177. // })
  178. }
  179. }
  180. /**
  181. * 隐藏任务栏
  182. *
  183. * @param {element} 桌面元素
  184. */
  185. U.MD.D.I.hiddenTaskbar = function (el) {
  186. //任务栏位置变小
  187. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  188. //桌面的位置变大
  189. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  190. }
  191. /**
  192. * 隐藏任务栏
  193. *
  194. * @param {element} 桌面元素
  195. */
  196. U.MD.D.I.hiddenTaskbarout = function (el) {
  197. //任务栏位置变小
  198. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  199. //任务栏位置变化
  200. U.selectEl(el).css({ "bottom": "-60px" });
  201. //桌面的位置变大
  202. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  203. }
  204. }
  205. /**
  206. * 初始化打印桌面图标
  207. *
  208. * @param {element} 桌面元素
  209. */
  210. U.MD.D.I.initDesktopIcons = function (el) {
  211. var i, //用于循环
  212. _content, //桌面图标元素
  213. _iconcontent, //桌面图标元素
  214. _frag = $$("frag"), //定义一个碎片元素
  215. _type = US.userInfo.type,
  216. _org = US.userInfo.org,
  217. _oid = US.userInfo.organizeid,
  218. _role = US.userInfo.role,
  219. _teacherDesktopIconInfo = U.MD.D.I.teacherDeskIcon, //获取教师端桌面图标
  220. _studentDesktopIconInfo = U.MD.D.I.studentDeskIcon, //获取学生端桌面图标
  221. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //获取组织桌面图标
  222. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  223. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  224. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //获取测试学校桌面图标
  225. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //获取光明学校桌面图标
  226. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon; //获取光明学校桌面图标
  227. _GMorganizerDesktopIconInfo = U.MD.D.I.GMorganizerDeskIcon; //获取光明学校桌面图标
  228. //清楚桌面图标
  229. el.innerHTML = "";
  230. //循环创建桌面图标
  231. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5" && _org != "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  232. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  233. _content = $$("div", {
  234. className: "U_MD_D_KO",
  235. "onmousedown": U.UF.C.closure(function (obj) {
  236. //防止拖动图标即打开了桌面应用
  237. U.MD.D.click(this, obj);
  238. }, [_studentDesktopIconInfo[i]]),
  239. "onclick": U.UF.C.closure(function (obj) {
  240. //防止拖动图标即打开了桌面应用
  241. U.MD.D.click(this, obj);
  242. }, [_studentDesktopIconInfo[i]])
  243. }, _frag); //
  244. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  245. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  246. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  247. }
  248. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  249. for (i = 0; i < _hanDeskIcon.length; i++) {
  250. _content = $$("div", {
  251. className: "U_MD_D_KO",
  252. "onmousedown": U.UF.C.closure(function (obj) {
  253. //防止拖动图标即打开了桌面应用
  254. U.MD.D.click(this, obj);
  255. }, [_hanDeskIcon[i]]),
  256. "onclick": U.UF.C.closure(function (obj) {
  257. //防止拖动图标即打开了桌面应用
  258. U.MD.D.click(this, obj);
  259. }, [_hanDeskIcon[i]])
  260. }, _frag); //
  261. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  262. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  263. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  264. }
  265. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  266. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  267. _content = $$("div", {
  268. className: "U_MD_D_KO",
  269. "onmousedown": U.UF.C.closure(function (obj) {
  270. //防止拖动图标即打开了桌面应用
  271. U.MD.D.click(this, obj);
  272. }, [_orgStemDeskIcon[i]]),
  273. "onclick": U.UF.C.closure(function (obj) {
  274. //防止拖动图标即打开了桌面应用
  275. U.MD.D.click(this, obj);
  276. }, [_orgStemDeskIcon[i]])
  277. }, _frag); //
  278. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  279. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  280. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  281. }
  282. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d" && _role == 0) {
  283. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  284. _content = $$("div", {
  285. className: "U_MD_D_KO",
  286. "onmousedown": U.UF.C.closure(function (obj) {
  287. //防止拖动图标即打开了桌面应用
  288. U.MD.D.click(this, obj);
  289. }, [_orgDesktopIconInfo[i]]),
  290. "onclick": U.UF.C.closure(function (obj) {
  291. //防止拖动图标即打开了桌面应用
  292. U.MD.D.click(this, obj);
  293. }, [_orgDesktopIconInfo[i]])
  294. }, _frag); //
  295. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  296. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  297. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  298. }
  299. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217" && _role === 1) {
  300. for (i = 0; i < _GMorganizerDesktopIconInfo.length; i++) {
  301. _content = $$("div", {
  302. className: "U_MD_D_KO",
  303. "onmousedown": U.UF.C.closure(function (obj) {
  304. //防止拖动图标即打开了桌面应用
  305. U.MD.D.click(this, obj);
  306. }, [_GMorganizerDesktopIconInfo[i]]),
  307. "onclick": U.UF.C.closure(function (obj) {
  308. //防止拖动图标即打开了桌面应用
  309. U.MD.D.click(this, obj);
  310. }, [_GMorganizerDesktopIconInfo[i]])
  311. }, _frag); //
  312. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  313. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMorganizerDesktopIconInfo[i].style }, _iconcontent);
  314. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMorganizerDesktopIconInfo[i].Name }, _iconcontent);
  315. }
  316. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  317. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  318. _content = $$("div", {
  319. className: "U_MD_D_KO",
  320. "onmousedown": U.UF.C.closure(function (obj) {
  321. //防止拖动图标即打开了桌面应用
  322. U.MD.D.click(this, obj);
  323. }, [_schoolDesktopIconInfo[i]]),
  324. "onclick": U.UF.C.closure(function (obj) {
  325. //防止拖动图标即打开了桌面应用
  326. U.MD.D.click(this, obj);
  327. }, [_schoolDesktopIconInfo[i]])
  328. }, _frag); //
  329. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  330. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  331. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  332. }
  333. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  334. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  335. _content = $$("div", {
  336. className: "U_MD_D_KO",
  337. "onmousedown": U.UF.C.closure(function (obj) {
  338. //防止拖动图标即打开了桌面应用
  339. U.MD.D.click(this, obj);
  340. }, [_studentDesktopIconInfo[i]]),
  341. "onclick": U.UF.C.closure(function (obj) {
  342. //防止拖动图标即打开了桌面应用
  343. U.MD.D.click(this, obj);
  344. }, [_studentDesktopIconInfo[i]])
  345. }, _frag); //
  346. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  347. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  348. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  349. }
  350. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  351. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  352. _content = $$("div", {
  353. className: "U_MD_D_KO",
  354. "onmousedown": U.UF.C.closure(function (obj) {
  355. //防止拖动图标即打开了桌面应用
  356. U.MD.D.click(this, obj);
  357. }, [_GMteacherDesktopIconInfo[i]]),
  358. "onclick": U.UF.C.closure(function (obj) {
  359. //防止拖动图标即打开了桌面应用
  360. U.MD.D.click(this, obj);
  361. }, [_GMteacherDesktopIconInfo[i]])
  362. }, _frag); //
  363. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  364. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  365. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  366. }
  367. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  368. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  369. _content = $$("div", {
  370. className: "U_MD_D_KO",
  371. "onmousedown": U.UF.C.closure(function (obj) {
  372. //防止拖动图标即打开了桌面应用
  373. U.MD.D.click(this, obj);
  374. }, [_GMstudentDesktopIconInfo[i]]),
  375. "onclick": U.UF.C.closure(function (obj) {
  376. //防止拖动图标即打开了桌面应用
  377. U.MD.D.click(this, obj);
  378. }, [_GMstudentDesktopIconInfo[i]])
  379. }, _frag); //
  380. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  381. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  382. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  383. }
  384. } else {
  385. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  386. _content = $$("div", {
  387. className: "U_MD_D_KO",
  388. "onmousedown": U.UF.C.closure(function (obj) {
  389. //防止拖动图标即打开了桌面应用
  390. U.MD.D.click(this, obj);
  391. }, [_teacherDesktopIconInfo[i]]),
  392. "onclick": U.UF.C.closure(function (obj) {
  393. //防止拖动图标即打开了桌面应用
  394. U.MD.D.click(this, obj);
  395. }, [_teacherDesktopIconInfo[i]])
  396. }, _frag); //
  397. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  398. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  399. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  400. }
  401. }
  402. //加载好后给图标定位
  403. U.MD.D.iconPostion($(_frag).Child());
  404. //把图标加载到页面
  405. el.appendChild(_frag);
  406. }
  407. /**
  408. * 显示任务栏
  409. *
  410. * @param {element} 桌面元素
  411. */
  412. U.MD.D.I.displayTaskbar = function (el) {
  413. //判断是否需要形式任务栏,由于用了mouseover事件会冒泡响应多次,这里做了过滤
  414. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  415. //任务栏位置变化
  416. U.selectEl(el).css({ "bottom": "0px" });
  417. //桌面位置变话
  418. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  419. }
  420. }
  421. //#region 桌面图标拖动逻辑
  422. /**
  423. * 桌面排列图标
  424. *
  425. * @param {element} 桌面元素
  426. * @param {object} 上下相距的距离
  427. * @param {object} 左右相距的距离
  428. * @return {object} 命名空间
  429. */
  430. U.MD.D.iconPostion = function (childs, top, left) {
  431. var i; //用于循环处理
  432. top = top || 20; //如果没有设置元素的间距处理默认上间距为15
  433. left = left || 20; //如果没有设置元素的间距处理默认左间距为15
  434. //循环所有的图标,设置每个图标的间距,打印顺序是竖排打印的方式
  435. for (i = 0; i < childs.length; i++) {
  436. //如果竖排top超过了范围处理
  437. if (left + 150 > US.width - 10) {
  438. //left超过了页面范围处理,则向上重叠打印处理
  439. if ((top + 180) > US.Height) {
  440. top -= 150;
  441. left -= 150;
  442. }
  443. //没有超过范围,那么left+90添加到下一个竖排打印
  444. else {
  445. top += 150;
  446. left = 20;
  447. };
  448. }
  449. //给图标的位置赋值
  450. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  451. if (i < childs.length - 1) {
  452. //页面图标每次向下加95
  453. left += 150;
  454. }
  455. }
  456. //返回最后调用的图标的位置
  457. return [top, left];
  458. }
  459. /**
  460. * 桌面点击事件逻辑
  461. *
  462. * @param {element} 桌面元素
  463. * @param {object} 上下相距的距离
  464. * @param {object} 左右相距的距离
  465. * @return {object} 命名空间
  466. */
  467. U.MD.D.click = function (el, obj) {
  468. var _buttonnumber = event.button; //点击的按钮的事件值
  469. var _userinfo = US.userInfo;
  470. U.UF.EV.stopBubble(); //阻止向上冒泡
  471. //onmousedown 包含了左键和右键 这里大于2是为了兼容 所有浏览器的右键处理
  472. if (_buttonnumber < 2) {
  473. //如果是click事件的处理
  474. if (event.type == "click") {
  475. //如果元素在mousemove事件中没有移动则出发click事件
  476. if (!U.MD.D.I.IsDrag) {
  477. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  478. U.alert("请先登录您的账号!");
  479. setTimeout(() => {
  480. U.MD.U.L.login();
  481. }, 2000);
  482. } else {
  483. //打开应用处理
  484. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  485. }
  486. }
  487. }
  488. //如果是mouse事件的处理
  489. else {
  490. //拖动处理,添加拖动和拖动结束事件
  491. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  492. }
  493. U.MD.D.I.IsDrag = false;
  494. }
  495. }
  496. /**
  497. * 拖动的处理
  498. *
  499. */
  500. U.MD.D.iconMove = function () {
  501. //如果当前位置点击初始化的位置出现了变化,则设置是否拖动的属性 U.MD.D.I.IsDrag为true
  502. U.MD.D.I.IsDrag = true;
  503. }
  504. /**
  505. * 拖动结束后,这里是定位处理,以网状的形式定位
  506. *
  507. * @param {element} 拖动的元素
  508. * @return {object} 命名空间
  509. */
  510. U.MD.D.iconUp = function (el) {
  511. var _top = 20,
  512. _left = 20,
  513. _margin,
  514. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的图标
  515. _positioninfo = U.UF.EL.getElementInfo(el); //获取拖动结束的元素的位置
  516. if (_positioninfo["OT"] > 20) {
  517. //网状的形式定位,如果差超过了55,那么向下定位,否则向上定位
  518. _margin = ((_positioninfo["OT"] - 20) % 150 > 55 && _positioninfo["OT"] + 150 < US.height) ? 1 : 0;
  519. _top = (Math.floor((_positioninfo["OT"] - 20) / 150) + _margin) * 150 + 20;
  520. }
  521. if (_positioninfo["OL"] > 20) {
  522. //网状的形式定位,如果差超过了90,那么向右定位,否则向左定位
  523. _margin = ((_positioninfo["OL"] - 20) % 150 > 45 && _positioninfo["OL"] + 150 < US.width) ? 1 : 0;
  524. _left = (Math.floor((_positioninfo["OL"] - 20) / 150) + _margin) * 150 + 20
  525. }
  526. //while循环判断么一个重叠的元素
  527. do {
  528. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //给重叠的元素向下定位
  529. _top = _positioninfo[0] + 150; //得到定位后的top
  530. _left = _positioninfo[1]; //得到定位后的left
  531. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  532. }
  533. /**
  534. * 判断拖动后图标是否重叠
  535. *
  536. * @param {element} 拖动的元素
  537. * @param {element} 桌面所有的元素
  538. * @param {array} 拖动元素的位置
  539. ----------[0] 上 top
  540. ----------[1] 左 left
  541. * @return {object} 命名空间
  542. */
  543. U.MD.D.isOverlap = function (el, childs, postionarray) {
  544. //循环所有的图标
  545. for (var i = 0; i < childs.length; i++) {
  546. //判断有没有和该图标诶子重叠的元素
  547. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  548. return childs[i]; //如果有返回
  549. }
  550. }
  551. }
  552. //#endregion
  553. //#endregion
  554. //#region 桌面应用
  555. /**
  556. * 打开应用
  557. *
  558. * @param {string} 类型
  559. -----------------Disk 网盘系统
  560. -----------------PDisk 学习系统网盘
  561. -----------------Poto 图片
  562. -----------------Video 视频
  563. -----------------Music 音乐
  564. -----------------Word word
  565. -----------------Excel excel
  566. -----------------Txt 记事本
  567. -----------------PB 学习系统
  568. -----------------Blog 朋友圈系统
  569. -----------------FTP ftp系统
  570. -----------------Group 好友群
  571. -----------------SY 首页系统
  572. -----------------Set 个人设置
  573. -----------------XSet 系统设置
  574. -----------------App 我们所有的app
  575. -----------------BC c.1473.cn 平台
  576. -----------------CWeb d.1473.cn 变成平台
  577. -----------------其他的外联系统 我们统一用iframe打开
  578. * @param {array} 类型
  579. 如果第一个参数为"disk",则第二个参数为object,里面包含了用户id和目录id{userid:"",directoryid:""}
  580. 如果第一个参数为"word"或者"excel","txt",则第二个参数为文件信息fileinfo。
  581. 如果第一个参数为"blog"或者"PDisk"。建议删除。
  582. 如果第一个参数为其他,则无第二个参数
  583. * @returns {array}
  584. */
  585. window.addEventListener('message', function (e) { // 监听 message 事件
  586. // alert(e.data.type);
  587. if (e.data.screenType && e.data.screenType == "2") { //项目管理传入
  588. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  589. //3是展示全部阶段 2学生 1老师 4专家
  590. } else if (e.data.screenType && e.data.screenType == "3") { //项目管理传入
  591. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  592. } if (e.data.screenType && e.data.screenType == "2gm") { //项目管理传入
  593. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  594. //3是展示全部阶段 2学生 1老师 4专家
  595. } else if (e.data.screenType && e.data.screenType == "3gm") { //项目管理传入
  596. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  597. } else if (e.data.close && e.data.close == "1") { //更新用户信息
  598. U.MD.D.I.selectUser();
  599. } else if (e.data.allScreen && e.data.allScreen == "1") {
  600. var _formel = document.getElementById("study");
  601. U.UF.F.windowZooming(_formel);
  602. } else if (e.data.allScreen && e.data.allScreen == "2") {
  603. var _formel = document.getElementById("studyDetail");
  604. U.UF.F.windowZooming(_formel);
  605. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  606. var _formel = document.getElementById("studyDetail");
  607. U.UF.F.windowZooming(_formel);
  608. } else if (e.data.allScreen && e.data.allScreen == "3") {
  609. var _formel = document.getElementById("studentStudy");
  610. U.UF.F.windowZooming(_formel);
  611. } else if (e.data.allScreen && e.data.allScreen == "6") {
  612. var _formel = document.getElementById("study");
  613. //如果最大化了,那么就把他缩小
  614. // if (_formel.ismaximize) {
  615. // return;
  616. // }
  617. // U.UF.F.windowZooming(_formel);
  618. U.UF.F.topWindow(_formel);
  619. } else if (e.data.allScreen && e.data.allScreen == "4") {
  620. var _formel = document.getElementById("studyDetail");
  621. //如果最大化了,那么就把他缩小
  622. // if (_formel.ismaximize) {
  623. // return;
  624. // }
  625. // U.UF.F.windowZooming(_formel);
  626. U.UF.F.topWindow(_formel);
  627. } else if (e.data.allScreen && e.data.allScreen == "5") {
  628. var _formel = document.getElementById("studentStudy");
  629. // if (_formel.ismaximize) {
  630. // return;
  631. // }
  632. // U.UF.F.windowZooming(_formel);
  633. U.UF.F.topWindow(_formel);
  634. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  635. var _formel = document.getElementById("study");
  636. // if (_formel.ismaximize) {
  637. // return;
  638. // }
  639. // U.UF.F.windowZooming(_formel);
  640. U.UF.F.topWindow(_formel);
  641. } else if (e.data.tools && e.data.tools == "1") {
  642. // U.MD.D.I.openApplication("whiteboard")
  643. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  644. } else if (e.data.tools && e.data.tools == "2") {
  645. U.MD.D.I.openApplication("note")
  646. } else if (e.data.tools && e.data.tools == "3") {
  647. // U.MD.D.I.openApplication("mind")
  648. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  649. } else if (e.data.tools && e.data.tools == "4") {
  650. U.MD.D.I.openApplication("investigation")
  651. } else if (e.data.tools && e.data.tools == "6") {
  652. // U.MD.D.I.openApplication("doc")
  653. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  654. } else if (e.data.tools && e.data.tools == "7") {
  655. // U.MD.D.I.openApplication("mindNetwork")
  656. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  657. } else if (e.data.tools && e.data.tools == "8") {
  658. U.MD.D.I.openApplication("library")
  659. } else if (e.data.tools && e.data.tools == "17") {
  660. U.MD.D.I.openApplication("stuLibrary")
  661. } else if (e.data.tools && e.data.tools == "18") {
  662. U.MD.D.I.openApplication("train")
  663. } else if (e.data.tools && e.data.tools == "21") {
  664. U.MD.D.I.openApplication("program")
  665. } else if (e.data.tools && e.data.tools == "22") {
  666. U.MD.D.I.openApplication("AIprogram2")
  667. } else if (e.data.tools && e.data.tools == "23") {
  668. U.MD.D.I.openApplication("Pythonprogram")
  669. } else if (e.data.tools && e.data.tools == "24") {
  670. U.MD.D.I.openApplication("AIprogram")
  671. } else if (e.data.tools && e.data.tools == "25") {
  672. U.MD.D.I.openApplication("sys")
  673. } else if (e.data.tools && e.data.tools == "26") {
  674. // U.MD.D.I.openApplication("courseDesign")
  675. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  676. } else if (e.data.tools && e.data.tools == "31") {
  677. U.MD.D.I.openApplication("netWorkPanel")
  678. } else if (e.data.tools && e.data.tools == "32") {
  679. U.MD.D.I.openApplication("codeEdit")
  680. } else if (e.data.tools && e.data.tools == "28") {
  681. U.MD.D.I.openApplication("translation")
  682. } else if (e.data.tools && e.data.tools == "37") {
  683. U.MD.D.I.openApplication("mohe")
  684. } else if (e.data.tools && e.data.tools == "38") {
  685. U.MD.D.I.openApplication("24game")
  686. } else if (e.data.tools && e.data.tools == "39") {
  687. U.MD.D.I.openApplication("GeoGebra")
  688. } else if (e.data.tools && e.data.tools == "43") {
  689. U.MD.D.I.openApplication("studentEvaluate")
  690. } else if (e.data.tools && e.data.tools == "44") {
  691. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  692. } else if (e.data.tools && e.data.tools == "46") {
  693. U.MD.D.I.openApplication("project")
  694. }
  695. });
  696. U.MD.D.I.selectUser = function () {
  697. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  698. if (res.value[0].length > 0) {
  699. US.userInfo = res.value[0][0];
  700. $(".userName")[0].innerHTML = US.userInfo.username;
  701. }
  702. }, [], { "type": "GET", "withCredentials": true });
  703. }
  704. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  705. var _userinfo = US.userInfo, //登录用户信息
  706. _userid = US.userInfo.userid, //登录用户id
  707. _oid = _userinfo.organizeid,
  708. _type = US.userInfo.type,
  709. _org = US.userInfo.org,
  710. _classId = US.userInfo.classid;
  711. if (_type == 4) {
  712. tType = 4
  713. }
  714. switch (str) {
  715. case "studyDetail":
  716. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  717. setTimeout(() => {
  718. U.MD.U.L.login();
  719. }, 2000);
  720. } else {
  721. _formdiv = new U.UF.UI.form(
  722. "项目详情",
  723. $$("iframe", { "allow": "camera *; microphone *", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  724. "id": "studyDetail",
  725. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  726. "onresize": function () { }
  727. }, {
  728. closecallback: function () { }
  729. }, { "style": { "height": "36px" } }).form; //创建窗体
  730. _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); } }
  731. break;
  732. }
  733. case "studyDetailGM":
  734. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  735. setTimeout(() => {
  736. U.MD.U.L.login();
  737. }, 2000);
  738. } else {
  739. _formdiv = new U.UF.UI.form(
  740. "项目详情",
  741. $$("iframe", { "allow": "camera *; microphone *", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  742. "id": "studyDetail",
  743. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  744. "onresize": function () { }
  745. }, {
  746. closecallback: function () { }
  747. }, { "style": { "height": "36px" } }).form; //创建窗体
  748. _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); } }
  749. break;
  750. }
  751. case "hanUrl":
  752. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  753. setTimeout(() => {
  754. U.MD.U.L.login();
  755. }, 2000);
  756. } else {
  757. _formdiv = new U.UF.UI.form(
  758. "汉字宫",
  759. $$("iframe", { "allow": "camera *; microphone *", "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" }), {
  760. "id": "hanUrl",
  761. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  762. "onresize": function () { }
  763. }, {
  764. closecallback: function () { }
  765. }, { "style": { "height": "36px" } }).form; //创建窗体
  766. _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); } }
  767. break;
  768. }
  769. }
  770. }
  771. U.MD.D.I.openApplication = function (str, obj, info) {
  772. obj = obj || {};
  773. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  774. _formdiv, //创建任务栏时同时弹出的窗体元素。
  775. _userinfo = US.userInfo, //登录用户信息
  776. _userid = obj.userid || US.userInfo.userid, //登录用户id
  777. _oid = obj.organizeid || _userinfo.organizeid,
  778. _type = US.userInfo.type,
  779. _org = US.userInfo.org,
  780. _classId = US.userInfo.classid,
  781. _TscreenType = 1
  782. _screenType = 2,
  783. _SscreenType = 3;
  784. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  785. switch (str) {
  786. case "studnetProject": //好友打开
  787. _formdiv = new U.UF.UI.form(
  788. "我的项目",
  789. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  790. "id": "studnetProject",
  791. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  792. "onresize": function () { }
  793. }, {
  794. closecallback: function () { }
  795. }, { "style": { "height": "36px" } }).form; //创建窗体
  796. _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); } }
  797. break;
  798. case "studentEvaluate": //好友打开
  799. _formdiv = new U.UF.UI.form(
  800. "我的评价",
  801. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  802. "id": "studentEvaluate",
  803. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  804. "onresize": function () { }
  805. }, {
  806. closecallback: function () { }
  807. }, { "style": { "height": "36px" } }).form; //创建窗体
  808. _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); } }
  809. break;
  810. case "my":
  811. _formdiv = new U.UF.UI.form(
  812. "我的资料",
  813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  814. "id": "my",
  815. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  816. "onresize": function () { }
  817. }, {
  818. closecallback: function () { }
  819. }, { "style": { "height": "36px" } }).form; //创建窗体
  820. _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); } }
  821. break;
  822. case "program":
  823. _formdiv = new U.UF.UI.form(
  824. "编程平台",
  825. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  826. "id": "program",
  827. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  828. "onresize": function () { }
  829. }, {
  830. closecallback: function () { }
  831. }, { "style": { "height": "36px" } }).form; //创建窗体
  832. _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); } }
  833. break;
  834. case "library":
  835. _formdiv = new U.UF.UI.form(
  836. "素材库",
  837. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  838. "id": "library",
  839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  840. "onresize": function () { }
  841. }, {
  842. closecallback: function () { }
  843. }, { "style": { "height": "36px" } }).form; //创建窗体
  844. _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); } }
  845. break;
  846. case "whiteboard":
  847. _formdiv = new U.UF.UI.form(
  848. "电子白板",
  849. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  850. "id": "whiteboard",
  851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  852. "onresize": function () { }
  853. }, {
  854. closecallback: function () { }
  855. }, { "style": { "height": "36px" } }).form; //创建窗体
  856. _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); } }
  857. break;
  858. case "investigation":
  859. _formdiv = new U.UF.UI.form(
  860. "问卷调查",
  861. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  862. "id": "investigation",
  863. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  864. "onresize": function () { }
  865. }, {
  866. closecallback: function () { }
  867. }, { "style": { "height": "36px" } }).form; //创建窗体
  868. _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); } }
  869. break;
  870. case "note":
  871. _formdiv = new U.UF.UI.form(
  872. "便签分类",
  873. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  874. "id": "note",
  875. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  876. "onresize": function () { }
  877. }, {
  878. closecallback: function () { }
  879. }, { "style": { "height": "36px" } }).form; //创建窗体
  880. _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); } }
  881. break;
  882. // case "score":
  883. // _formdiv = new U.UF.UI.form(
  884. // "量规评分",
  885. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
  886. // "id": "score",
  887. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  888. // "onresize": function() {}
  889. // }, {
  890. // closecallback: function() {}
  891. // }, { "style": { "height": "36px" } }).form; //创建窗体
  892. // _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); } }
  893. // break;
  894. case "mind":
  895. _formdiv = new U.UF.UI.form(
  896. "思维导图",
  897. $$("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"
  898. "id": "mind",
  899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  900. "onresize": function () { }
  901. }, {
  902. closecallback: function () { }
  903. }, { "style": { "height": "36px" } }).form; //创建窗体
  904. _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); } }
  905. break;
  906. case "doc":
  907. // U.MD.D.I.isRoom();
  908. _formdiv = new U.UF.UI.form(
  909. "协同文档",
  910. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  911. "id": "doc",
  912. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  913. "onresize": function () { }
  914. }, {
  915. closecallback: function () { }
  916. }, { "style": { "height": "36px" } }).form; //创建窗体
  917. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  918. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  919. // })
  920. _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); } }
  921. break;
  922. case "studentStudy":
  923. _formdiv = new U.UF.UI.form(
  924. "学习中心",
  925. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
  926. "id": "studentStudy",
  927. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  928. "onresize": function () { }
  929. }, {
  930. closecallback: function () { }
  931. }, { "style": { "height": "36px" } }).form; //创建窗体
  932. _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); } }
  933. break;
  934. case "train": //好友打开
  935. _formdiv = new U.UF.UI.form(
  936. "训练平台",
  937. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  938. "id": "train",
  939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  940. "onresize": function () { }
  941. }, {
  942. closecallback: function () { }
  943. }, { "style": { "height": "36px" } }).form; //创建窗体
  944. _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); } }
  945. break;
  946. case "mindNetwork": //好友打开
  947. _formdiv = new U.UF.UI.form(
  948. "思维网格",
  949. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  950. "id": "mindNetwork",
  951. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  952. "onresize": function () { }
  953. }, {
  954. closecallback: function () { }
  955. }, { "style": { "height": "36px" } }).form; //创建窗体
  956. _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); } }
  957. break;
  958. case "studentClassRoom": //好友打开
  959. _formdiv = new U.UF.UI.form(
  960. "实时课堂",
  961. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  962. "id": "studentClassRoom",
  963. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  964. "onresize": function () { }
  965. }, {
  966. closecallback: function () { }
  967. }, { "style": { "height": "36px" } }).form; //创建窗体
  968. _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); } }
  969. setTimeout(() => {
  970. U.UF.F.windowZooming(_formdiv)
  971. }, 0);
  972. break;
  973. }
  974. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  975. switch (str) {
  976. case "studnetProject": //好友打开
  977. _formdiv = new U.UF.UI.form(
  978. "我的项目",
  979. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  980. "id": "studnetProject",
  981. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  982. "onresize": function () { }
  983. }, {
  984. closecallback: function () { }
  985. }, { "style": { "height": "36px" } }).form; //创建窗体
  986. _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); } }
  987. break;
  988. case "studentEvaluate": //好友打开
  989. _formdiv = new U.UF.UI.form(
  990. "我的评价",
  991. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  992. "id": "studentEvaluate",
  993. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  994. "onresize": function () { }
  995. }, {
  996. closecallback: function () { }
  997. }, { "style": { "height": "36px" } }).form; //创建窗体
  998. _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); } }
  999. break;
  1000. case "my":
  1001. _formdiv = new U.UF.UI.form(
  1002. "我的资料",
  1003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  1004. "id": "my",
  1005. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  1006. "onresize": function () { }
  1007. }, {
  1008. closecallback: function () { }
  1009. }, { "style": { "height": "36px" } }).form; //创建窗体
  1010. _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); } }
  1011. break;
  1012. case "program":
  1013. _formdiv = new U.UF.UI.form(
  1014. "编程平台",
  1015. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  1016. "id": "program",
  1017. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  1018. "onresize": function () { }
  1019. }, {
  1020. closecallback: function () { }
  1021. }, { "style": { "height": "36px" } }).form; //创建窗体
  1022. _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); } }
  1023. break;
  1024. case "library":
  1025. _formdiv = new U.UF.UI.form(
  1026. "素材库",
  1027. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  1028. "id": "library",
  1029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1030. "onresize": function () { }
  1031. }, {
  1032. closecallback: function () { }
  1033. }, { "style": { "height": "36px" } }).form; //创建窗体
  1034. _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); } }
  1035. break;
  1036. case "whiteboard":
  1037. _formdiv = new U.UF.UI.form(
  1038. "电子白板",
  1039. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  1040. "id": "whiteboard",
  1041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1042. "onresize": function () { }
  1043. }, {
  1044. closecallback: function () { }
  1045. }, { "style": { "height": "36px" } }).form; //创建窗体
  1046. _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); } }
  1047. break;
  1048. case "investigation":
  1049. _formdiv = new U.UF.UI.form(
  1050. "问卷调查",
  1051. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  1052. "id": "investigation",
  1053. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1054. "onresize": function () { }
  1055. }, {
  1056. closecallback: function () { }
  1057. }, { "style": { "height": "36px" } }).form; //创建窗体
  1058. _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); } }
  1059. break;
  1060. case "note":
  1061. _formdiv = new U.UF.UI.form(
  1062. "便签分类",
  1063. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  1064. "id": "note",
  1065. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  1066. "onresize": function () { }
  1067. }, {
  1068. closecallback: function () { }
  1069. }, { "style": { "height": "36px" } }).form; //创建窗体
  1070. _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); } }
  1071. break;
  1072. // case "score":
  1073. // _formdiv = new U.UF.UI.form(
  1074. // "量规评分",
  1075. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
  1076. // "id": "score",
  1077. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1078. // "onresize": function() {}
  1079. // }, {
  1080. // closecallback: function() {}
  1081. // }, { "style": { "height": "36px" } }).form; //创建窗体
  1082. // _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); } }
  1083. // break;
  1084. case "mind":
  1085. _formdiv = new U.UF.UI.form(
  1086. "思维导图",
  1087. $$("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"
  1088. "id": "mind",
  1089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1090. "onresize": function () { }
  1091. }, {
  1092. closecallback: function () { }
  1093. }, { "style": { "height": "36px" } }).form; //创建窗体
  1094. _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); } }
  1095. break;
  1096. case "doc":
  1097. // U.MD.D.I.isRoom();
  1098. _formdiv = new U.UF.UI.form(
  1099. "协同文档",
  1100. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  1101. "id": "doc",
  1102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1103. "onresize": function () { }
  1104. }, {
  1105. closecallback: function () { }
  1106. }, { "style": { "height": "36px" } }).form; //创建窗体
  1107. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  1108. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  1109. })
  1110. _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); } }
  1111. break;
  1112. case "train": //好友打开
  1113. _formdiv = new U.UF.UI.form(
  1114. "训练平台",
  1115. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  1116. "id": "train",
  1117. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1118. "onresize": function () { }
  1119. }, {
  1120. closecallback: function () { }
  1121. }, { "style": { "height": "36px" } }).form; //创建窗体
  1122. _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); } }
  1123. break;
  1124. case "studentStudy":
  1125. _formdiv = new U.UF.UI.form(
  1126. "学习中心",
  1127. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
  1128. "id": "studentStudy",
  1129. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  1130. "onresize": function () { }
  1131. }, {
  1132. closecallback: function () { }
  1133. }, { "style": { "height": "36px" } }).form; //创建窗体
  1134. _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); } }
  1135. break;
  1136. case "mindNetwork": //好友打开
  1137. _formdiv = new U.UF.UI.form(
  1138. "思维网格",
  1139. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  1140. "id": "mindNetwork",
  1141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1142. "onresize": function () { }
  1143. }, {
  1144. closecallback: function () { }
  1145. }, { "style": { "height": "36px" } }).form; //创建窗体
  1146. _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); } }
  1147. break;
  1148. case "studentClassRoom": //好友打开
  1149. _formdiv = new U.UF.UI.form(
  1150. "实时课堂",
  1151. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1152. "id": "studentClassRoom",
  1153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1154. "onresize": function () { }
  1155. }, {
  1156. closecallback: function () { }
  1157. }, { "style": { "height": "36px" } }).form; //创建窗体
  1158. _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); } }
  1159. setTimeout(() => {
  1160. U.UF.F.windowZooming(_formdiv)
  1161. }, 0);
  1162. break;
  1163. }
  1164. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  1165. //选择应用处理
  1166. switch (str) {
  1167. case "project": //好友打开
  1168. _formdiv = new U.UF.UI.form(
  1169. "项目管理",
  1170. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1171. "id": "project",
  1172. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1173. "onresize": function () { }
  1174. }, {
  1175. closecallback: function () { }
  1176. }, { "style": { "height": "36px" } }).form; //创建窗体
  1177. _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); } }
  1178. break;
  1179. case "student":
  1180. _formdiv = new U.UF.UI.form(
  1181. "学生管理",
  1182. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  1183. "id": "student",
  1184. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1185. "onresize": function () { }
  1186. }, {
  1187. closecallback: function () { }
  1188. }, { "style": { "height": "36px" } }).form; //创建窗体
  1189. _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); } }
  1190. break;
  1191. case "evaluate":
  1192. _formdiv = new U.UF.UI.form(
  1193. "学生评价",
  1194. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1195. "id": "evaluate",
  1196. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1197. "onresize": function () { }
  1198. }, {
  1199. closecallback: function () { }
  1200. }, { "style": { "height": "36px" } }).form; //创建窗体
  1201. _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); } }
  1202. break;
  1203. case "sys":
  1204. _formdiv = new U.UF.UI.form(
  1205. "目标管理",
  1206. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1207. "id": "sys",
  1208. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1209. "onresize": function () { }
  1210. }, {
  1211. closecallback: function () { }
  1212. }, { "style": { "height": "36px" } }).form; //创建窗体
  1213. _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); } }
  1214. break;
  1215. case "courseDesign":
  1216. _formdiv = new U.UF.UI.form(
  1217. "课程设计",
  1218. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  1219. "id": "courseDesign",
  1220. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1221. "onresize": function () { }
  1222. }, {
  1223. closecallback: function () { }
  1224. }, { "style": { "height": "36px" } }).form; //创建窗体
  1225. _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); } }
  1226. break;
  1227. case "program":
  1228. _formdiv = new U.UF.UI.form(
  1229. "编程平台",
  1230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  1231. "id": "program",
  1232. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  1233. "onresize": function () { }
  1234. }, {
  1235. closecallback: function () { }
  1236. }, { "style": { "height": "36px" } }).form; //创建窗体
  1237. _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); } }
  1238. break;
  1239. case "class":
  1240. _formdiv = new U.UF.UI.form(
  1241. "班级管理",
  1242. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1243. "id": "class",
  1244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1245. "onresize": function () { }
  1246. }, {
  1247. closecallback: function () { }
  1248. }, { "style": { "height": "36px" } }).form; //创建窗体
  1249. _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); } }
  1250. break;
  1251. case "my":
  1252. _formdiv = new U.UF.UI.form(
  1253. "我的资料",
  1254. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  1255. "id": "my",
  1256. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  1257. "onresize": function () { }
  1258. }, {
  1259. closecallback: function () { }
  1260. }, { "style": { "height": "36px" } }).form; //创建窗体
  1261. _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); } }
  1262. break;
  1263. case "notice":
  1264. _formdiv = new U.UF.UI.form(
  1265. "通知公告",
  1266. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  1267. "id": "notice",
  1268. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1269. "onresize": function () { }
  1270. }, {
  1271. closecallback: function () { }
  1272. }, { "style": { "height": "36px" } }).form; //创建窗体
  1273. _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); } }
  1274. break;
  1275. case "library":
  1276. _formdiv = new U.UF.UI.form(
  1277. "素材库",
  1278. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  1279. "id": "library",
  1280. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1281. "onresize": function () { }
  1282. }, {
  1283. closecallback: function () { }
  1284. }, { "style": { "height": "36px" } }).form; //创建窗体
  1285. _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); } }
  1286. break;
  1287. case "whiteboard":
  1288. _formdiv = new U.UF.UI.form(
  1289. "电子白板",
  1290. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  1291. "id": "whiteboard",
  1292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1293. "onresize": function () { }
  1294. }, {
  1295. closecallback: function () { }
  1296. }, { "style": { "height": "36px" } }).form; //创建窗体
  1297. _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); } }
  1298. break;
  1299. case "investigation":
  1300. _formdiv = new U.UF.UI.form(
  1301. "问卷调查",
  1302. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  1303. "id": "investigation",
  1304. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1305. "onresize": function () { }
  1306. }, {
  1307. closecallback: function () { }
  1308. }, { "style": { "height": "36px" } }).form; //创建窗体
  1309. _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); } }
  1310. break;
  1311. case "note":
  1312. _formdiv = new U.UF.UI.form(
  1313. "便签分类",
  1314. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  1315. "id": "note",
  1316. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  1317. "onresize": function () { }
  1318. }, {
  1319. closecallback: function () { }
  1320. }, { "style": { "height": "36px" } }).form; //创建窗体
  1321. _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); } }
  1322. break;
  1323. // case "score":
  1324. // _formdiv = new U.UF.UI.form(
  1325. // "量规评分",
  1326. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn" }), {
  1327. // "id": "score",
  1328. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1329. // "onresize": function() {}
  1330. // }, {
  1331. // closecallback: function() {}
  1332. // }, { "style": { "height": "36px" } }).form; //创建窗体
  1333. // _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); } }
  1334. // break;
  1335. case "mind":
  1336. _formdiv = new U.UF.UI.form(
  1337. "思维导图",
  1338. $$("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"
  1339. "id": "mind",
  1340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1341. "onresize": function () { }
  1342. }, {
  1343. closecallback: function () { }
  1344. }, { "style": { "height": "36px" } }).form; //创建窗体
  1345. _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); } }
  1346. break;
  1347. case "doc":
  1348. // U.MD.D.I.isRoom();
  1349. _formdiv = new U.UF.UI.form(
  1350. "协同文档",
  1351. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  1352. "id": "doc",
  1353. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1354. "onresize": function () { }
  1355. }, {
  1356. closecallback: function () { }
  1357. }, { "style": { "height": "36px" } }).form; //创建窗体
  1358. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  1359. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  1360. })
  1361. _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); } }
  1362. break;
  1363. case "study":
  1364. _formdiv = new U.UF.UI.form(
  1365. "学习中心",
  1366. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
  1367. "id": "study",
  1368. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  1369. "onresize": function () { }
  1370. }, {
  1371. closecallback: function () { }
  1372. }, { "style": { "height": "36px" } }).form; //创建窗体
  1373. _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); } }
  1374. break;
  1375. case "mindNetwork": //好友打开
  1376. _formdiv = new U.UF.UI.form(
  1377. "思维网格",
  1378. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  1379. "id": "mindNetwork",
  1380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1381. "onresize": function () { }
  1382. }, {
  1383. closecallback: function () { }
  1384. }, { "style": { "height": "36px" } }).form; //创建窗体
  1385. _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); } }
  1386. break;
  1387. case "train": //好友打开
  1388. _formdiv = new U.UF.UI.form(
  1389. "训练平台",
  1390. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  1391. "id": "mindNetwork",
  1392. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1393. "onresize": function () { }
  1394. }, {
  1395. closecallback: function () { }
  1396. }, { "style": { "height": "36px" } }).form; //创建窗体
  1397. _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); } }
  1398. break;
  1399. case "teacherClassRoom": //好友打开
  1400. _formdiv = new U.UF.UI.form(
  1401. "实时课堂",
  1402. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1403. "id": "teacherClassRoom",
  1404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1405. "onresize": function () { }
  1406. }, {
  1407. closecallback: function () { }
  1408. }, { "style": { "height": "36px" } }).form; //创建窗体
  1409. _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); } }
  1410. setTimeout(() => {
  1411. U.UF.F.windowZooming(_formdiv)
  1412. }, 0);
  1413. break;
  1414. }
  1415. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1416. switch (str) {
  1417. case "project": //好友打开
  1418. _formdiv = new U.UF.UI.form(
  1419. "项目管理",
  1420. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1421. "id": "project",
  1422. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1423. "onresize": function () { }
  1424. }, {
  1425. closecallback: function () { }
  1426. }, { "style": { "height": "36px" } }).form; //创建窗体
  1427. _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); } }
  1428. break;
  1429. case "evaluate":
  1430. _formdiv = new U.UF.UI.form(
  1431. "学生评价",
  1432. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1433. "id": "evaluate",
  1434. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1435. "onresize": function () { }
  1436. }, {
  1437. closecallback: function () { }
  1438. }, { "style": { "height": "36px" } }).form; //创建窗体
  1439. _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); } }
  1440. break;
  1441. case "notice":
  1442. _formdiv = new U.UF.UI.form(
  1443. "通知公告",
  1444. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  1445. "id": "notice",
  1446. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1447. "onresize": function () { }
  1448. }, {
  1449. closecallback: function () { }
  1450. }, { "style": { "height": "36px" } }).form; //创建窗体
  1451. _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); } }
  1452. break;
  1453. case "stuLibrary":
  1454. _formdiv = new U.UF.UI.form(
  1455. "学习资料",
  1456. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  1457. "id": "stuLibrary",
  1458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1459. "onresize": function () { }
  1460. }, {
  1461. closecallback: function () { }
  1462. }, { "style": { "height": "36px" } }).form; //创建窗体
  1463. _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); } }
  1464. break;
  1465. case "program":
  1466. _formdiv = new U.UF.UI.form(
  1467. "编程平台",
  1468. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  1469. "id": "program",
  1470. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  1471. "onresize": function () { }
  1472. }, {
  1473. closecallback: function () { }
  1474. }, { "style": { "height": "36px" } }).form; //创建窗体
  1475. _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); } }
  1476. break;
  1477. case "whiteboard":
  1478. _formdiv = new U.UF.UI.form(
  1479. "电子白板",
  1480. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.cn/" }), {
  1481. "id": "whiteboard",
  1482. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1483. "onresize": function () { }
  1484. }, {
  1485. closecallback: function () { }
  1486. }, { "style": { "height": "36px" } }).form; //创建窗体
  1487. _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); } }
  1488. break;
  1489. case "investigation":
  1490. _formdiv = new U.UF.UI.form(
  1491. "问卷调查",
  1492. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  1493. "id": "investigation",
  1494. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1495. "onresize": function () { }
  1496. }, {
  1497. closecallback: function () { }
  1498. }, { "style": { "height": "36px" } }).form; //创建窗体
  1499. _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); } }
  1500. break;
  1501. case "mind":
  1502. _formdiv = new U.UF.UI.form(
  1503. "思维导图",
  1504. $$("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"
  1505. "id": "mind",
  1506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1507. "onresize": function () { }
  1508. }, {
  1509. closecallback: function () { }
  1510. }, { "style": { "height": "36px" } }).form; //创建窗体
  1511. _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); } }
  1512. break;
  1513. case "doc":
  1514. // U.MD.D.I.isRoom();
  1515. _formdiv = new U.UF.UI.form(
  1516. "协同文档",
  1517. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  1518. "id": "doc",
  1519. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1520. "onresize": function () { }
  1521. }, {
  1522. closecallback: function () { }
  1523. }, { "style": { "height": "36px" } }).form; //创建窗体
  1524. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  1525. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  1526. })
  1527. _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); } }
  1528. break;
  1529. case "study":
  1530. _formdiv = new U.UF.UI.form(
  1531. "学习中心",
  1532. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
  1533. "id": "study",
  1534. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  1535. "onresize": function () { }
  1536. }, {
  1537. closecallback: function () { }
  1538. }, { "style": { "height": "36px" } }).form; //创建窗体
  1539. _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); } }
  1540. break;
  1541. case "mindNetwork": //好友打开
  1542. _formdiv = new U.UF.UI.form(
  1543. "思维网格",
  1544. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  1545. "id": "mindNetwork",
  1546. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1547. "onresize": function () { }
  1548. }, {
  1549. closecallback: function () { }
  1550. }, { "style": { "height": "36px" } }).form; //创建窗体
  1551. _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); } }
  1552. break;
  1553. case "train": //好友打开
  1554. _formdiv = new U.UF.UI.form(
  1555. "训练平台",
  1556. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  1557. "id": "train",
  1558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1559. "onresize": function () { }
  1560. }, {
  1561. closecallback: function () { }
  1562. }, { "style": { "height": "36px" } }).form; //创建窗体
  1563. _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); } }
  1564. break;
  1565. case "sys":
  1566. _formdiv = new U.UF.UI.form(
  1567. "目标管理",
  1568. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1569. "id": "sys",
  1570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1571. "onresize": function () { }
  1572. }, {
  1573. closecallback: function () { }
  1574. }, { "style": { "height": "36px" } }).form; //创建窗体
  1575. _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); } }
  1576. break;
  1577. case "courseDesign":
  1578. _formdiv = new U.UF.UI.form(
  1579. "课程设计",
  1580. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  1581. "id": "courseDesign",
  1582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1583. "onresize": function () { }
  1584. }, {
  1585. closecallback: function () { }
  1586. }, { "style": { "height": "36px" } }).form; //创建窗体
  1587. _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); } }
  1588. break;
  1589. }
  1590. } else if (!_type) {
  1591. switch (str) {
  1592. case "my":
  1593. _formdiv = new U.UF.UI.form(
  1594. "我的资料",
  1595. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  1596. "id": "my",
  1597. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  1598. "onresize": function () { }
  1599. }, {
  1600. closecallback: function () { }
  1601. }, { "style": { "height": "36px" } }).form; //创建窗体
  1602. _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); } }
  1603. break;
  1604. }
  1605. }
  1606. switch (str) {
  1607. // AIprogram2 AI体验 aihub.cocorobo.cn
  1608. // Pythonprogram Python编程 python-blockly.cocorobo.cn
  1609. // AIprogram AI编程 ai-blockly.cocorobo.cn
  1610. case "AIprogram2": //AI体验
  1611. _formdiv = new U.UF.UI.form(
  1612. "AI体验",
  1613. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  1614. "id": "AIprogram2",
  1615. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  1616. "onresize": function () { }
  1617. }, {
  1618. closecallback: function () { }
  1619. }, { "style": { "height": "36px" } }).form; //创建窗体
  1620. _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); } }
  1621. break;
  1622. case "Pythonprogram": //python编程
  1623. _formdiv = new U.UF.UI.form(
  1624. "Python编程",
  1625. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  1626. "id": "Pythonprogram",
  1627. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  1628. "onresize": function () { }
  1629. }, {
  1630. closecallback: function () { }
  1631. }, { "style": { "height": "36px" } }).form; //创建窗体
  1632. _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); } }
  1633. break;
  1634. case "AIprogram": //ai编程
  1635. _formdiv = new U.UF.UI.form(
  1636. "AI编程平台",
  1637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  1638. "id": "AIprogram",
  1639. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  1640. "onresize": function () { }
  1641. }, {
  1642. closecallback: function () { }
  1643. }, { "style": { "height": "36px" } }).form; //创建窗体
  1644. _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); } }
  1645. break;
  1646. case "resources": //国家教育
  1647. _formdiv = new U.UF.UI.form(
  1648. "国家教育",
  1649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  1650. "id": "resources",
  1651. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  1652. "onresize": function () { }
  1653. }, {
  1654. closecallback: function () { }
  1655. }, { "style": { "height": "36px" } }).form; //创建窗体
  1656. _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); } }
  1657. break;
  1658. case "codeEdit": //源码编辑
  1659. _formdiv = new U.UF.UI.form(
  1660. "源码编辑",
  1661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  1662. "id": "codeEdit",
  1663. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  1664. "onresize": function () { }
  1665. }, {
  1666. closecallback: function () { }
  1667. }, { "style": { "height": "36px" } }).form; //创建窗体
  1668. _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); } }
  1669. break; //
  1670. case "MindMap": //MindMap
  1671. _formdiv = new U.UF.UI.form(
  1672. "MindMap",
  1673. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  1674. "id": "MindMap",
  1675. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  1676. "onresize": function () { }
  1677. }, {
  1678. closecallback: function () { }
  1679. }, { "style": { "height": "36px" } }).form; //创建窗体
  1680. _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); } }
  1681. break;
  1682. case "netWorkPanel": //netWorkPanel
  1683. _formdiv = new U.UF.UI.form(
  1684. "netWorkPanel",
  1685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  1686. "id": "netWorkPanel",
  1687. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  1688. "onresize": function () { }
  1689. }, {
  1690. closecallback: function () { }
  1691. }, { "style": { "height": "36px" } }).form; //创建窗体
  1692. _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); } }
  1693. break;
  1694. case "GeoGebra": //GeoGebra
  1695. _formdiv = new U.UF.UI.form(
  1696. "GeoGebra",
  1697. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.geogebra.org/calculator" }), {
  1698. "id": "GeoGebra",
  1699. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  1700. "onresize": function () { }
  1701. }, {
  1702. closecallback: function () { }
  1703. }, { "style": { "height": "36px" } }).form; //创建窗体
  1704. _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); } }
  1705. break;
  1706. case "translation": //翻译
  1707. _formdiv = new U.UF.UI.form(
  1708. "翻译",
  1709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  1710. "id": "translation",
  1711. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  1712. "onresize": function () { }
  1713. }, {
  1714. closecallback: function () { }
  1715. }, { "style": { "height": "36px" } }).form; //创建窗体
  1716. _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); } }
  1717. break;
  1718. case "mohe": //魔盒
  1719. _formdiv = new U.UF.UI.form(
  1720. "魔盒识字",
  1721. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  1722. "id": "mohe",
  1723. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  1724. "onresize": function () { }
  1725. }, {
  1726. closecallback: function () { }
  1727. }, { "style": { "height": "36px" } }).form; //创建窗体
  1728. _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); } }
  1729. break;
  1730. case "24game": //24点
  1731. _formdiv = new U.UF.UI.form(
  1732. "24点",
  1733. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  1734. "id": "24game",
  1735. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  1736. "onresize": function () { }
  1737. }, {
  1738. closecallback: function () { }
  1739. }, { "style": { "height": "36px" } }).form; //创建窗体
  1740. _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); } }
  1741. break;
  1742. case "case":
  1743. _formdiv = new U.UF.UI.form(
  1744. "项目进展",
  1745. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1746. "id": "case",
  1747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1748. "onresize": function () { }
  1749. }, {
  1750. closecallback: function () { }
  1751. }, { "style": { "height": "36px" } }).form; //创建窗体
  1752. _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); } }
  1753. break;
  1754. case "snf":
  1755. _formdiv = new U.UF.UI.form(
  1756. "赛诺梵",
  1757. $$("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" }), {
  1758. "id": "snf",
  1759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1760. "onresize": function () { }
  1761. }, {
  1762. closecallback: function () { }
  1763. }, { "style": { "height": "36px" } }).form; //创建窗体
  1764. _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); } }
  1765. break;
  1766. case "hanFamily":
  1767. _formdiv = new U.UF.UI.form(
  1768. "汉字家族",
  1769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  1770. "id": "hanFamily",
  1771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1772. "onresize": function () { }
  1773. }, {
  1774. closecallback: function () { }
  1775. }, { "style": { "height": "36px" } }).form; //创建窗体
  1776. _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); } }
  1777. break;
  1778. case "hanClassics":
  1779. _formdiv = new U.UF.UI.form(
  1780. "国学经典",
  1781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  1782. "id": "hanClassics",
  1783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1784. "onresize": function () { }
  1785. }, {
  1786. closecallback: function () { }
  1787. }, { "style": { "height": "36px" } }).form; //创建窗体
  1788. _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); } }
  1789. break;
  1790. case "hanTraining":
  1791. _formdiv = new U.UF.UI.form(
  1792. "笔画训练",
  1793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  1794. "id": "hanTraining",
  1795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1796. "onresize": function () { }
  1797. }, {
  1798. closecallback: function () { }
  1799. }, { "style": { "height": "36px" } }).form; //创建窗体
  1800. _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); } }
  1801. break;
  1802. case "hanClass":
  1803. _formdiv = new U.UF.UI.form(
  1804. "书法课堂",
  1805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  1806. "id": "hanClass",
  1807. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1808. "onresize": function () { }
  1809. }, {
  1810. closecallback: function () { }
  1811. }, { "style": { "height": "36px" } }).form; //创建窗体
  1812. _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); } }
  1813. break;
  1814. case "han":
  1815. _formdiv = new U.UF.UI.form(
  1816. "汉字宫",
  1817. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  1818. "id": "han",
  1819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1820. "onresize": function () { }
  1821. }, {
  1822. closecallback: function () { }
  1823. }, { "style": { "height": "36px" } }).form; //创建窗体
  1824. _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); } }
  1825. break;
  1826. case "projectGM": //项目管理
  1827. _formdiv = new U.UF.UI.form(
  1828. "项目管理",
  1829. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1830. "id": "projectGM",
  1831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1832. "onresize": function () { }
  1833. }, {
  1834. closecallback: function () { }
  1835. }, { "style": { "height": "36px" } }).form; //创建窗体
  1836. _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); } }
  1837. break;
  1838. case "studyGM"://学习中心
  1839. _formdiv = new U.UF.UI.form(
  1840. "学习中心",
  1841. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/indexGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
  1842. "id": "study",
  1843. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  1844. "onresize": function () { }
  1845. }, {
  1846. closecallback: function () { }
  1847. }, { "style": { "height": "36px" } }).form; //创建窗体
  1848. _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); } }
  1849. break;
  1850. // studentGM
  1851. case "studentGM"://学生管理
  1852. _formdiv = new U.UF.UI.form(
  1853. "学生管理",
  1854. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  1855. "id": "studentGM",
  1856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1857. "onresize": function () { }
  1858. }, {
  1859. closecallback: function () { }
  1860. }, { "style": { "height": "36px" } }).form; //创建窗体
  1861. _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); } }
  1862. break;
  1863. case "evaluateGM"://学生评价
  1864. _formdiv = new U.UF.UI.form(
  1865. "学生评价",
  1866. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1867. "id": "evaluateGM",
  1868. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1869. "onresize": function () { }
  1870. }, {
  1871. closecallback: function () { }
  1872. }, { "style": { "height": "36px" } }).form; //创建窗体
  1873. _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); } }
  1874. break;
  1875. // classGM
  1876. case "classGM"://班级管理
  1877. _formdiv = new U.UF.UI.form(
  1878. "班级管理",
  1879. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1880. "id": "classGM",
  1881. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1882. "onresize": function () { }
  1883. }, {
  1884. closecallback: function () { }
  1885. }, { "style": { "height": "36px" } }).form; //创建窗体
  1886. _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); } }
  1887. break;
  1888. // dataGM
  1889. case "dataGM":
  1890. _formdiv = new U.UF.UI.form(
  1891. "我的资料",
  1892. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  1893. "id": "dataGM",
  1894. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  1895. "onresize": function () { }
  1896. }, {
  1897. closecallback: function () { }
  1898. }, { "style": { "height": "36px" } }).form; //创建窗体
  1899. _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); } }
  1900. break;
  1901. // caseGM
  1902. case "caseGM"://项目进展
  1903. _formdiv = new U.UF.UI.form(
  1904. "项目进展",
  1905. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1906. "id": "caseGM",
  1907. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1908. "onresize": function () { }
  1909. }, {
  1910. closecallback: function () { }
  1911. }, { "style": { "height": "36px" } }).form; //创建窗体
  1912. _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); } }
  1913. break;
  1914. // meterialGM
  1915. case "meterialGM"://素材库
  1916. _formdiv = new U.UF.UI.form(
  1917. "素材库",
  1918. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  1919. "id": "meterialGM",
  1920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1921. "onresize": function () { }
  1922. }, {
  1923. closecallback: function () { }
  1924. }, { "style": { "height": "36px" } }).form; //创建窗体
  1925. _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); } }
  1926. break;
  1927. // evaluateSGM
  1928. case "evaluateSGM": //我的评价
  1929. _formdiv = new U.UF.UI.form(
  1930. "我的评价",
  1931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1932. "id": "evaluateSGM",
  1933. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  1934. "onresize": function () { }
  1935. }, {
  1936. closecallback: function () { }
  1937. }, { "style": { "height": "36px" } }).form; //创建窗体
  1938. _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); } }
  1939. break;
  1940. case "schoolGM": //学校管理
  1941. _formdiv = new U.UF.UI.form(
  1942. "学校管理",
  1943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/schoolGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1944. "id": "schoolGM",
  1945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1946. "onresize": function () { }
  1947. }, {
  1948. closecallback: function () { }
  1949. }, { "style": { "height": "36px" } }).form; //创建窗体
  1950. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/school.png)" }, "name": "学校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  1951. break;
  1952. case "teacherGM": //教师管理
  1953. _formdiv = new U.UF.UI.form(
  1954. "教师管理",
  1955. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/teacherGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  1956. "id": "teacherGM",
  1957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  1958. "onresize": function () { }
  1959. }, {
  1960. closecallback: function () { }
  1961. }, { "style": { "height": "36px" } }).form; //创建窗体
  1962. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/teacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  1963. break;
  1964. }
  1965. //U.MD.D.I.openClick(str);
  1966. //如果有任务栏信息
  1967. if (_taskbar) {
  1968. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  1969. }
  1970. }
  1971. // U.MD.D.I.openClick = function(str){
  1972. // var click = '';
  1973. // switch(str){
  1974. // case 'friend':
  1975. // click = '我的好友';
  1976. // break;
  1977. // case 'domain':
  1978. // click = '域名管理';
  1979. // break;
  1980. // case 'disk':
  1981. // click = '我的云盘';
  1982. // break;
  1983. // case 'word':
  1984. // click = 'Word';
  1985. // break;
  1986. // case 'excel':
  1987. // click = 'Execl';
  1988. // break;
  1989. // case 'txt':
  1990. // click = '文本文件';
  1991. // break;
  1992. // case 'lookupFriend':
  1993. // click = '查找好友';
  1994. // break;
  1995. // case 'ftp':
  1996. // click = 'FTP';
  1997. // break;
  1998. // case 'group':
  1999. // click = '群组';
  2000. // break;
  2001. // case 'set':
  2002. // click = '我的设置';
  2003. // break;
  2004. // case 'systemSet':
  2005. // click = '系统设置';
  2006. // break;
  2007. // case 'boomYun':
  2008. // click = '互联办公';
  2009. // break;
  2010. // case 'xz':
  2011. // click = '云端下载';
  2012. // break;
  2013. // case 'client':
  2014. // click = '有思浏览器';
  2015. // break;
  2016. // case 'backEndProgramming':
  2017. // click = '在线后台编程';
  2018. // break;
  2019. // case 'frontEndProgramming':
  2020. // click = '在线前端编程';
  2021. // break;
  2022. // default: break;
  2023. // }
  2024. // if(U.MD.D.I.Ip && click){
  2025. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  2026. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  2027. // })
  2028. // }
  2029. // }
  2030. /**
  2031. *函数作用:ajax简易函数,使用post格式
  2032. *@param url {data} 后台地址
  2033. *@param data {data} 参数json
  2034. *@param fn {data} 回调函数
  2035. *
  2036. */
  2037. // U.MD.D.I.Mysqlrequest = function(url,fn){
  2038. // var xhr = new XMLHttpRequest();
  2039. // xhr.open("GET",url,true);
  2040. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  2041. // xhr.onreadystatechange = function(){
  2042. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  2043. // fn.call(this,xhr.responseText);
  2044. // }
  2045. // };
  2046. // xhr.send();
  2047. // }
  2048. /*判断是否是内网IP*/
  2049. // U.MD.D.I.isInnerIPFn = function(str){
  2050. // var curPageUrl = str;
  2051. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前缀
  2052. // curPageUrl =curPageUrl.replace(reg1,'');
  2053. // // console.log('curPageUrl-1 '+curPageUrl);
  2054. // var reg2 = /\:+/g;//替换冒号为一点
  2055. // curPageUrl =curPageUrl.replace(reg2,'.');
  2056. // // console.log('curPageUrl-2 '+curPageUrl);
  2057. // curPageUrl = curPageUrl.split('.');//通过一点来划分数组
  2058. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  2059. // if(curPageUrl[2] != '16'){
  2060. // return ipAddress;
  2061. // }else{
  2062. // return false;
  2063. // }
  2064. // }
  2065. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  2066. // //compatibility for firefox and chrome
  2067. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  2068. // var pc = new myPeerConnection({
  2069. // iceServers: []
  2070. // }),
  2071. // noop = function() {},
  2072. // localIPs = {},
  2073. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  2074. // key;
  2075. // function iterateIP(ip) {
  2076. // if (!localIPs[ip]) onNewIP(ip);
  2077. // localIPs[ip] = true;
  2078. // }
  2079. // //create a bogus data channel
  2080. // pc.createDataChannel("");
  2081. // // create offer and set local description
  2082. // pc.createOffer().then(function(sdp) {
  2083. // sdp.sdp.split('\n').forEach(function(line) {
  2084. // if (line.indexOf('candidate') < 0) return;
  2085. // line.match(ipRegex).forEach(iterateIP);
  2086. // });
  2087. // pc.setLocalDescription(sdp, noop, noop);
  2088. // }).catch(function(reason) {
  2089. // // An error occurred, so handle the failure to connect
  2090. // });
  2091. // //sten for candidate events
  2092. // pc.onicecandidate = function(ice) {
  2093. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  2094. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  2095. // };
  2096. // }
  2097. // U.MD.D.I.getUserIpBool = function(callback){
  2098. // U.MD.D.I.getUserIP(function(ip){
  2099. // alert("Got IP! :" + ip);
  2100. // });
  2101. //}
  2102. //#endregion
  2103. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  2104. var _taskbar, //_taskbar 作为任务栏显示的元素,包含图标和名字
  2105. _formdiv, //创建任务栏时同时弹出的窗体元素。
  2106. _userinfo = US.userInfo, //登录用户信息
  2107. _userid = US.userInfo.userid //登录用户id
  2108. let _iframe;
  2109. var _jie = $$("div", {
  2110. "style": {
  2111. "position": "absolute",
  2112. "bottom": "50px",
  2113. "right": "50px",
  2114. "zIndex": "9999",
  2115. "backgroundColor": "#2268bc",
  2116. "color": "#fff",
  2117. "padding": "12px 20px",
  2118. "cursor": "pointer",
  2119. "borderRadius": "4px",
  2120. },
  2121. "innerHTML": "提交作业"
  2122. })
  2123. let _loading = document.createElement('div')
  2124. _loading.style = "width:100%;height:100%;background:#0000008f;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  2125. // _loading.id = "";
  2126. let _lchild = document.createElement('div')
  2127. let _limg = document.createElement('img')
  2128. _limg.src = 'https://pbl.cocorobo.cn/pbl-student-table/dist/js/loading.gif'
  2129. _limg.style = "width: 26px;margin-right: 10px;"
  2130. _lchild.appendChild(_limg)
  2131. let _lspan = document.createElement('span')
  2132. _lspan.innerHTML = "上传中..."
  2133. _lchild.appendChild(_lspan)
  2134. _lchild.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;display:flex;align-items:center;"
  2135. _loading.appendChild(_lchild)
  2136. var _box = $$('div', {
  2137. "style": {
  2138. "position": "relative",
  2139. "width": "100%",
  2140. "height": "100%",
  2141. },
  2142. })
  2143. _box.appendChild(_loading)
  2144. _box.id = str + '_loadLi'
  2145. switch (str) {
  2146. case "whiteboard":
  2147. _iframe = $$("iframe", {
  2148. "frameborder": "no",
  2149. "border": "0",
  2150. "scrolling ": "no",
  2151. "style": {
  2152. "cssText": "border:0;width:100%;height:100%"
  2153. },
  2154. "src": "https://iwb.cocorobo.cn/"
  2155. })
  2156. _box.appendChild(_iframe);
  2157. _box.appendChild(_jie);
  2158. _formdiv = new U.UF.UI.form(
  2159. "电子白板",
  2160. _box, {
  2161. "id": "whiteboard",
  2162. "style": {
  2163. "width": "90%",
  2164. "height": "90%",
  2165. "overflow": 'hidden'
  2166. },
  2167. "onresize": function () { }
  2168. }, {
  2169. closecallback: function () { }
  2170. }, {
  2171. "style": {
  2172. "height": "36px"
  2173. }
  2174. }).form; //创建窗体
  2175. _taskbar = {
  2176. "id": str + _formdiv.id,
  2177. "style": {
  2178. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  2179. },
  2180. "name": "电子白板",
  2181. "forms": _formdiv,
  2182. "click": function () {
  2183. U.MD.D.I.openApplication(str, obj, info);
  2184. }
  2185. }
  2186. break;
  2187. case "mind":
  2188. _iframe = $$("iframe", {
  2189. "frameborder": "no",
  2190. "border": "0",
  2191. "scrolling ": "no",
  2192. "style": {
  2193. "cssText": "border:0;width:100%;height:100%"
  2194. },
  2195. "src": "/kityminder-editor/dist/index.html"
  2196. })
  2197. _box.appendChild(_iframe);
  2198. _box.appendChild(_jie);
  2199. _formdiv = new U.UF.UI.form(
  2200. "思维导图",
  2201. _box, { //"/jsmind/example/demo.html"
  2202. "id": "mind",
  2203. "style": {
  2204. "width": "90%",
  2205. "height": "90%",
  2206. "overflow": 'hidden'
  2207. },
  2208. "onresize": function () { }
  2209. }, {
  2210. closecallback: function () { }
  2211. }, {
  2212. "style": {
  2213. "height": "36px"
  2214. }
  2215. }).form; //创建窗体
  2216. _taskbar = {
  2217. "id": str + _formdiv.id,
  2218. "style": {
  2219. "backgroundImage": "url(/img/icon/mindMapping.png)"
  2220. },
  2221. "name": "思维导图",
  2222. "forms": _formdiv,
  2223. "click": function () {
  2224. U.MD.D.I.openApplication(str, obj, info);
  2225. }
  2226. }
  2227. break;
  2228. case "MindMap":
  2229. _iframe = $$("iframe", {
  2230. "frameborder": "no",
  2231. "border": "0",
  2232. "scrolling ": "no",
  2233. "style": {
  2234. "cssText": "border:0;width:100%;height:100%"
  2235. },
  2236. "src": "//cloud.cocorobo.cn/mind/"
  2237. })
  2238. _box.appendChild(_iframe);
  2239. _box.appendChild(_jie);
  2240. _formdiv = new U.UF.UI.form(
  2241. "思维导图",
  2242. _box, { //"/jsmind/example/demo.html"
  2243. "id": "mind",
  2244. "style": {
  2245. "width": "90%",
  2246. "height": "90%",
  2247. "overflow": 'hidden'
  2248. },
  2249. "onresize": function () { }
  2250. }, {
  2251. closecallback: function () { }
  2252. }, {
  2253. "style": {
  2254. "height": "36px"
  2255. }
  2256. }).form; //创建窗体
  2257. _taskbar = {
  2258. "id": str + _formdiv.id,
  2259. "style": {
  2260. "backgroundImage": "url(/img/icon/mindMapping.png)"
  2261. },
  2262. "name": "思维导图",
  2263. "forms": _formdiv,
  2264. "click": function () {
  2265. U.MD.D.I.openApplication(str, obj, info);
  2266. }
  2267. }
  2268. break;
  2269. case "doc":
  2270. _iframe = $$("iframe", {
  2271. "frameborder": "no",
  2272. "border": "0",
  2273. "scrolling ": "no",
  2274. "style": {
  2275. "cssText": "border:0;width:100%;height:100%"
  2276. },
  2277. "src": "/Office/Word/WordEditArea.htm"
  2278. })
  2279. _box.appendChild(_iframe);
  2280. _box.appendChild(_jie);
  2281. _formdiv = new U.UF.UI.form(
  2282. "协同文档",
  2283. _box, {
  2284. "id": "doc",
  2285. "style": {
  2286. "width": "90%",
  2287. "height": "90%",
  2288. "overflow": 'hidden'
  2289. },
  2290. "onresize": function () { }
  2291. }, {
  2292. closecallback: function () { }
  2293. }, {
  2294. "style": {
  2295. "height": "36px"
  2296. }
  2297. }).form; //创建窗体
  2298. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2299. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2300. })
  2301. _taskbar = {
  2302. "id": str + _formdiv.id,
  2303. "style": {
  2304. "backgroundImage": "url(/img/icon/doc.png)"
  2305. },
  2306. "name": "协同文档",
  2307. "forms": _formdiv,
  2308. "click": function () {
  2309. U.MD.D.I.openApplication(str, obj, info);
  2310. }
  2311. }
  2312. break;
  2313. case "mindNetwork": //好友打开
  2314. _iframe = $$("iframe", {
  2315. "webkitallowfullscreen": "",
  2316. "mozallowfullscreen": "",
  2317. "allowfullscreen": "",
  2318. "frameborder": "no",
  2319. "border": "0",
  2320. "scrolling ": "no",
  2321. "style": {
  2322. "cssText": "border:0; width:100%; height:100%;"
  2323. },
  2324. "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  2325. })
  2326. _box.appendChild(_iframe);
  2327. _box.appendChild(_jie);
  2328. _formdiv = new U.UF.UI.form(
  2329. "思维网格",
  2330. _box, {
  2331. "id": "mindNetwork",
  2332. "style": {
  2333. "width": "90%",
  2334. "height": "90%",
  2335. "overflow": 'hidden'
  2336. },
  2337. "onresize": function () { }
  2338. }, {
  2339. closecallback: function () { }
  2340. }, {
  2341. "style": {
  2342. "height": "36px"
  2343. }
  2344. }).form; //创建窗体
  2345. _taskbar = {
  2346. "id": str + _formdiv.id,
  2347. "style": {
  2348. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  2349. },
  2350. "name": "思维网格",
  2351. "forms": _formdiv,
  2352. "click": function () {
  2353. U.MD.D.I.openApplication(str, obj, info);
  2354. }
  2355. }
  2356. break;
  2357. case "courseDesign":
  2358. _iframe = $$("iframe", {
  2359. "webkitallowfullscreen": "",
  2360. "mozallowfullscreen": "",
  2361. "allowfullscreen": "",
  2362. "frameborder": "no",
  2363. "border": "0",
  2364. "scrolling ": "no",
  2365. "style": {
  2366. "cssText": "border:0; width:100%; height:100%;"
  2367. },
  2368. "src": "/course-design-vue"
  2369. })
  2370. _box.appendChild(_iframe);
  2371. _box.appendChild(_jie);
  2372. _formdiv = new U.UF.UI.form(
  2373. "课程设计",
  2374. _box, {
  2375. "id": "courseDesign",
  2376. "style": {
  2377. "width": "90%",
  2378. "height": "90%",
  2379. "overflow": 'hidden'
  2380. },
  2381. "onresize": function () { }
  2382. }, {
  2383. closecallback: function () { }
  2384. }, {
  2385. "style": {
  2386. "height": "36px"
  2387. }
  2388. }).form; //创建窗体
  2389. _taskbar = {
  2390. "id": str + _formdiv.id,
  2391. "style": {
  2392. "backgroundImage": "url(/img/icon/courseDesign.png)"
  2393. },
  2394. "name": "课程设计",
  2395. "forms": _formdiv,
  2396. "click": function () {
  2397. U.MD.D.I.openApplication(str, obj, info);
  2398. }
  2399. }
  2400. break;
  2401. }
  2402. const script1 = document.createElement("script");
  2403. script1.type = "text/javascript";
  2404. script1.src =
  2405. "https://pbl.cocorobo.cn/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  2406. const script2 = document.createElement("script");
  2407. script2.type = "text/javascript";
  2408. script2.src =
  2409. "https://pbl.cocorobo.cn/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  2410. const script3 = document.createElement("script");
  2411. script3.type = "text/javascript";
  2412. script3.charset = "UTF-8";
  2413. script3.src = "https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";
  2414. const script4 = document.createElement("script");
  2415. script4.type = "text/javascript";
  2416. script4.src = "https://pbl.cocorobo.cn/pbl-student-table/dist/js/jietu2.js";
  2417. if (_iframe) {
  2418. if (str == 'doc') {
  2419. U.UF.DL.iframeLoad(_iframe, function () {
  2420. _iframe.contentWindow.U.MD.O.W.load();
  2421. _iframe.contentWindow.document.body.appendChild(script1);
  2422. _iframe.contentWindow.document.body.appendChild(script2);
  2423. // _iframe.contentWindow.document.body.appendChild(script3);
  2424. _iframe.contentWindow.document.body.appendChild(script4);
  2425. })
  2426. } else if (str == 'courseDesign') {
  2427. U.UF.DL.iframeLoad(_iframe, function () {
  2428. // _iframe.contentWindow.U.MD.O.W.load();
  2429. // _iframe.contentWindow.document.body.appendChild(script1);
  2430. _iframe.contentWindow.document.body.appendChild(script2);
  2431. _iframe.contentWindow.document.body.appendChild(script4);
  2432. })
  2433. } else {
  2434. _iframe.onload = () => {
  2435. _iframe.contentWindow.document.body.appendChild(script1);
  2436. _iframe.contentWindow.document.body.appendChild(script2);
  2437. // _iframe.contentWindow.document.body.appendChild(script3);
  2438. _iframe.contentWindow.document.body.appendChild(script4);
  2439. };
  2440. }
  2441. _jie.onclick = () => {
  2442. _loading.style.display = 'flex'
  2443. console.log(_loading);
  2444. var _ajs = _iframe.contentWindow.document.createElement("script");
  2445. _ajs.type = "text/javascript";
  2446. _ajs.innerHTML =
  2447. // 'console.log(' + _loading + ');\n' +
  2448. 'var _js = document.createElement("script");\n' +
  2449. '_js.type="text/javascript";\n' +
  2450. '_js.charset="UTF-8";\n' +
  2451. '_js.src="https://cloud.cocorobo.cn/js/Common/html2canvas.min.js";\n' +
  2452. "_js.onload = function(){\n" +
  2453. ' var a = document.getElementsByTagName("img")\n' +
  2454. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  2455. " html2canvas(document.body,{allowTaint: true,useCORS: true}).then(canvas => {\n" +
  2456. '  var base64Url = canvas.toDataURL("image/png");\n' +
  2457. 'var base64 = "<img src=" + base64Url + " />"\n' +
  2458. 'var file = dataURLtoFile_shishi(base64Url, "截图")\n' +
  2459. "beforeUpload_shishi(file," +
  2460. "'" +
  2461. _userid +
  2462. "'" +
  2463. ", " +
  2464. "'" +
  2465. cid +
  2466. "'" +
  2467. ", " +
  2468. "'" +
  2469. stage +
  2470. "'" +
  2471. ", " +
  2472. "'" +
  2473. task +
  2474. "'" +
  2475. ", " +
  2476. "'" +
  2477. tool +
  2478. "'" +
  2479. ", " +
  2480. "'" +
  2481. str + '_loadLi' +
  2482. "'" +
  2483. ")\n" +
  2484. " });\n" +
  2485. "}\n" +
  2486. "document.head.appendChild(_js);\n";
  2487. _iframe.contentWindow.document.head.appendChild(_ajs);
  2488. }
  2489. }
  2490. //U.MD.D.I.openClick(str);
  2491. //如果有任务栏信息
  2492. if (_taskbar) {
  2493. U.MD.D.T.taskbar(_taskbar); //创建任务处理
  2494. }
  2495. }