chao 6 天之前
父節點
當前提交
1fc8e2f605
共有 5 個文件被更改,包括 29 次插入3 次删除
  1. 0 0
      dist/assets/Details-XxWS0_xC.js
  2. 0 0
      dist/assets/admin-UEKddlNp.js
  3. 0 0
      dist/assets/index-SInucHM9.js
  4. 1 1
      dist/index.html
  5. 28 2
      src/views/main.vue

File diff suppressed because it is too large
+ 0 - 0
dist/assets/Details-XxWS0_xC.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/admin-UEKddlNp.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-SInucHM9.js


+ 1 - 1
dist/index.html

@@ -8,7 +8,7 @@
     <script>
       document.domain = "cocorobo.cn"
     </script>
-    <script type="module" crossorigin src="./assets/index-0_FcoXji.js"></script>
+    <script type="module" crossorigin src="./assets/index-SInucHM9.js"></script>
     <link rel="stylesheet" crossorigin href="./assets/index-RNV-7I0X.css">
   </head>
   <body>

+ 28 - 2
src/views/main.vue

@@ -39,6 +39,12 @@
             <div :class="activeIndex == 2 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(2)">
               创建应用
             </div>
+            <div :class="activeIndex == 7 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(7)">
+              教学空间
+            </div>
+            <div :class="activeIndex == 8 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(8)">
+              学习空间
+            </div>
             <!-- <div :class="activeIndex == 3 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(3)">
               AI
               应用精选</div> -->
@@ -164,7 +170,7 @@ const clickSwitch = (index) => {
   console.log('clickSwitch', activeIndex.value)
   if (index == 1 && activeIndex.value != 1) {
     loading.value = true
-    iframeRef1Url.value = `//app.cocorobo.cn/#/?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
+    iframeRef1Url.value = `//app.cocorobo.cn/#/appManagement?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
     setTimeout(() => {
       iframeRef1.value.onload = () => {
         loading.value = false
@@ -215,7 +221,27 @@ const clickSwitch = (index) => {
       }
       loading.value = false
     }, 100)
-  } 
+  } else if (index == 6 && activeIndex.value != 7) {
+    loading.value = true
+    //pbl.cocorobo.cn/pbl-teacher-table/dist/#/grade?userid=4e748720-5878-11ef-b873-005056b86db5&oid=46034950-39b1-11ef-b873-005056b86db5&org=16ace517-b5c7-4168-a9bb-a9e0035df840
+    iframeRef1Url4.value = `/app.cocorobo.cn/#/teachingModel?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
+    setTimeout(() => {
+      iframeRef4.value.onload = () => {
+        loading.value = false
+      }
+      loading.value = false
+    }, 100)
+  } else if (index == 6 && activeIndex.value != 8) {
+    loading.value = true
+    //pbl.cocorobo.cn/pbl-teacher-table/dist/#/grade?userid=4e748720-5878-11ef-b873-005056b86db5&oid=46034950-39b1-11ef-b873-005056b86db5&org=16ace517-b5c7-4168-a9bb-a9e0035df840
+    iframeRef1Url4.value = `/app.cocorobo.cn/#/cocobookllm?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
+    setTimeout(() => {
+      iframeRef4.value.onload = () => {
+        loading.value = false
+      }
+      loading.value = false
+    }, 100)
+  }
   activeIndex.value = index
 }
 

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