From cf7e71c6d0fb64eeb6b5deac540da843b4bb465c Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期二, 26 八月 2025 10:41:52 +0800
Subject: [PATCH] 关于我们-理念与品牌文化

---
 src/views/classManage/studentJob.vue |   73 ++++++++++++++++++++----------------
 1 files changed, 41 insertions(+), 32 deletions(-)

diff --git a/src/views/classManage/studentJob.vue b/src/views/classManage/studentJob.vue
index f9f3d7b..605da75 100644
--- a/src/views/classManage/studentJob.vue
+++ b/src/views/classManage/studentJob.vue
@@ -44,7 +44,7 @@
           <el-table-column label="搴忓彿" prop="id" width="70"> </el-table-column>
           <el-table-column label="鍚嶇О" prop="name"> </el-table-column>
           <el-table-column label="浣滀笟瀹屾垚鎯呭喌" #default="scope">
-            <span v-if="scope.row.submitState == 'WaitCheck'" style="color: #ff6d00">寰呮壒鏀�</span>
+            <span v-if="scope.row.submitState == 'WaitCheck'" style="color: #019e58">寰呮壒鏀�</span>
             <span v-if="scope.row.submitState == 'Normal'" style="color: #67c23a">宸叉壒鏀�</span>
             <span v-if="!scope.row.submitState" style="color: red">鏈彁浜�</span>
           </el-table-column>
@@ -105,8 +105,8 @@
   {
     value: config.taskType.homeWork,
     field: 'Type',
-    subFilters: []
-  }
+    subFilters: [],
+  },
 ])
 // task
 const taskData = reactive({
@@ -118,7 +118,7 @@
   state: '',
   groupId: '',
   beginDate: '',
-  endDate: ''
+  endDate: '',
 })
 
 const visiblePub = ref(false)
@@ -137,7 +137,7 @@
   'Embedded_QuestionBank_QuestionType',
   'Embedded_QuestionBank_Score',
   'Embedded_QuestionBank_Stem',
-  'Embedded_QuestionBank_StemStyle'
+  'Embedded_QuestionBank_StemStyle',
 ]
 
 let pages = reactive({
@@ -145,13 +145,13 @@
   page: 1,
   pageSize: 15,
   count: 0,
-  loading: false
+  loading: false,
 })
 // 浣滀笟鍒楄〃
 const tableData: any = ref([])
 
 onMounted(() => {
-  const userCache: any = localStorage.getItem('jesk-userInfo')
+  const userCache: any = localStorage.getItem(config.userInfoKey)
   if (userCache) {
     userInfo.value = JSON.parse(userCache)
   }
@@ -180,11 +180,11 @@
     size: pages.pageSize,
     sort: {
       type: 'Desc',
-      field: 'CreateDate'
+      field: 'CreateDate',
     },
     filterList,
     searchList,
-    groupId: classInfo?.id
+    groupId: classInfo?.id,
   }
   MG.edu
     .getTaskList(data)
@@ -208,7 +208,7 @@
             ...item,
             totalScore: item.judgeScore + item.otherScore,
             beginDate: moment(item.beginDate).format('YYYY-MM-DD'),
-            endDate: moment(item.endDate).format('YYYY-MM-DD')
+            endDate: moment(item.endDate).format('YYYY-MM-DD'),
           }
         })
       } else {
@@ -228,8 +228,8 @@
     {
       compareType: 'Contains',
       keywords: searchKey.value,
-      field: 'Name'
-    }
+      field: 'Name',
+    },
   ]
   pages.page = 1
   pages.currentPage = 1
@@ -256,29 +256,37 @@
 
 // 绛旈
 const answer = (item: any) => {
-  router.push({
-    path: '/bookService/details/answer',
-    query: {
-      answerTitle: item.name,
-      taskId: item.id,
-      groupId: classInfo?.id,
-      answerType: 'task'
-    }
+  ElMessage({
+    type: 'warning',
+    message: '姝e湪寤鸿涓�...',
   })
+  // router.push({
+  //   path: '/bookService/details/answer',
+  //   query: {
+  //     answerTitle: item.name,
+  //     taskId: item.id,
+  //     groupId: classInfo?.id,
+  //     answerType: 'task',
+  //   },
+  // })
 }
 
 // 棰勮
 const preview = (item: any) => {
-  router.push({
-    path: '/bookService/details/answer',
-    query: {
-      answerTitle: item.name,
-      taskId: item.id,
-      groupId: classInfo?.id,
-      answerType: 'task',
-      isPreview: 'true'
-    }
+   ElMessage({
+    type: 'warning',
+    message: '姝e湪寤鸿涓�...',
   })
+  // router.push({
+  //   path: '/bookService/details/answer',
+  //   query: {
+  //     answerTitle: item.name,
+  //     taskId: item.id,
+  //     groupId: classInfo?.id,
+  //     answerType: 'task',
+  //     isPreview: 'true',
+  //   },
+  // })
 }
 </script>
 
@@ -303,13 +311,13 @@
           color: #333;
           line-height: 30px;
           text-align: left;
-          border-left: 6px solid #ff6c00;
+          border-left: 6px solid #019e58;
           padding-left: 10px;
         }
       }
       margin-top: 20px;
       ::v-deep .el-tabs__nav-wrap::after {
-        background-color: #ff6d00;
+        background-color: #019e58;
         height: 1px;
       }
 
@@ -320,7 +328,7 @@
       }
 
       ::v-deep .is-active {
-        background-color: #ff6d00;
+        background-color: #019e58;
         color: #fff;
         border-radius: 3px 3px 0 0;
       }
@@ -343,6 +351,7 @@
       border-radius: 5px;
       margin: 10px auto;
       padding-bottom: 20px;
+      box-sizing: border-box;
       .pubContent {
         height: 800px;
       }

--
Gitblit v1.9.1