diff --git a/web/src/main/resources/static/js/jlw/resourcesApplicationCourse/index.js b/web/src/main/resources/static/js/jlw/resourcesApplicationCourse/index.js index 37f81f88..b738d190 100644 --- a/web/src/main/resources/static/js/jlw/resourcesApplicationCourse/index.js +++ b/web/src/main/resources/static/js/jlw/resourcesApplicationCourse/index.js @@ -96,13 +96,17 @@ layui.define(['form', 'laydate', 'table', 'dropdown', 'util'], function (exports align: "center", templet: function (d) { var htm = ''; - // htm += '绑定'; - if (d.courseLabelType == "应用课程类" && $.isEmpty(d.resourcesApplicationIds)) { - htm += ''; - } else { - htm += ''; + if(d.sourceType == 1){ + htm = '查看'; + }else { + // htm += '绑定'; + if (d.courseLabelType == "应用课程类" && $.isEmpty(d.resourcesApplicationIds)) { + htm += ''; + } else { + htm += ''; + } + htm += '编辑'; } - htm += '编辑'; return htm; } } @@ -233,6 +237,9 @@ layui.define(['form', 'laydate', 'table', 'dropdown', 'util'], function (exports }); updateBindingBtnStatus(this); form.render(); + }else if (obj.event === "see") { + var url = "/jlw/teacherOpenCourseMergeCourseInfo/courseConfigureNew.do?teacherOpenCourseld="+data.courseInfoId; + Common.openDlg(url,""); } }) }; diff --git a/web/src/main/resources/templates/jlw/resourcesApplicationCourse/index.html b/web/src/main/resources/templates/jlw/resourcesApplicationCourse/index.html index a070c49c..f1df8cd6 100644 --- a/web/src/main/resources/templates/jlw/resourcesApplicationCourse/index.html +++ b/web/src/main/resources/templates/jlw/resourcesApplicationCourse/index.html @@ -35,13 +35,18 @@ @@ -54,19 +59,23 @@ -->