|
@@ -507,6 +507,11 @@ U.MD.D.I.initDesktopIcons = function (el, type) {
|
|
|
// { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } }
|
|
|
// )
|
|
|
}
|
|
|
+ if(_oid == '45facc0a-1211-11ec-80ad-005056b86db5' && _type == 2){
|
|
|
+ _studentDesktopIconInfo.push(
|
|
|
+ { "Name": "我的评价", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
|
|
|
+ )
|
|
|
+ }
|
|
|
//循环创建桌面图标
|
|
|
if (type == 1) {
|
|
|
if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
|
|
@@ -2851,7 +2856,19 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
}, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
_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); } }
|
|
|
break;
|
|
|
+ case "myReport": //好友打开
|
|
|
+ _formdiv = new U.UF.UI.form(
|
|
|
+ "我的评价",
|
|
|
+ $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
|
|
|
+ "id": "myReport",
|
|
|
+ "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
|
|
|
+ "onresize": function () { }
|
|
|
+ }, {
|
|
|
+ closecallback: function () { }
|
|
|
+ }, { "style": { "height": "36px" } }).form; //创建窗体
|
|
|
+ _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); } }
|
|
|
|
|
|
+ break;
|
|
|
}
|
|
|
|
|
|
|