feat: 账号数据看板、账户详情、投放数据
This commit is contained in:
@ -3,28 +3,26 @@
|
||||
* @Date: 2025-06-28 11:21:10
|
||||
-->
|
||||
<template>
|
||||
<div>
|
||||
<h1>账号详情</h1>
|
||||
<div class="account-detail-wrap">
|
||||
<div class="flex items-center mb-16px cursor-pointer" @click="handleBack">
|
||||
<icon-left size="16" />
|
||||
<spa class="cts ml-8px">账号详情</spa>
|
||||
</div>
|
||||
<AccountInfo />
|
||||
<NoteTable />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { getAccountBoardDetail } from '@/api/all/propertyMarketing';
|
||||
import AccountInfo from './components/account-info';
|
||||
import NoteTable from './components/note-table';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const route = useRoute();
|
||||
const id = route.params.id;
|
||||
const detailData = ref({});
|
||||
const router = useRouter();
|
||||
|
||||
const getDetail = async () => {
|
||||
const { code, data } = await getAccountBoardDetail(id);
|
||||
if (code === 200) {
|
||||
detailData.value = data;
|
||||
}
|
||||
const handleBack = () => {
|
||||
router.push('/media-account/dashboard');
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
getDetail();
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user