zengyicheng 2 years ago
parent
commit
9a1f37ce0b

+ 1 - 1
dist/index.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>pbl-student</title><link href=./static/css/app.12a96bf2317510f37e3f0a8bfb6f4410.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.026c632084ce19e78a6f.js></script><script type=text/javascript src=./static/js/app.df15a4c13e0ee97b833f.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>pbl-student</title><link href=./static/css/app.98c98bcf9b8e12285006da873906f9e3.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.026c632084ce19e78a6f.js></script><script type=text/javascript src=./static/js/app.b4dc8cf46783c6f7b8b0.js></script></body></html><script>document.domain = "cocorobo.cn"</script>

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


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


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


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


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


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


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 20 - 20
src/components/courseDetail.vue

@@ -187,7 +187,7 @@ export default {
       this.$router.push(path);
     },
     addUserRate(i) {
-      var suid = this.userid;
+      // var suid = this.userid;
       // if (
       //   JSON.parse(this.courseDetail.course_student).indexOf(suid) == -1 &&
       //   JSON.parse(this.courseDetail.userid) != suid
@@ -195,25 +195,25 @@ export default {
       //   this.$message.error("你没有该权限");
       //   return;
       // }
-      var a =
-        this.courseDetail.course_student != ""
-          ? JSON.parse(this.courseDetail.course_student)
-          : "";
-      if (this.courseDetail.userid != suid) {
-        if (this.userinfo.type == 2) {
-          if (a != "") {
-            if (
-              JSON.parse(this.courseDetail.course_student).indexOf(suid) == -1
-            ) {
-              this.$message.error("你没有该权限");
-              return;
-            }
-          } else {
-            this.$message.error("暂无项目学员,请联系老师添加项目学员!");
-            return;
-          }
-        }
-      }
+      // var a =
+      //   this.courseDetail.course_student != ""
+      //     ? JSON.parse(this.courseDetail.course_student)
+      //     : "";
+      // if (this.courseDetail.userid != suid) {
+      //   if (this.userinfo.type == 2) {
+      //     if (a != "") {
+      //       if (
+      //         JSON.parse(this.courseDetail.course_student).indexOf(suid) == -1
+      //       ) {
+      //         this.$message.error("你没有该权限");
+      //         return;
+      //       }
+      //     } else {
+      //       this.$message.error("暂无项目学员,请联系老师添加项目学员!");
+      //       return;
+      //     }
+      //   }
+      // }
       let params = {
         uid: this.userid,
         cid: this.id,

+ 11 - 3
src/components/study.vue

@@ -650,7 +650,15 @@
                     </div>
                     <div class="tooldetail" v-if="tool.toolDetail != ''">
                       <!-- <div class="toolTitle">工具描述</div> -->
-                      <div style="line-height: 35px; width: 85%; padding: 20px">
+                      <div
+                        style="
+                          margin: 0 12px;
+                          background: #f7f7f7;
+                          padding-left: 30px;
+                          height: 110px;
+                          width: 100%;
+                        "
+                      >
                         {{ tool.toolDetail }}
                       </div>
                     </div>
@@ -697,7 +705,7 @@
                       未提交
                     </div>
                     <div class="noWorksS">
-                      <div v-for="item in 12" :key="item" class="noWorksName">
+                      <div v-for="item in 15" :key="item" class="noWorksName">
                         李赫
                       </div>
                     </div>
@@ -3084,6 +3092,6 @@ export default {
   text-align: center;
   line-height: 30px;
   border-radius: 5px;
-  margin: 10px 15px;
+  margin: 10px 15px 10px 0;
 }
 </style>

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