admin_new P0+P1 全批次合并 (84 commits) #2
@ -165,7 +165,8 @@ async function load() {
|
||||
}
|
||||
|
||||
const tabItems = computed(() => [
|
||||
{ key: 'all', label: '全部', count: total.value },
|
||||
// 全部 = 正常 + 已禁用 (跨 tab 一致, 与搜索条件关联)
|
||||
{ key: 'all', label: '全部', count: enabledStats.normal + enabledStats.disabled },
|
||||
{ key: 'normal', label: '正常', count: enabledStats.normal },
|
||||
{ key: 'disabled', label: '已禁用', count: enabledStats.disabled }
|
||||
])
|
||||
@ -228,7 +229,7 @@ onMounted(load)
|
||||
|
||||
<template>
|
||||
<div class="rr-page">
|
||||
<PageHeader title="用户列表" :sub="`管理前台注册用户,共 ${total} 个账号`">
|
||||
<PageHeader title="用户列表" :sub="`管理前台注册用户,共 ${enabledStats.normal + enabledStats.disabled} 个账号`">
|
||||
<el-button @click="ElMessageBox.alert('导出功能待 W17 完善', '提示', { type: 'info' })">导出</el-button>
|
||||
<el-button type="primary" @click="ElMessageBox.alert('新增用户功能待 W17 完善', '提示', { type: 'info' })">
|
||||
<el-icon style="margin-right: 4px; vertical-align: -2px;"><Plus /></el-icon>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user