lsc 5 月之前
父節點
當前提交
9b0e8443ea

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.f871644debbe960182cc72562af7bf83.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.c046dd5e92c8da101466.js></script><script type=text/javascript src=./static/js/app.16d46bf2bad512d49a97.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.7a0cb1561e75ad229de627f9ba86ff60.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3eade43afd174522bb8a.js></script><script type=text/javascript src=./static/js/vendor.5e9ad9b4b6b6930254c8.js></script><script type=text/javascript src=./static/js/app.c343f868dae8d6eb89e5.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/app.7a0cb1561e75ad229de627f9ba86ff60.css


文件差異過大導致無法顯示
+ 0 - 0
dist/static/css/app.7a0cb1561e75ad229de627f9ba86ff60.css.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/0.4f3b05586c3acc102a54.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/0.7da288988865a9378b49.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/0.7da288988865a9378b49.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.c343f868dae8d6eb89e5.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.c343f868dae8d6eb89e5.js.map


+ 2 - 2
dist/static/js/manifest.161e82026ac2ae03ab6f.js → dist/static/js/manifest.3eade43afd174522bb8a.js

@@ -1,2 +1,2 @@
-!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);l.length;)l.shift()();if(a)for(s=0;s<a.length;s++)f=o(o.s=a[s]);return f};var r={},t={6:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"4f3b05586c3acc102a54",1:"14e8e8c7e44fc858e4a6",2:"94e1427bfc7ef0b4c685",3:"3a9f53a78da16650e6b8"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
-//# sourceMappingURL=manifest.161e82026ac2ae03ab6f.js.map
+!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var i,u,f,s=0,l=[];s<r.length;s++)u=r[s],t[u]&&l.push(t[u][0]),t[u]=0;for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i]);for(n&&n(r,a,c);l.length;)l.shift()();if(c)for(s=0;s<c.length;s++)f=o(o.s=c[s]);return f};var r={},t={6:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+e+"."+{0:"7da288988865a9378b49",1:"14e8e8c7e44fc858e4a6",2:"94e1427bfc7ef0b4c685",3:"3a9f53a78da16650e6b8"}[e]+".js";var i=setTimeout(u,12e4);function u(){c.onerror=c.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=u,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
+//# sourceMappingURL=manifest.3eade43afd174522bb8a.js.map

文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/manifest.3eade43afd174522bb8a.js.map


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/vendor.5e9ad9b4b6b6930254c8.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/vendor.5e9ad9b4b6b6930254c8.js.map


+ 14 - 19
src/components/pages/aiAddCourse/addCourse.vue

@@ -317,12 +317,12 @@
                     <div class="wb_j_box_btn" @click="openMember">
                       <div class="wb_j_box_title">协同人员</div>
                       <div class="wb_j_box_btn_c">
-                        <el-tooltip effect="dark" :content="getListMan2(checkboxList3)" placement="top"
-                          v-if="checkboxList3.length" popper-class="text_tooltip2">
-                          <div class="wb_j_box_span">
+                        <!-- <el-tooltip effect="dark" :content="getListMan2(checkboxList3)" placement="top"
+                          v-if="checkboxList3.length" popper-class="text_tooltip2"> -->
+                          <div class="wb_j_box_span" v-if="checkboxList3.length">
                             {{ getListMan2(checkboxList3) }}
                           </div>
-                        </el-tooltip>
+                        <!-- </el-tooltip> -->
                         <div v-else class="wb_j_box_span">请选择协同人员</div>
                         <div class="wb_j_box_arrow"></div>
                       </div>
@@ -8226,23 +8226,18 @@ export default {
     },
     getListMan2() {
       return function (list) {
+        console.log('getListMan2',list);
         let _people2 = [];
         if (this.ManAarray.length) {
-          for (var j = 0; j < list.length; j++) {
-            let people = list[j];
-            for (var i = 0; i < this.ManAarray.length; i++) {
-              if (
-                this.ManAarray[i].userid == people &&
-                people != this.courseUserid
-              ) {
-                _people2.push(this.ManAarray[i].name);
-                break;
-              }
+          list.slice(0, 10).forEach(people => {
+            let name = this.ManAarray.find(man => man.userid === people && people !== this.courseUserid).name || "";
+            if (name) {
+              _people2.push(name);
             }
-          }
+          });
         }
 
-        return this.ManAarray.length ? _people2.join("、") : "";
+        return _people2.join("、");
       };
     },
     isInvite() {
@@ -16166,7 +16161,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
             }, 0);
             this.timer = setTimeout(() => {
               this.seleteCourseUpdate();
-            }, 1000);
+            }, 5000);
           } else if (index == 2) {
             let _this = this;
             _this
@@ -16201,7 +16196,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
                 }, 0);
                 _this.timer = setTimeout(() => {
                   _this.seleteCourseUpdate();
-                }, 1000);
+                }, 5000);
               });
           }
           // 在复制操作之前记录滚动位置
@@ -16245,7 +16240,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
           }, 0);
           this.timer = setTimeout(() => {
             this.seleteCourseUpdate();
-          }, 1000);
+          }, 5000);
         })
         .catch((err) => {
           this.$message.error("网络不佳");

+ 18 - 29
src/components/pages/newCourse/addCourse.vue

@@ -351,17 +351,17 @@
                     <div class="wb_j_box_btn" @click="openMember">
                       <div class="wb_j_box_title">协同人员</div>
                       <div class="wb_j_box_btn_c">
-                        <el-tooltip
+                        <!-- <el-tooltip
                           effect="dark"
                           :content="getListMan2(checkboxList3)"
                           placement="top"
                           v-if="checkboxList3.length"
                           popper-class="text_tooltip2"
-                        >
-                          <div class="wb_j_box_span">
-                            {{ getListMan2(checkboxList3) }}
-                          </div>
-                        </el-tooltip>
+                        > -->
+                        <div class="wb_j_box_span" v-if="checkboxList3.length">
+                          {{ getListMan2(checkboxList3) }}
+                        </div>
+                        <!-- </el-tooltip> -->
                         <div v-else class="wb_j_box_span">请选择协同人员</div>
                         <div class="wb_j_box_arrow"></div>
                       </div>
@@ -7763,17 +7763,12 @@ export default {
         let _people = people;
         let _people2 = "";
         if (this.ManAarray.length) {
-          for (var i = 0; i < this.ManAarray.length; i++) {
-            if (this.ManAarray[i].userid == people) {
-              _people2 = this.ManAarray[i].name;
-              break;
-            }
-          }
+          _people2 = this.ManAarray.find(man => man.userid === people).name || "";
         }
-        if (people == this.courseUserid) {
+        if (people === this.courseUserid) {
           return "";
         }
-        return this.ManAarray.length ? _people2 : "";
+        return _people2;
       };
     },
     getListMan2() {
@@ -7781,21 +7776,15 @@ export default {
         console.log('getListMan2',list);
         let _people2 = [];
         if (this.ManAarray.length) {
-          for (var j = 0; j < list.length; j++) {
-            let people = list[j];
-            for (var i = 0; i < this.ManAarray.length; i++) {
-              if (
-                this.ManAarray[i].userid == people &&
-                people != this.courseUserid
-              ) {
-                _people2.push(this.ManAarray[i].name);
-                break;
-              }
+          list.slice(0, 10).forEach(people => {
+            let name = this.ManAarray.find(man => man.userid === people && people !== this.courseUserid).name || "";
+            if (name) {
+              _people2.push(name);
             }
-          }
+          });
         }
 
-        return this.ManAarray.length ? _people2.join("、") : "";
+        return _people2.join("、");
       };
     },
     isInvite() {
@@ -12841,7 +12830,7 @@ export default {
             }, 0);
             this.timer = setTimeout(() => {
               this.seleteCourseUpdate();
-            }, 1000);
+            }, 5000);
           } else if (index == 2) {
             let _this = this;
             _this
@@ -12876,7 +12865,7 @@ export default {
                 }, 0);
                 _this.timer = setTimeout(() => {
                   _this.seleteCourseUpdate();
-                }, 1000);
+                }, 5000);
               });
           }
           // 在复制操作之前记录滚动位置
@@ -12920,7 +12909,7 @@ export default {
           }, 0);
           this.timer = setTimeout(() => {
             this.seleteCourseUpdate();
-          }, 1000);
+          }, 5000);
         })
         .catch((err) => {
           this.$message.error("网络不佳");

部分文件因文件數量過多而無法顯示