From 677c4cdf6417fbb42d6ada042476b2800a15b7b0 Mon Sep 17 00:00:00 2001
From: yangdj <18302547071@163>
Date: Tue, 11 Jul 2023 13:05:53 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=AF=BE=E7=A8=8B=E7=BB=91?=
=?UTF-8?q?=E5=AE=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../jlw/resourcesApplicationCourse/index.js | 19 ++++---
.../jlw/resourcesApplicationCourse/index.html | 49 +++++++++++--------
2 files changed, 42 insertions(+), 26 deletions(-)
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 @@
-->