| | |
| | | <template> |
| | | <div style="height: 70vh; overflow: auto"> |
| | | <div style="overflow: auto"> |
| | | <div v-if="groupedEmails.length != 0"> |
| | | <div v-for="(item, index) in groupedEmails" :key="index"> |
| | | <span class="span-title">{{ `${item.name}(${item.data.length})` }}</span> |
| | | <div class="span-title">{{ `${item.name}(${item.data.length})` }}</div> |
| | | <vxe-table |
| | | ref="vxeTableRef" |
| | | style="margin: 10px 0" |
| | |
| | | </div> |
| | | </template> |
| | | </vxe-column> |
| | | <vxe-column show-overflow field="subject" title="表题" data-index="subject" min-width="250"> |
| | | <vxe-column |
| | | show-overflow |
| | | field="subject" |
| | | title="表题" |
| | | data-index="subject" |
| | | min-width="250" |
| | | > |
| | | <template #default="{ row }"> |
| | | <span |
| | | class="title-dot" |
| | |
| | | </template> |
| | | </vxe-column> |
| | | </vxe-table> |
| | | </div |
| | | ></div> |
| | | |
| | | <div v-else style="height: 70vh; display: flex; align-items: center; justify-content: center"> |
| | | <a-empty /> |
| | | </div> |
| | | <DrawerDetail |
| | | ref="drawerDetailRef" |
| | |
| | | watch( |
| | | () => props.pageList, |
| | | (newValue) => { |
| | | dataSource.value = newValue; |
| | | groupedEmails.value = groupEmailsByDate(newValue); |
| | | dataSource.value = newValue || []; |
| | | groupedEmails.value = groupEmailsByDate(newValue || []); |
| | | }, |
| | | ); |
| | | import dayjs from 'dayjs'; |
| | |
| | | } |
| | | |
| | | .span-title { |
| | | padding: 20px; |
| | | width: 100%; |
| | | padding: 5px; |
| | | color: #000; |
| | | font-weight: 700; |
| | | text-align: left; |
| | | } |
| | | |
| | | .table { |