6 Commits 2f99b985a9 ... 89fed76633

Author SHA1 Message Date
  SanHQin 89fed76633 gx 1 week ago
  lsc 0418cfa720 Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-student-table into beta 1 week ago
  lsc 54253b4273 feat(pptEasyClass): 根据类型处理并设置tcid值 1 week ago
  SanHQin e3dfcd7c34 gx 1 week ago
  lsc 0fdea9eba8 Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-student-table into beta 1 week ago
  lsc d38a7259fe feat: 为 syncClassData2 新增回调参数并在请求完成后调用 1 week ago

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
     html,
     body{
       font-family: '黑体';
-    }</style><link href=./static/css/app.d33207d455bab8d52f75151f97a39f61.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.e007bdb6728e5b34e70e.js></script><script type=text/javascript src=./static/js/vendor.c0c6465a61ec650a96bf.js></script><script type=text/javascript src=./static/js/app.78bccbf03cdf7ac3a4b5.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.d417050ae05c7a9f5c581c5c0f54ee24.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.e007bdb6728e5b34e70e.js></script><script type=text/javascript src=./static/js/vendor.c0c6465a61ec650a96bf.js></script><script type=text/javascript src=./static/js/app.7630aa1dd333d83b11c5.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

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


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


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


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


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


+ 4 - 0
src/components/pptEasyClass/index.vue

@@ -733,6 +733,10 @@ export default {
           })
           if(this.tType == '2'){
             this.cid = this.$route.query.cid || ''
+            this.tcid = this.arrayToArray(
+              this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
+              this.cid ? this.cid.split(",") : []
+            )[0] || "";
           }else {
             this.tcid = this.arrayToArray(
               this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],

+ 3 - 1
src/mixins/mixin.js

@@ -243,7 +243,7 @@ export const myMixin = {
       }
     },
     // 新增:上课/备课数据实时同步接口
-    async syncClassData2(classData,api = 'selectUser') {
+    async syncClassData2(classData,api = 'selectUser', callback) {
       if (!this.$route.query.userid) return
       try {
         if(!this.userJson || !this.userJson.accountNumber){
@@ -325,9 +325,11 @@ export const myMixin = {
           this.$store.state.apiSz + 'sync/class',
           params
         );
+        callback && callback();
         return { success: true, data: response.data };
       } catch (error) {
         console.error("同步失败:", error);
+        callback && callback();
         return { success: false, msg: error };
       }
     }

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