diff --git a/web/src/main/java/com/ibeetl/jlw/web/ResourcesApplicationCourseController.java b/web/src/main/java/com/ibeetl/jlw/web/ResourcesApplicationCourseController.java index 45cff63e..c647ab67 100644 --- a/web/src/main/java/com/ibeetl/jlw/web/ResourcesApplicationCourseController.java +++ b/web/src/main/java/com/ibeetl/jlw/web/ResourcesApplicationCourseController.java @@ -62,11 +62,19 @@ public class ResourcesApplicationCourseController{ return view; } + /** + *@author 姚丹 + *@data 2022/10/13 + */ @GetMapping(MODEL + "/add.do") @Function("resourcesApplicationCourse.add") @ResponseBody - public ModelAndView add() { + public ModelAndView add(Long resourcesApplicationCourseId) { ModelAndView view = new ModelAndView("/jlw/resourcesApplicationCourse/add.html"); + if(resourcesApplicationCourseId != null){ + ResourcesApplicationCourse resourcesApplicationCourse = resourcesApplicationCourseService.queryById(resourcesApplicationCourseId); + view.addObject("resourcesApplicationCourse", resourcesApplicationCourse); + } return view; } diff --git a/web/src/main/java/com/ibeetl/jlw/web/query/ResourcesApplicationCourseQuery.java b/web/src/main/java/com/ibeetl/jlw/web/query/ResourcesApplicationCourseQuery.java index 422871b6..ec874043 100644 --- a/web/src/main/java/com/ibeetl/jlw/web/query/ResourcesApplicationCourseQuery.java +++ b/web/src/main/java/com/ibeetl/jlw/web/query/ResourcesApplicationCourseQuery.java @@ -8,11 +8,11 @@ import com.ibeetl.jlw.entity.ResourcesApplicationCourse; *ResourcesApplicationCourse查询 */ public class ResourcesApplicationCourseQuery extends PageParam { - @Query(name = "ID", display = true) + @Query(name = "ID", display = false) private Long resourcesApplicationCourseId; - @Query(name = "应用管理ID", display = true) + @Query(name = "应用管理ID", display = false) private Long resourcesApplicationId; - @Query(name = "课程配置ID", display = true) + @Query(name = "课程配置ID", display = false) private Long courseInfoId; 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 2c4cc7b2..fb8e95aa 100644 --- a/web/src/main/resources/static/js/jlw/resourcesApplicationCourse/index.js +++ b/web/src/main/resources/static/js/jlw/resourcesApplicationCourse/index.js @@ -152,7 +152,6 @@ layui.define(['form', 'laydate', 'table'], function (exports) { }, initTableTool: table.on('tool(resourcesApplicationCourseTable)', function (obj) { var data = obj.data; if (obj.event === 'edit') { - console.log(data.resourcesApplicationCourseId) var url = "/jlw/resourcesApplicationCourse/add.do?resourcesApplicationCourseId="+data.resourcesApplicationCourseId; Common.openDlg(url,""); }else if(obj.event === "del"){ diff --git a/web/src/main/resources/static/js/jlw/student/index.js b/web/src/main/resources/static/js/jlw/student/index.js index 11d33bdb..2141a1c8 100644 --- a/web/src/main/resources/static/js/jlw/student/index.js +++ b/web/src/main/resources/static/js/jlw/student/index.js @@ -64,10 +64,15 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) { field : 'studentWeixinInfo', title : '微信号',align: "center" }, + { + + field : 'undefinedYD', + title : '账号来源',align: "center" + }, { field : 'addTime', - title : '注册时间',align: "center" + title : '创建时间',align: "center" }, { field : 'userId',title : '操作',align:"center",fixed: "right", width: 200, templet: function (d) { diff --git a/web/src/main/resources/templates/jlw/resourcesApplicationCourse/index.html b/web/src/main/resources/templates/jlw/resourcesApplicationCourse/index.html index 29a19249..bb98c77a 100644 --- a/web/src/main/resources/templates/jlw/resourcesApplicationCourse/index.html +++ b/web/src/main/resources/templates/jlw/resourcesApplicationCourse/index.html @@ -1,19 +1,35 @@ + +
+ +
+ +
+
-
+