DeskTop.js 157 KB

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