lsc 2 years ago
parent
commit
aa33de373c

+ 1 - 1
dist/index.html

@@ -18,4 +18,4 @@
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.43b6c8edc03ffff6ae329c796d43ef10.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.81bf0c02c368f320343c.js></script><script type=text/javascript src=./static/js/app.4a8c73efc8242c6ab190.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+    }</style><link href=./static/css/app.a98cc014f75f152506e16ecea891d498.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.e6a57480c9ee39e1cbe8.js></script><script type=text/javascript src=./static/js/app.fcccba8586516c2edbd3.js></script></body></html><script>document.domain = "cocorobo.cn"</script>

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


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


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


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


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


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


+ 3 - 1
src/common/axios.config.js

@@ -15,7 +15,9 @@ axios.interceptors.request.use((config) => {
             'Content-Type': 'application/x-www-form-urlencoded'
         }
     }
-    if (config.method === 'post') {
+    if (config.data && config.data[0].post == '1' && config.method === 'post') {
+        config.data = 'mode=' + (Object.values(config.data[0]).join(','))//序列化post 参数
+    } else if(config.method === 'post') {
         config.data = qs.stringify(config.data)//序列化post 参数
     }
     return config;

+ 3 - 3
src/components/courseDetail.vue

@@ -218,9 +218,9 @@ export default {
         .then((res) => {
           console.log(res.data);
           this.updateVc();
-          if (this.tType == 1) {
+          if (this.tType == 1 || this.tType == 2) {
             this.goTo(
-              "/study?type=" +
+              "/studyStudent?type=" +
                 i +
                 "&courseId=" +
                 this.id +
@@ -237,7 +237,7 @@ export default {
             );
           } else {
             this.goTo(
-              "/studyStudent?type=" +
+              "/study?type=" +
                 i +
                 "&courseId=" +
                 this.id +

+ 18 - 22
src/components/studyStudent.vue

@@ -507,23 +507,15 @@
                 </div>
               </div>
               <div
-                  style="padding: 0px 30px"
-                  v-if="
-                    showType == 2 ||
-                    showType == 3
-                  "
+                style="padding: 0px 30px"
+                v-if="showType == 2 || showType == 3"
+              >
+                <el-button
+                  type="primary"
+                  @click="checkFileFull(showType, pptImgUrl1)"
+                  >查看全屏</el-button
                 >
-                  <el-button
-                    type="primary"
-                    @click="
-                      checkFileFull(
-                        showType,
-                        pptImgUrl1
-                      )
-                    "
-                    >查看全屏</el-button
-                  >
-                </div>
+              </div>
             </div>
           </div>
 
@@ -1675,7 +1667,7 @@
       :before-close="handleClose"
       class="dialog_diy full_diy"
     >
-      <div style="height:100%">
+      <div style="height: 100%">
         <iframe
           v-if="fulltype == 2"
           style="width: 100%; height: 100%; border: none"
@@ -3384,10 +3376,13 @@ export default {
   .navText {
     width: 120px !important;
   }
-  .evaCss{
+  .evaCss {
     flex-direction: column !important;
     align-items: center !important;
   }
+  .textTitle >>> .el-form-item__label {
+    width: 150px !important;
+  }
 }
 .body_student {
   width: 77%;
@@ -4320,7 +4315,7 @@ export default {
   justify-content: flex-start;
   padding: 0 10px;
   width: 100%;
-  box-sizing:border-box;
+  box-sizing: border-box;
 }
 .navTaskname {
   white-space: nowrap;
@@ -4863,14 +4858,15 @@ export default {
   width: 100%;
   height: 100%;
 }
-.fullStyle >>> .el-dialog__body{
+.fullStyle >>> .el-dialog__body {
   height: 100% !important;
 }
-.fullStyle >>> .el-dialog,.fullStyle {
+.fullStyle >>> .el-dialog,
+.fullStyle {
   width: 100% !important;
   max-width: 100% !important;
   height: 100% !important;
-  margin:0 !important;
+  margin: 0 !important;
 }
 
 .full_diy >>> .el-dialog {

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