|
@@ -1131,6 +1131,8 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
{ "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
|
|
|
{ "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
{ "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
|
|
|
+ { "Name": "评测管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
|
|
|
+ { "Name": "评测中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
|
|
|
)
|
|
|
}
|
|
|
|
|
@@ -4446,6 +4448,32 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教学资源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
|
|
+ break;
|
|
|
+ case "testTeacher":
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "评测管理",
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
|
|
|
+ "id": "testTeacher",
|
|
|
+ "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+
|
|
|
+ break;
|
|
|
+ case "testStudent":
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "评测中心",
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
|
|
|
+ "id": "testStudent",
|
|
|
+ "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "评测管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+
|
|
|
break;
|
|
|
}
|
|
|
|