mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
修改展示字段
This commit is contained in:
@@ -151,26 +151,6 @@
|
|||||||
</draggable>
|
</draggable>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ record, column }">
|
<template #bodyCell="{ record, column }">
|
||||||
<template v-if="column.key === 'projectCompletedNum'">
|
|
||||||
<div
|
|
||||||
style="color: #02a7f0; cursor: pointer"
|
|
||||||
@click="openModal(record.studentId, 1)"
|
|
||||||
>
|
|
||||||
{{
|
|
||||||
!record.projectCompletedNum ? "0" : record.projectCompletedNum
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template v-if="column.key === 'routerCompletedNum'">
|
|
||||||
<div
|
|
||||||
style="color: #02a7f0; cursor: pointer"
|
|
||||||
@click="openModal(record.studentId, 2)"
|
|
||||||
>
|
|
||||||
{{
|
|
||||||
!record.routerCompletedNum ? "0" : record.routerCompletedNum
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template v-if="column.key === 'offCourseCompletedNum'">
|
<template v-if="column.key === 'offCourseCompletedNum'">
|
||||||
<div
|
<div
|
||||||
style="color: #02a7f0; cursor: pointer"
|
style="color: #02a7f0; cursor: pointer"
|
||||||
@@ -201,6 +181,26 @@
|
|||||||
{{ !record.examCompletedNum ? "0" : record.examCompletedNum }}
|
{{ !record.examCompletedNum ? "0" : record.examCompletedNum }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-if="column.key === 'projectCompletedNum'">
|
||||||
|
<div
|
||||||
|
style="color: #02a7f0; cursor: pointer"
|
||||||
|
@click="openModal(record.studentId, 1)"
|
||||||
|
>
|
||||||
|
{{
|
||||||
|
!record.projectCompletedNum ? "0" : record.projectCompletedNum
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-if="column.key === 'routerCompletedNum'">
|
||||||
|
<div
|
||||||
|
style="color: #02a7f0; cursor: pointer"
|
||||||
|
@click="openModal(record.studentId, 2)"
|
||||||
|
>
|
||||||
|
{{
|
||||||
|
!record.routerCompletedNum ? "0" : record.routerCompletedNum
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'caseViewsNum'">
|
<template v-if="column.key === 'caseViewsNum'">
|
||||||
<div
|
<div
|
||||||
style="color: #02a7f0; cursor: pointer"
|
style="color: #02a7f0; cursor: pointer"
|
||||||
|
|||||||
Reference in New Issue
Block a user