Browse Source

教师端打包

zengyicheng 2 years ago
parent
commit
697d952209

+ 1 - 1
dist/index.html

@@ -25,4 +25,4 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.e703f14118d81a74bc755c71e3e0733c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.fed1de90e0941b3846db.js></script><script type=text/javascript src=./static/js/vendor.779ee1bbeec2c196af1e.js></script><script type=text/javascript src=./static/js/app.4a51d8fdb16bff0a4f1f.js></script></body></html>
+    }</style><link href=./static/css/app.49d8bab3a73551a76f0edc9397228f9f.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.fed1de90e0941b3846db.js></script><script type=text/javascript src=./static/js/vendor.779ee1bbeec2c196af1e.js></script><script type=text/javascript src=./static/js/app.b60d9e9a34d6de8ce364.js></script></body></html>

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.49d8bab3a73551a76f0edc9397228f9f.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.49d8bab3a73551a76f0edc9397228f9f.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.e703f14118d81a74bc755c71e3e0733c.css.map


BIN
dist/static/img/tu1.3d2dd85.png


BIN
dist/static/img/tu2.bb565b4.png


BIN
dist/static/img/tu3.4bcc4f5.png


BIN
dist/static/img/tu4.433d92a.png


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.4a51d8fdb16bff0a4f1f.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.b60d9e9a34d6de8ce364.js


+ 37 - 6
src/components/pages/addCourse.vue

@@ -1406,6 +1406,7 @@ export default {
           this.steps++;
         } else {
           this.$message.error("请将信息填写完整");
+          return;
         }
       } else if (this.steps == 2) {
         if (this.templateC.id == "" || this.templateC.id == undefined) {
@@ -1417,11 +1418,39 @@ export default {
         this.steps++;
       } else if (this.steps == 3) {
         if (this.cid == "" || this.cid == undefined) {
-          this.addWork();
-          this.steps++;
+          if (
+            this.unitJson[this.unitIndex].dyName == "" || 
+            this.unitJson[this.unitIndex].task == "" ||
+            this.unitJson[this.unitIndex].taskDetail == "" ||
+            this.unitJson[this.unitIndex].toolText == "" ||
+            this.unitJson[this.unitIndex].chapterInfo[0].toolChoose.length == 0 ||
+            this.unitJson[this.unitIndex].chapterInfo[0].homeworkList.length == 0 ||
+            this.unitJson[this.unitIndex].chapterInfo[0].chapterData.length == 0 ||
+            this.unitJson[this.unitIndex].chapterInfo[0].chapterData.length == 0
+          ) {
+            this.$message.error("请将信息填写完整");
+            return;
+          } else {
+            this.addWork();
+            this.steps++;
+          }
         } else {
-          this.updateWork();
-          this.steps++;
+          if (
+            this.unitJson[this.unitIndex].dyName == "" ||
+            this.unitJson[this.unitIndex].task == "" ||
+            this.unitJson[this.unitIndex].taskDetail == "" ||
+            this.unitJson[this.unitIndex].toolText == "" ||
+            this.unitJson[this.unitIndex].chapterInfo[0].toolChoose.length == 0 ||
+            this.unitJson[this.unitIndex].chapterInfo[0].homeworkList.length == 0 ||
+            this.unitJson[this.unitIndex].chapterInfo[0].chapterData.length == 0 ||
+            this.unitJson[this.unitIndex].chapterInfo[0].chapterData.length == 0
+          ) {
+            this.$message.error("请将信息填写完整");
+            return;
+          } else {
+            this.updateWork();
+            this.steps++;
+          }
         }
       }
     },
@@ -2199,7 +2228,8 @@ export default {
 
 .pb_content {
   /* background: #fff; */
-  height: 100%;
+  /* height: 100%; */
+  height: auto !important;
   margin: 20px 20px 20px 20px;
 }
 
@@ -2367,6 +2397,7 @@ export default {
   display: flex;
   justify-content: space-evenly;
   margin: 20px 0 25px 0;
+  padding-bottom: 20px;
 }
 
 .info_btn,
@@ -3341,7 +3372,7 @@ ol {
   align-items: flex-start;
   min-width: 685px;
 }
-.toolSort >div{
+.toolSort > div {
   margin-right: 30px;
 }
 .tools {

Some files were not shown because too many files changed in this diff