|
@@ -7564,6 +7564,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
|
|
|
_taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/pblCourse.png)" }, "name": "学生PBL", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
|
|
|
break;
|
|
|
case "appStore":
|
|
|
+ U.MD.D.addOp('','cocoflowOpen','')
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"CocoFlow",
|
|
|
$$("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": "//beta.cloud.cocorobo.cn/aigpt/#/WorkSpace?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
|
|
@@ -10983,4 +10984,12 @@ U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe)
|
|
|
}
|
|
|
}
|
|
|
}, [], { "type": "POST", "withCredentials": true });
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+U.MD.D.addOp = function(text,type,time){
|
|
|
+ var userInfo = US.userInfo;
|
|
|
+ if(Object.keys(userInfo).length !== 0){
|
|
|
+ U.A.Request(US.Config.pbl + "addOperationTimeT", [userInfo.userid,text,type,time], function (res) {
|
|
|
+ }, [], { "type": "POST", "withCredentials": true });
|
|
|
+ }
|
|
|
+}
|