|
@@ -467,6 +467,19 @@ U.MD.D.I.zhoujiaTeacherDeskIcon = [
|
|
|
{ "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
|
|
|
];
|
|
|
|
|
|
+//福田
|
|
|
+U.MD.D.I.futianTeacherDeskIcon = [
|
|
|
+ { "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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
|
|
|
+ { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
|
|
|
+ { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
+];
|
|
|
+
|
|
|
+
|
|
|
//#region 桌面初始化a
|
|
|
|
|
|
/**
|
|
@@ -578,12 +591,13 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
_GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //获取光明学校桌面图标
|
|
|
_tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon,//腾讯学生
|
|
|
_tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon,//腾讯学生
|
|
|
+ _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon,//腾讯学生
|
|
|
_tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon,//腾讯学生
|
|
|
_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'];
|
|
|
- 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'];
|
|
|
+ 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'];
|
|
|
//清楚桌面图标
|
|
|
el.innerHTML = "";
|
|
|
if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5") {
|
|
@@ -593,6 +607,7 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
{ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
|
|
|
{ "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
|
|
|
{ "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
|
|
|
+ { "Name": "教师资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
|
|
|
)
|
|
|
_easyDesktopIconInfo.push(
|
|
|
{ "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } }
|
|
@@ -778,7 +793,24 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
$$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
|
|
|
$$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
|
|
|
}
|
|
|
- } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
|
|
|
+ } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc")) {
|
|
|
+ for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
|
|
|
+ _content = $$("div", {
|
|
|
+ className: "U_MD_D_KO",
|
|
|
+ "onmousedown": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_futianTeacherDeskIconInfo[i]]),
|
|
|
+ "onclick": U.UF.C.closure(function (obj) {
|
|
|
+ //防止拖动图标即打开了桌面应用
|
|
|
+ U.MD.D.click(this, obj);
|
|
|
+ }, [_futianTeacherDeskIconInfo[i]])
|
|
|
+ }, _frag); //
|
|
|
+ _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
|
|
|
+ $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
|
|
|
+ $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
|
|
|
+ }
|
|
|
+ }else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
|
|
|
for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
|
|
|
_content = $$("div", {
|
|
|
className: "U_MD_D_KO",
|
|
@@ -3201,6 +3233,19 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
|
|
|
+ break;
|
|
|
+ case "source":
|
|
|
+ _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/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
|
|
|
+ "id": "source",
|
|
|
+ "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/source.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
+
|
|
|
break;
|
|
|
}
|
|
|
|