This commit is contained in:
kbing1981 2024-08-19 11:32:55 +08:00
parent dac5956d81
commit 95f3f45f8c
2 changed files with 18 additions and 16 deletions

View File

@ -10,8 +10,8 @@
<a-col :span="24" style="text-align: center">
<span class="title">{{ zyInfo.title }}</span>
</a-col>
<a-col :span="24" style="text-align: right">
开始时间{{ dayjs(zyInfo.startTime).format('MM.DD HH:mm') }} ~ 结束时间{{ dayjs(zyInfo.endTime).format('MM.DD HH:mm') }}
<a-col :span="24" style="text-align: right;">
<span style=" color: #999">开始时间</span><span style="color:#666;">{{ dayjs(zyInfo.startTime).format('MM.DD HH:mm') }}</span> ~ <span style=" color: #999; ">结束时间</span><span style="color:#666; margin-right:20px">{{ dayjs(zyInfo.endTime).format('MM.DD HH:mm') }}</span>
</a-col>
<a-col :span="24" style="margin-top: 10px">
<div style="display: flex">
@ -29,18 +29,18 @@
>
</div>
</a-col>
<a-col :span="24" style="margin-top: 10px; text-align: right">
<a-switch checkedChildren="统计" unCheckedChildren="图表" v-model:checked="twoShowType" />
<a-col :span="24" style="margin-top: 10px; text-align: right;">
<a-switch style=" margin-right:20px;" checkedChildren="统计" unCheckedChildren="图表" v-model:checked="twoShowType" />
</a-col>
<a-col :span="24" style="margin-top: 10px" v-if="twoShowType">
<a-col :span="23.5" style="margin:10px 20px;" v-if="twoShowType">
<a-collapse accordion expandIconPosition="right">
<a-collapse-panel :key="index" v-for="(item, index) in zyInfo.tmlbList">
<template #header>
<a-row :span="24" style="width: 100%">
<a-row :span="24" style="width: 90%">
<a-col :span="24" class="title2">{{ item.wjTitle }}</a-col>
<a-col :span="8">已作答人数:{{ item.yzd }}</a-col>
<a-col :span="8">答对人数:{{ item.ddrs }}</a-col>
<a-col :span="8">答错人数:{{ item.dcrs }}</a-col>
<a-col :span="8" style="color:#409eff;display:flex;flex-direction: column; text-align: left;font-size:12px;"><span style="font-weight: bold;font-size:20px; margin-left:5px;">{{ item.yzd }}</span><span style="color:#999">已作答人数</span></a-col>
<a-col :span="8" style="color:#1ab394;display:flex;flex-direction: column; text-align: left;font-size:12px;"><span style="font-weight: bold;font-size:20px; margin-left:5px;">{{ item.ddrs }}</span><span style="color:#999">答对人数</span></a-col>
<a-col :span="8" style="color:#f56c6c;display:flex;flex-direction: column; text-align: left; font-size:12px;"><span style="font-weight: bold;font-size:20px; margin-left:5px;">{{ item.dcrs }}</span><span style="color:#999">答错人数</span></a-col>
</a-row>
</template>
<div style="width: 98%; margin: 0 auto" v-if="item.wjType == 3">
@ -243,6 +243,8 @@ function clear() {
}
.title2 {
font-size: 18px;
font-weight: bold;
color: #333;
}
.ant-divider-horizontal {
display: flex;
@ -416,7 +418,7 @@ function clear() {
font-weight: bold;
}
.tjfx-line {
width: 30%;
width:33%;
text-align: center;
display: flex;
flex-direction: column;

View File

@ -599,7 +599,7 @@
</template>
</a-dropdown>
</span>
<!-- <span style="margin-left: 30px">
<span style="margin-left: 30px">
<a-dropdown>
<a class="ant-dropdown-link" @click.prevent><Icon icon="ant-design:setting-outlined" />答题结果 </a>
<template #overlay>
@ -610,7 +610,7 @@
</a-menu>
</template>
</a-dropdown>
</span> -->
</span>
<span style="margin-left: 30px">
<a-dropdown>
<a class="ant-dropdown-link" @click.prevent><Icon icon="ant-design:line-chart-outlined" />测验结果 </a>
@ -687,7 +687,7 @@
</template>
</a-dropdown>
</span>
<!-- <span style="margin-left: 30px">
<span style="margin-left: 30px">
<a-dropdown>
<a class="ant-dropdown-link" @click.prevent><Icon icon="ant-design:audit-outlined" />答题结果 </a>
<template #overlay>
@ -698,7 +698,7 @@
</a-menu>
</template>
</a-dropdown>
</span> -->
</span>
<span style="margin-left: 30px">
<a-dropdown>
<a class="ant-dropdown-link" @click.prevent><Icon icon="ant-design:line-chart-outlined" />测验结果 </a>
@ -766,7 +766,7 @@
</template>
</a-dropdown>
</span>
<!-- <span style="margin-left: 30px">
<span style="margin-left: 30px">
<a-dropdown>
<a class="ant-dropdown-link" @click.prevent><Icon icon="ant-design:setting-outlined" />答题结果 </a>
<template #overlay>
@ -777,7 +777,7 @@
</a-menu>
</template>
</a-dropdown>
</span> -->
</span>
<span style="margin-left: 30px">
<a-dropdown>
<a class="ant-dropdown-link" @click.prevent><Icon icon="ant-design:line-chart-outlined" />测验结果 </a>