| | |
| | | </el-table-column> |
| | | <el-table-column label="分数" width="120"> |
| | | <template #default="scope"> |
| | | <span style="color: #ff6c00">{{ scope.row.score }}</span> |
| | | <span style="color: #019e58">{{ scope.row.score }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="设置" width="260"> |
| | |
| | | align-center |
| | | v-model="visibleView" |
| | | destroy-on-close |
| | | width="900" |
| | | width="1200" |
| | | > |
| | | <template #header> |
| | | <div class="viewTitle">已选题目</div> |
| | |
| | | align-center |
| | | v-model="visibleLook" |
| | | destroy-on-close |
| | | width="900" |
| | | width="1200" |
| | | > |
| | | <template #header> |
| | | <div class="viewTitle">预览作业</div> |
| | |
| | | if (userCache) { |
| | | userInfo.value = JSON.parse(userCache) |
| | | } |
| | | defaultCmsPath.value = classInfo.bookRefCode ? 'jsek_digitalTextbooks' : 'defaultGoodsStore3' |
| | | defaultCmsPath.value = classInfo.bookRefCode ? '*' : 'defaultGoodsStore3' |
| | | getTaskList() |
| | | }) |
| | | |
| | |
| | | if (questionKey != null) { |
| | | for (let fieldKey of questionKey) { |
| | | if (item.datas[fieldKey]) { |
| | | const values = JSON.parse(item.datas[fieldKey]) |
| | | if (values.length > 0) { |
| | | // 用字段名处理返回的字段值 |
| | | if (values[0].Value) { |
| | | item[fieldKey] = values[0].Value |
| | | } else if (values[0].Data) { |
| | | item[fieldKey] = values[0].Data.Value |
| | | } else if (!values[0].Value && values[0].FileList?.length > 0) { |
| | | item[fieldKey] = values[0].FileList |
| | | } else { |
| | | item[fieldKey] = '-' |
| | | try { |
| | | const values = JSON.parse(item.datas[fieldKey]) |
| | | if (values.length > 0) { |
| | | // 用字段名处理返回的字段值 |
| | | if (values[0].Value) { |
| | | item[fieldKey] = values[0].Value |
| | | } else if (values[0].Data) { |
| | | item[fieldKey] = values[0].Data.Value |
| | | } else if (!values[0].Value && values[0].FileList?.length > 0) { |
| | | item[fieldKey] = values[0].FileList |
| | | } else { |
| | | item[fieldKey] = '-' |
| | | } |
| | | } |
| | | } catch (error) { |
| | | console.log(error, item.datas[fieldKey], item) |
| | | } |
| | | } |
| | | } |
| | |
| | | path: defaultCmsPath.value, |
| | | queryType: '*', |
| | | productId: String(classInfo?.bookId), |
| | | storeInfo: defaultCmsPath.value, |
| | | cmsPath: classInfo?.rootCmsItemId, |
| | | } |
| | | MG.store |
| | |
| | | path: defaultCmsPath.value, |
| | | queryType: '*', |
| | | productId: String(classInfo?.bookId), |
| | | storeInfo: defaultCmsPath.value, |
| | | cmsPath: obj.productLinkPath, |
| | | } |
| | | MG.store |
| | |
| | | path: defaultCmsPath.value, |
| | | queryType: '*', |
| | | productId: String(classInfo?.bookId), |
| | | storeInfo: defaultCmsPath.value, |
| | | cmsPath: item.productLinkPath, |
| | | itemFields: { |
| | | Embedded_QuestionBank_AnalysisCon: [], |
| | |
| | | path: defaultCmsPath.value, |
| | | queryType: '*', |
| | | productId: String(classInfo?.bookId), |
| | | storeInfo: defaultCmsPath.value, |
| | | cmsPath, |
| | | itemFields: { |
| | | Embedded_QuestionBank_AnalysisCon: [], |
| | |
| | | path: defaultCmsPath.value, |
| | | queryType: '*', |
| | | productId: String(classInfo?.bookId), |
| | | storeInfo: defaultCmsPath.value, |
| | | cmsPath: item.productLinkPath, |
| | | } |
| | | MG.store |
| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | ::v-deep .is-active { |
| | | background-color: #ff6d00; |
| | | background-color: #019e58; |
| | | color: #fff; |
| | | border-radius: 3px 3px 0 0; |
| | | } |
| | |
| | | background: #e0f2ff; |
| | | overflow: auto; |
| | | padding: 10px 18px; |
| | | box-sizing: border-box; |
| | | .searchBox { |
| | | position: sticky; |
| | | top: -10px; |
| | |
| | | .leftBg { |
| | | background-color: rgba(255, 173, 65, 0.1); |
| | | border-radius: 5px 5px 5px 5px; |
| | | color: #ff6c00 !important; |
| | | color: #019e58 !important; |
| | | } |
| | | .pageBox { |
| | | padding: 10px 0; |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | padding: 20px 0; |
| | | span { |
| | | min-width: 80px; |
| | | } |
| | | } |
| | | } |
| | | } |