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="小区ID" dataIndex="community_id" key="community_id" width="100px" />
|
||||||
<a-table-column title="小区名称" dataIndex="community_name" key="community_name">
|
<a-table-column title="小区名称" dataIndex="community_name" key="community_name">
|
||||||
<template #default="{ text, record }">
|
<template #default="{ text, record }">
|
||||||
<a class="community-link" @click="viewCommunityDetail(record.community_id)">
|
<span>{{ text }}</span>
|
||||||
<span class="link-text">{{ text }}</span>
|
|
||||||
<right-outlined class="link-icon" />
|
|
||||||
</a>
|
|
||||||
</template>
|
</template>
|
||||||
</a-table-column>
|
</a-table-column>
|
||||||
<a-table-column title="用户数" key="user_count">
|
<a-table-column title="用户数" key="user_count">
|
||||||
@ -129,6 +126,19 @@
|
|||||||
¥ {{ formatAmount(record.yesterday_income) }}
|
¥ {{ formatAmount(record.yesterday_income) }}
|
||||||
</template>
|
</template>
|
||||||
</a-table-column>
|
</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-table>
|
||||||
</a-card>
|
</a-card>
|
||||||
</div>
|
</div>
|
||||||
@ -147,7 +157,8 @@ import {
|
|||||||
RiseOutlined,
|
RiseOutlined,
|
||||||
ReloadOutlined,
|
ReloadOutlined,
|
||||||
RightOutlined,
|
RightOutlined,
|
||||||
EnvironmentOutlined
|
EnvironmentOutlined,
|
||||||
|
EyeOutlined
|
||||||
} from '@ant-design/icons-vue';
|
} from '@ant-design/icons-vue';
|
||||||
import { getPartnerSummary, getPartnerCommunityList } from '../api/dashboard';
|
import { getPartnerSummary, getPartnerCommunityList } from '../api/dashboard';
|
||||||
|
|
||||||
@ -162,7 +173,8 @@ export default {
|
|||||||
RiseOutlined,
|
RiseOutlined,
|
||||||
ReloadOutlined,
|
ReloadOutlined,
|
||||||
RightOutlined,
|
RightOutlined,
|
||||||
EnvironmentOutlined
|
EnvironmentOutlined,
|
||||||
|
EyeOutlined
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
@ -428,4 +440,17 @@ export default {
|
|||||||
padding: 2px 6px;
|
padding: 2px 6px;
|
||||||
font-size: 12px;
|
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>
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user