feat: 修改 GuardMemberModel 中的 guardUid 为 guardOUId,并更新表格列定义;在 PointGoodsView 中添加条件渲染的分隔线

This commit is contained in:
Megghy
2025-10-08 02:31:03 +08:00
parent a38fe4a050
commit 5959baf2e8
2 changed files with 9 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ interface HistoryUpstatRecordModel {
} }
interface GuardMemberModel { interface GuardMemberModel {
guardUid: number guardOUId: string
username: string username: string
guardLevel: string guardLevel: string
accompanyDays: number accompanyDays: number
@@ -127,9 +127,12 @@ const guardPagination = computed(() => ({
// 舰长列表表格列定义 // 舰长列表表格列定义
const guardColumns: DataTableColumns<GuardMemberModel> = [ const guardColumns: DataTableColumns<GuardMemberModel> = [
{ {
title: 'UID', title: 'OUID',
key: 'guardUid', key: 'guardOUId',
width: 100, width: 250,
ellipsis: {
tooltip: true,
},
}, },
{ {
title: '用户名', title: '用户名',

View File

@@ -553,6 +553,7 @@ onMounted(async () => {
</div> </div>
</div> </div>
<NDivider v-if="goods.length > 0" />
<!-- 礼物列表区域 --> <!-- 礼物列表区域 -->
<NSpin <NSpin
:show="isLoading" :show="isLoading"
@@ -651,6 +652,7 @@ onMounted(async () => {
</NGi> </NGi>
</NGrid> </NGrid>
</NSpin> </NSpin>
<NDivider v-if="goods.length > 0" />
<!-- 兑换确认模态框 --> <!-- 兑换确认模态框 -->
<NModal <NModal