guozhongbo 1 ano atrás
pai
commit
5b4f60f305
3 arquivos alterados com 7 adições e 5 exclusões
  1. 1
    1
      index.html
  2. 5
    3
      js/index.js
  3. 1
    1
      sections/preface.html

+ 1
- 1
index.html Ver arquivo

@@ -4,7 +4,7 @@
4 4
     <meta charset="UTF-8" />
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
-    <title>校本PDF报告</title>
7
+    <title>班级PDF报告</title>
8 8
     <link rel="stylesheet" href="./css/common.css" />
9 9
   </head>
10 10
   <body class="root_body">

+ 5
- 3
js/index.js Ver arquivo

@@ -3,9 +3,9 @@ $(function () {
3 3
 
4 4
     var loadHtmlArr = [
5 5
       // "cover", //封面
6
-      // "preface", //前言
6
+      "preface", //前言
7 7
       // "section_1",
8
-      "section_2",
8
+      // "section_2",
9 9
       // "section_3",
10 10
       // "section_4",
11 11
       // "section_5",
@@ -44,12 +44,14 @@ $(function () {
44 44
     type: "POST",
45 45
     url: _sexam_ers_pdf,
46 46
     data: JSON.stringify({
47
-      examid: 2
47
+      examid: 2,
48
+      classid:9666
48 49
     }),
49 50
     dataType: "json",
50 51
     contentType: "application/json; charset=utf-8",
51 52
     success: function (data) {
52 53
       if (data.code === 0) {
54
+        console.log(data.obj)
53 55
         loadSectionHtml(data.obj);
54 56
       } else {
55 57
         alert(data.msg);

+ 1
- 1
sections/preface.html Ver arquivo

@@ -4,7 +4,7 @@
4 4
     <meta charset="UTF-8" />
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
-    <title>校本PDF报告-前言</title>
7
+    <title>班级PDF报告-前言</title>
8 8
     <link rel="stylesheet" href="../css/preface.css" />
9 9
   </head>
10 10
 

Carregando…
Cancelar
Salvar