|
@@ -219,7 +219,7 @@ U.MD.D.I.orgStemDeskIcon = [
|
|
|
{ "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": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
|
|
|
- { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
|
|
|
+ { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
|
|
|
{ "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
|
|
|
];
|
|
|
|
|
@@ -1276,27 +1276,27 @@ U.MD.D.I.lqwmsgzsStudentDeskIcon = [
|
|
|
{ "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
];
|
|
|
|
|
|
-//盐田区幼儿园
|
|
|
+//鹽田區幼兒園
|
|
|
U.MD.D.I.ytyTeacherDeskIcon = [
|
|
|
- { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
|
|
|
- { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
|
- { "Name": "课程评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
|
- { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
|
- { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
|
|
|
+ { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
|
|
|
+ { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
|
+ { "Name": "課程評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
|
+ { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
|
+ { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
|
|
|
{ "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
|
|
|
{ "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
|
|
|
{ "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
|
|
|
- { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
- { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
|
|
|
- { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
|
|
|
- { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
|
|
|
+ { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
|
|
|
+ { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
|
|
|
+ { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
|
|
|
+ { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
|
|
|
];
|
|
|
|
|
|
-//盐田区幼儿园
|
|
|
+//鹽田區幼兒園
|
|
|
U.MD.D.I.ytyStudentDeskIcon = [
|
|
|
- { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
|
- { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
|
- { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
|
|
|
+ { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
|
|
|
+ { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
|
+ { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
|
|
|
];
|
|
|
|
|
|
|
|
@@ -1453,14 +1453,14 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
|
|
|
_lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
|
|
|
_lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
|
|
|
- _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
|
|
|
- _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
|
|
|
- _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
|
|
|
- _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
|
|
|
- _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
|
|
|
+ _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 鹽田幼兒園
|
|
|
+ _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 鹽田幼兒園
|
|
|
+ _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
|
|
|
+ _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
|
|
|
+ _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //網絡夏令營
|
|
|
var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
|
|
|
var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
|
|
|
- //清楚桌面图标
|
|
|
+ //清楚桌面圖標
|
|
|
el.innerHTML = "";
|
|
|
if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
|
|
|
_teacherDesktopIconInfo.push(
|
|
@@ -1483,7 +1483,7 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
{ "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
|
|
|
{ "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
|
|
|
{ "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
|
|
|
- { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
|
|
|
+ { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
|
|
|
)
|
|
|
}
|
|
|
// if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
|
|
@@ -1518,7 +1518,7 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_studentDesktopIconInfo.push(
|
|
|
)
|
|
|
}
|
|
|
- //麒麟二中 和 民新小学
|
|
|
+ //麒麟二中 和 民新小學
|
|
|
if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
|
|
|
_teacherDesktopIconInfo.push(
|
|
|
)
|
|
@@ -1526,8 +1526,8 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
|
|
|
if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
|
|
|
_teacherDesktopIconInfo.push(
|
|
|
- { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
|
|
|
- { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.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)" } },
|
|
|
{ "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
|
|
|
)
|
|
|
}
|
|
@@ -1619,11 +1619,11 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
|
- //防止拖动图标即打开了桌面应用
|
|
|
+ //防止拖動圖標即打開了桌面應用
|
|
|
U.MD.D.click(this, obj);
|
|
|
}, [_ytyStudentDeskIconInfo[i]]),
|
|
|
"onclick": U.UF.C.closure(function (obj) {
|
|
|
- //防止拖动图标即打开了桌面应用
|
|
|
+ //防止拖動圖標即打開了桌面應用
|
|
|
U.MD.D.click(this, obj);
|
|
|
}, [_ytyStudentDeskIconInfo[i]])
|
|
|
}, _frag); //
|
|
@@ -2112,11 +2112,11 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
|
"onmousedown": U.UF.C.closure(function (obj) {
|
|
|
- //防止拖动图标即打开了桌面应用
|
|
|
+ //防止拖動圖標即打開了桌面應用
|
|
|
U.MD.D.click(this, obj);
|
|
|
}, [_ytyTeacherDeskIconInfo[i]]),
|
|
|
"onclick": U.UF.C.closure(function (obj) {
|
|
|
- //防止拖动图标即打开了桌面应用
|
|
|
+ //防止拖動圖標即打開了桌面應用
|
|
|
U.MD.D.click(this, obj);
|
|
|
}, [_ytyTeacherDeskIconInfo[i]])
|
|
|
}, _frag); //
|
|
@@ -2768,12 +2768,12 @@ U.MD.D.iconPostion = function (childs, top, left) {
|
|
|
for (i = 0; i < childs.length; i++) {
|
|
|
//如果豎排top超過了範圍處理
|
|
|
if (top + 95 > US.height - 10) {
|
|
|
- //left超過了頁面範圍處理,則向上重叠打印處理
|
|
|
+ //left超過了頁面範圍處理,則向上重疊打印處理
|
|
|
if ((left + 180) > US.width) {
|
|
|
top -= 110;
|
|
|
left -= 90;
|
|
|
}
|
|
|
- //沒有超過範圍,那麽left+90添加到下一個豎排打印
|
|
|
+ //沒有超過範圍,那麼left+90添加到下一個豎排打印
|
|
|
else {
|
|
|
left += 90;
|
|
|
top = 15;
|
|
@@ -2806,12 +2806,12 @@ U.MD.D.iconPostion2 = function (childs, top, left) {
|
|
|
for (i = 0; i < childs.length; i++) {
|
|
|
//如果豎排top超過了範圍處理
|
|
|
if (left + 150 > US.width - 10) {
|
|
|
- //left超過了頁面範圍處理,則向上重叠打印處理
|
|
|
+ //left超過了頁面範圍處理,則向上重疊打印處理
|
|
|
if ((top + 180) > US.Height) {
|
|
|
top -= 150;
|
|
|
left -= 150;
|
|
|
}
|
|
|
- //沒有超過範圍,那麽left+90添加到下一個豎排打印
|
|
|
+ //沒有超過範圍,那麼left+90添加到下一個豎排打印
|
|
|
else {
|
|
|
top += 150;
|
|
|
left = ol;
|
|
@@ -2890,25 +2890,25 @@ U.MD.D.iconUp = function (el) {
|
|
|
_childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
|
|
|
_positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
|
|
|
if (_positioninfo["OT"] > 15) {
|
|
|
- //網狀的形式定位,如果差超過了55,那麽向下定位,否則向上定位
|
|
|
+ //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
|
|
|
_margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
|
|
|
_top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
|
|
|
}
|
|
|
if (_positioninfo["OL"] > 20) {
|
|
|
- //網狀的形式定位,如果差超過了90,那麽向右定位,否則向左定位
|
|
|
+ //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
|
|
|
_margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
|
|
|
_left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
|
|
|
}
|
|
|
- //while循環判斷麽一個重叠的元素
|
|
|
+ //while循環判斷麼一個重疊的元素
|
|
|
do {
|
|
|
- _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重叠的元素向下定位
|
|
|
+ _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
|
|
|
_top = _positioninfo[0] + 95; //得到定位後的top
|
|
|
_left = _positioninfo[1]; //得到定位後的left
|
|
|
} while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
-* 判斷拖動後圖標是否重叠
|
|
|
+* 判斷拖動後圖標是否重疊
|
|
|
*
|
|
|
* @param {element} 拖動的元素
|
|
|
* @param {element} 桌面所有的元素
|
|
@@ -2920,7 +2920,7 @@ U.MD.D.iconUp = function (el) {
|
|
|
U.MD.D.isOverlap = function (el, childs, postionarray) {
|
|
|
//循環所有的圖標
|
|
|
for (var i = 0; i < childs.length; i++) {
|
|
|
- //判斷有沒有和該圖標誒子重叠的元素
|
|
|
+ //判斷有沒有和該圖標誒子重疊的元素
|
|
|
if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
|
|
|
return childs[i]; //如果有返回
|
|
|
}
|
|
@@ -3006,7 +3006,7 @@ window.addEventListener('message', function (e) { // 監聽 message 事件
|
|
|
U.UF.F.windowZooming(_formel);
|
|
|
} else if (e.data.allScreen && e.data.allScreen == "6") {
|
|
|
// var _formel = document.getElementById("study");
|
|
|
- //如果最大化了,那麽就把他縮小
|
|
|
+ //如果最大化了,那麼就把他縮小
|
|
|
// if (_formel.ismaximize) {
|
|
|
// return;
|
|
|
// }
|
|
@@ -3014,7 +3014,7 @@ window.addEventListener('message', function (e) { // 監聽 message 事件
|
|
|
// U.UF.F.topWindow(_formel);
|
|
|
} else if (e.data.allScreen && e.data.allScreen == "4") {
|
|
|
// var _formel = document.getElementById("studyDetail");
|
|
|
- //如果最大化了,那麽就把他縮小
|
|
|
+ //如果最大化了,那麼就把他縮小
|
|
|
// if (_formel.ismaximize) {
|
|
|
// return;
|
|
|
// }
|
|
@@ -3257,15 +3257,15 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
}, 2000);
|
|
|
} else {
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
- "培训详情",
|
|
|
+ "培訓詳情",
|
|
|
$$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
|
|
|
"id": "studyDetailTrain",
|
|
|
"style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
"onresize": function () { }
|
|
|
}, {
|
|
|
closecallback: function () { }
|
|
|
- }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
- _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); } }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
+ _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); } }
|
|
|
break;
|
|
|
}
|
|
|
case "studyDetailS":
|
|
@@ -3419,15 +3419,15 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
}, 2000);
|
|
|
} else {
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
- "课程管理",
|
|
|
+ "課程管理",
|
|
|
$$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
|
|
|
"id": "openCourseUpdate",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function () { }
|
|
|
}, {
|
|
|
closecallback: function () { }
|
|
|
- }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
- _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); } }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
+ _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); } }
|
|
|
break;
|
|
|
}
|
|
|
case "openCourseEUpdate":
|
|
@@ -3437,15 +3437,15 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
}, 2000);
|
|
|
} else {
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
- "课程管理",
|
|
|
+ "課程管理",
|
|
|
$$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
|
|
|
"id": "openCourseUpdate",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function () { }
|
|
|
}, {
|
|
|
closecallback: function () { }
|
|
|
- }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
- _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); } }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
+ _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); } }
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
@@ -5266,7 +5266,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
// window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
|
|
|
|
|
|
break;
|
|
|
- case "aiCourseResource": //人工智能窗体
|
|
|
+ case "aiCourseResource": //人工智能窗體
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
false,
|
|
|
$$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/index.html" + window.location.search }), {
|
|
@@ -5276,45 +5276,45 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
"isdrag": false,
|
|
|
}, {
|
|
|
closecallback: function () { }
|
|
|
- }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
_taskbar = ''
|
|
|
|
|
|
break;
|
|
|
- case "szdjgCocooroboX": //图形化编程
|
|
|
+ case "szdjgCocooroboX": //圖形化編程
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
- "图形化编程",
|
|
|
+ "圖形化編程",
|
|
|
$$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
|
|
|
"id": "szdjgCocooroboX",
|
|
|
"style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
"onresize": function () { }
|
|
|
}, {
|
|
|
closecallback: function () { }
|
|
|
- }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
_taskbar = ''
|
|
|
break;
|
|
|
- case "szdjgPython": //python编程
|
|
|
+ case "szdjgPython": //python編程
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
- "python编程",
|
|
|
+ "python編程",
|
|
|
$$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/python/index.html" }), {
|
|
|
"id": "szdjgPython",
|
|
|
"style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
|
|
|
"onresize": function () { }
|
|
|
}, {
|
|
|
closecallback: function () { }
|
|
|
- }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
_taskbar = ''
|
|
|
break;
|
|
|
case "Record":
|
|
|
_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/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
"id": "Record",
|
|
|
"style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function () { }
|
|
|
}, {
|
|
|
closecallback: function () { }
|
|
|
- }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
- _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "班级管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //創建窗體
|
|
|
+ _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "班級管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
break;
|
|
|
}
|
|
|
|