|
@@ -5394,6 +5394,28 @@ U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
|
|
|
if (_type == 4) {
|
|
|
tType = 4
|
|
|
}
|
|
|
+ let opArray = [ "project", "study", "appStore", "futureClass", "evaluate", "student", "testTeacher", "testStudent", "testTeacherSies", "testStudentSies", "studyDetail"]
|
|
|
+ if(opArray.includes(str)){
|
|
|
+ let _str = str
|
|
|
+ if(str == 'appStore'){
|
|
|
+ _str = "cocoFlow"
|
|
|
+ }else if(str == "futureClass"){
|
|
|
+ _str = "cocoNote"
|
|
|
+ }else if(str == "testTeacher" || str == "testTeacherSies"){
|
|
|
+ _str = "IntelligentForm"
|
|
|
+ }else if(str == "testStudent" || str == "testStudentSies"){
|
|
|
+ _str = "TeacherCenter"
|
|
|
+ }
|
|
|
+ try {
|
|
|
+ if (data) {
|
|
|
+ U.MD.D.addOp3('1', "", { type: _str+'Open', cid: data }, "success")
|
|
|
+ }else {
|
|
|
+ U.MD.D.addOp3('1', "", { type: _str+'Open' }, "success")
|
|
|
+ }
|
|
|
+ } catch (error) {
|
|
|
+ console.log(error);
|
|
|
+ }
|
|
|
+ }
|
|
|
switch (str) {
|
|
|
case "studyDetailNT": //无终端模式
|
|
|
if (!_userinfo || Object.keys(_userinfo).length === 0) {
|