From 6459f8bff3e568e65e6dc617f22c686cf5a8db44 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期一, 15 七月 2024 16:35:06 +0800
Subject: [PATCH] 组卷

---
 src/views/onlineEducation/classHourBatch/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/onlineEducation/classHourBatch/index.vue b/src/views/onlineEducation/classHourBatch/index.vue
index af6dc53..13380d4 100644
--- a/src/views/onlineEducation/classHourBatch/index.vue
+++ b/src/views/onlineEducation/classHourBatch/index.vue
@@ -74,7 +74,8 @@
   dataList: [],
   isAdmin: false,
   companyName: '',
-  remainPeriod: null
+  remainPeriod: null,
+  companyId: null
 
 });
 
@@ -89,6 +90,7 @@
     data.remainPeriod = userInfo.remainPeriod ? (userInfo.remainPeriod /60).toFixed(2).replace(/\.00$/, ''):''
     data.isAdmin = false;
     data.companyName = userInfo.companyName
+    data.companyId = userInfo.companyId
   }
   await getList()
 })
@@ -146,6 +148,6 @@
 }
 
 const openDetail = () => {
-  classHourRef.value.openDialog()
+  classHourRef.value.openDialog(data.companyId)
 }
 </script>

--
Gitblit v1.9.2