diff --git a/src/views/property-marketing/media-account/account-manage/components/account-table/card.vue b/src/views/property-marketing/media-account/account-manage/components/account-table/card.vue index 6a74dd3..9bcd7db 100644 --- a/src/views/property-marketing/media-account/account-manage/components/account-table/card.vue +++ b/src/views/property-marketing/media-account/account-manage/components/account-table/card.vue @@ -3,7 +3,8 @@ * @Date: 2025-06-25 15:31:15 --> - +

{{ item.name || '-' }}

@@ -47,30 +53,30 @@ 运营人员 {{ item.operator?.name || '-' }}
-
- 所属项目 - - -
- -
- {{ `+${item.projects.length - 2}` }} -
-
+ + + + + + + + + + + + + + + + + + -
- {{ project.name }} -
-
-
+ + + + +
分组 {{ item.group?.name || '-' }} @@ -123,14 +129,11 @@
- - - + + diff --git a/src/views/property-marketing/media-account/account-manage/constants.ts b/src/views/property-marketing/media-account/account-manage/constants.ts index 26f37e0..bc06301 100644 --- a/src/views/property-marketing/media-account/account-manage/constants.ts +++ b/src/views/property-marketing/media-account/account-manage/constants.ts @@ -41,3 +41,63 @@ export const SHOW_TYPES = [ svgName: 'svg-list', }, ]; + +export const TABLE_COLUMNS = [ + { + title: '账号名称', + dataIndex: 'name', + width: 200, + fixed: 'left', + }, + { + title: '状态', + dataIndex: 'status', + width: 100, + }, + { + title: '数据更新时间', + dataIndex: 'last_synced_at', + width: 140, + }, + { + title: '最后授权时间', + dataIndex: 'last_authorized_at', + width: 140, + }, + { + title: '平台', + dataIndex: 'platform', + width: 80, + }, + { + title: '账号ID', + dataIndex: 'account_id', + width: 140, + }, + { + title: '手机号码', + dataIndex: 'mobile', + width: 140, + }, + { + title: '运营人员', + dataIndex: 'operator.name', + width: 140, + }, + { + title: '分组', + dataIndex: 'group.name', + width: 140, + }, + { + title: '标签', + dataIndex: 'tags', + width: 180, + }, + { + title: '操作', + dataIndex: 'operation', + width: 180, + fixed: 'right', + }, +]; diff --git a/src/views/property-marketing/media-account/account-manage/index.vue b/src/views/property-marketing/media-account/account-manage/index.vue index c96744e..45e4bc9 100644 --- a/src/views/property-marketing/media-account/account-manage/index.vue +++ b/src/views/property-marketing/media-account/account-manage/index.vue @@ -55,12 +55,12 @@ :checked="checkedAll" :indeterminate="indeterminate" class="mr-24px" - @change="(e) => handleChangeAll(e.target.checked)" + @change="(e) => handleSelectAll(e.target.checked)" > 全选 -