update
This commit is contained in:
parent
6a166d669f
commit
6704593cdf
@ -98,10 +98,7 @@
|
||||
<a-table-column title="小区ID" dataIndex="community_id" key="community_id" width="100px" />
|
||||
<a-table-column title="小区名称" dataIndex="community_name" key="community_name">
|
||||
<template #default="{ text, record }">
|
||||
<a class="community-link" @click="viewCommunityDetail(record.community_id)">
|
||||
<span class="link-text">{{ text }}</span>
|
||||
<right-outlined class="link-icon" />
|
||||
</a>
|
||||
<span>{{ text }}</span>
|
||||
</template>
|
||||
</a-table-column>
|
||||
<a-table-column title="用户数" key="user_count">
|
||||
@ -129,6 +126,19 @@
|
||||
¥ {{ formatAmount(record.yesterday_income) }}
|
||||
</template>
|
||||
</a-table-column>
|
||||
<a-table-column title="操作" key="action" width="120px" align="center">
|
||||
<template #default="{ record }">
|
||||
<a-button
|
||||
type="link"
|
||||
size="small"
|
||||
@click="viewCommunityDetail(record.community_id)"
|
||||
class="detail-button"
|
||||
>
|
||||
<eye-outlined />
|
||||
查看详情
|
||||
</a-button>
|
||||
</template>
|
||||
</a-table-column>
|
||||
</a-table>
|
||||
</a-card>
|
||||
</div>
|
||||
@ -147,7 +157,8 @@ import {
|
||||
RiseOutlined,
|
||||
ReloadOutlined,
|
||||
RightOutlined,
|
||||
EnvironmentOutlined
|
||||
EnvironmentOutlined,
|
||||
EyeOutlined
|
||||
} from '@ant-design/icons-vue';
|
||||
import { getPartnerSummary, getPartnerCommunityList } from '../api/dashboard';
|
||||
|
||||
@ -162,7 +173,8 @@ export default {
|
||||
RiseOutlined,
|
||||
ReloadOutlined,
|
||||
RightOutlined,
|
||||
EnvironmentOutlined
|
||||
EnvironmentOutlined,
|
||||
EyeOutlined
|
||||
},
|
||||
setup() {
|
||||
const router = useRouter();
|
||||
@ -428,4 +440,17 @@ export default {
|
||||
padding: 2px 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.detail-button {
|
||||
padding: 0 4px;
|
||||
height: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.detail-button .anticon {
|
||||
margin-right: 4px;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user