|
@@ -435,7 +435,8 @@ U.MD.D.I.selectUser = function() {
|
|
|
U.MD.D.I.openInApplication = function(str, data) {
|
|
|
var _userinfo = US.userInfo, //登录用户信息
|
|
|
_userid = US.userInfo.userid, //登录用户id
|
|
|
- _oid = _userinfo.organizeid;
|
|
|
+ _oid = _userinfo.organizeid,
|
|
|
+ _type = US.userInfo.type;
|
|
|
switch (str) {
|
|
|
case "studyDetail":
|
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|
|
@@ -445,7 +446,7 @@ U.MD.D.I.openInApplication = function(str, data) {
|
|
|
} else {
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"项目详情",
|
|
|
- $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&courseId=" + data }), {
|
|
|
+ $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&courseId=" + data + "&tType=" + _type }), {
|
|
|
"id": "studyDetail",
|
|
|
"style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
@@ -602,7 +603,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
case "studentStudy":
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"学习中心",
|
|
|
- $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
|
|
|
+ $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&tType=" + _type }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
|
|
|
"id": "studentStudy",
|
|
|
"style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
@@ -852,7 +853,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"学习中心",
|
|
|
- $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
|
|
|
+ $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&tType=" + _type }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
|
|
|
"id": "study",
|
|
|
"style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|
|
@@ -1010,7 +1011,7 @@ U.MD.D.I.openApplication = function(str, obj, info) {
|
|
|
|
|
|
_formdiv = new U.UF.UI.form(
|
|
|
"学习中心",
|
|
|
- $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
|
|
|
+ $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&tType=" + _type }), { //https://pbl.cocorobo.cn/pbl-student-table/dist/#/index
|
|
|
"id": "study",
|
|
|
"style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
|
|
|
"onresize": function() {}
|