|
|
@@ -116,13 +116,13 @@
|
|
|
</a-avatar>
|
|
|
</template>
|
|
|
</a-table-column>
|
|
|
- <a-table-column title="学号" :width="100" data-index="student_num" ellipsis tooltip></a-table-column>
|
|
|
+ <a-table-column title="学号" :width="105" data-index="student_num" ellipsis tooltip></a-table-column>
|
|
|
<a-table-column title="姓名" :width="100">
|
|
|
<template #cell="{ record }">
|
|
|
{{ record.name ?? '请使用乐跑登录器更新账号信息' }}
|
|
|
</template>
|
|
|
</a-table-column>
|
|
|
- <a-table-column title="性别" :width="80" ellipsis tooltip :filterable="{
|
|
|
+ <a-table-column title="性别" :width="70" ellipsis tooltip :filterable="{
|
|
|
filters: [
|
|
|
{ text: '男', value: 0 },
|
|
|
{ text: '女', value: 1 }
|
|
|
@@ -136,7 +136,7 @@
|
|
|
</template>
|
|
|
</a-table-column>
|
|
|
<a-table-column title="年级" :width="80" data-index="grade_id" tooltip></a-table-column>
|
|
|
- <a-table-column title="跑区" :width="170">
|
|
|
+ <a-table-column title="跑区" :width="180">
|
|
|
<template #cell="{ record }">
|
|
|
{{ record.area || '随机分配' }}
|
|
|
</template>
|
|
|
@@ -155,7 +155,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</a-table-column> -->
|
|
|
- <a-table-column title="自动乐跑" :width="105" ellipsis tooltip :filterable="{
|
|
|
+ <a-table-column title="自动乐跑" :width="90" ellipsis tooltip :filterable="{
|
|
|
filters: [
|
|
|
{ text: '开启', value: 1 },
|
|
|
{ text: '关闭', value: 0 }
|
|
|
@@ -167,6 +167,16 @@
|
|
|
<a-tag color="red" v-else>关闭</a-tag>
|
|
|
</template>
|
|
|
</a-table-column>
|
|
|
+ <a-table-column title="自动乐跑星期" :width="155" ellipsis tooltip>
|
|
|
+ <template #cell="{ record }">
|
|
|
+ <span v-if="record.auto_run && record.auto_day && record.auto_day.length > 0">
|
|
|
+ {{record.auto_day.slice().sort((a, b) => {
|
|
|
+ if (a === 0) return 1; if (b === 0) return -1; return a - b;
|
|
|
+ }).map(day => auto_day.find(item => item.value === day)?.label).join(',').replace(/周/g, '') }}
|
|
|
+ </span>
|
|
|
+ <span v-else>-</span>
|
|
|
+ </template>
|
|
|
+ </a-table-column>
|
|
|
<a-table-column title="自动乐跑时段" :width="130" ellipsis tooltip>
|
|
|
<template #cell="{ record }">
|
|
|
{{ autoTimeLabel(record) }}
|