This commit is contained in:
weicw
2023-11-21 20:52:27 +08:00
parent fa23f190a5
commit 12004b1107
16 changed files with 144 additions and 44 deletions

View File

@@ -295,6 +295,7 @@
batteryDeposit: 300,
batteryInsurance: 0,
batteryPrice: 0,
touziUserId: null,
tenantId: Number(localStorage.getItem('tenantId'))
});

View File

@@ -41,6 +41,9 @@
</span>
</div>
</template>
<template v-if="column.key === 'touziUser'">
<User v-if="record.touziUser" :record="record.touziUser" />
</template>
<template v-if="column.key === 'user'">
<User v-if="record.user" :record="record.user" />
</template>
@@ -76,6 +79,7 @@
{{ record.comments }}
</a-tooltip>
</template>
<template v-if="column.key === 'userId'">
<a-tag v-if="record.userId === 0" color="orange">未绑定</a-tag>
<a-tag v-else color="green">已绑定</a-tag>
@@ -176,7 +180,12 @@
ellipsis: true
},
{
title: '用户信息',
title: '投资人',
dataIndex: 'touziUser',
key: 'touziUser'
},
{
title: '在租用户',
dataIndex: 'user',
key: 'user'
},