mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-06 09:26:44 +08:00
修改展示字段
This commit is contained in:
@@ -151,26 +151,6 @@
|
||||
</draggable>
|
||||
</template>
|
||||
<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'">
|
||||
<div
|
||||
style="color: #02a7f0; cursor: pointer"
|
||||
@@ -201,6 +181,26 @@
|
||||
{{ !record.examCompletedNum ? "0" : record.examCompletedNum }}
|
||||
</div>
|
||||
</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'">
|
||||
<div
|
||||
style="color: #02a7f0; cursor: pointer"
|
||||
@@ -796,7 +796,7 @@ export default {
|
||||
}
|
||||
getTableData();
|
||||
};
|
||||
|
||||
|
||||
onMounted(() => {
|
||||
state.tableLoading = true;
|
||||
getOrgList();
|
||||
|
||||
Reference in New Issue
Block a user