feat:去考试

pg_adapter
wangxy 9 months ago
parent afb66453a1
commit 7c65d1c4d5

@ -55,7 +55,7 @@ public class OnlineExamController extends BaseController {
@ApiOperation("去考试") @ApiOperation("去考试")
@GetMapping("/toExam/{id}") @GetMapping("/toExam/{id}")
public String add(@PathVariable("id") String id, ModelMap mmap) { public String toExam(@PathVariable("id") String id, ModelMap mmap) {
mmap.put("exam",examManager.view(id)); mmap.put("exam",examManager.view(id));
return prefix + "/toExam"; return prefix + "/toExam";
} }

@ -44,7 +44,7 @@
var options = { var options = {
uniqueId: "id", uniqueId: "id",
url: prefix + "/list", url: prefix + "/list",
createUrl: prefix + "/add", updateUrl: prefix + "/toExam/{id}",
modalName: "在线考试", modalName: "在线考试",
columns: [{ columns: [{
checkbox: false checkbox: false

Loading…
Cancel
Save