refactor(sdy): 调整用户查询条件和表格配置- 在 sdyUser 组件中添加 type=1 查询条件,用于筛选特定类型的用户

- 修改 shopDealerApply 组件中的行键名,从 shopDealerApplyId 改为 applyId
- 更新 shopAdmin 组件中的按钮文本,从"添加"改为"邀请注册"
- 注释掉 .env.development 中的 API URL 配置
This commit is contained in:
2025-09-05 14:38:28 +08:00
parent 7052ccce61
commit c6e6bb02d3
10 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<a-card :bordered="false" :body-style="{ padding: '16px' }">
<ele-pro-table
ref="tableRef"
row-key="shopDealerApplyId"
row-key="applyId"
:columns="columns"
:datasource="datasource"
:customRow="customRow"

View File

@@ -319,6 +319,7 @@ const datasource: DatasourceFunction = ({
where.roleId = filters.roles;
where.keywords = searchText.value;
where.isAdmin = 0;
where.type = 1;
return pageUsers({page, limit, ...where, ...orders});
};

View File

@@ -20,7 +20,7 @@
<template #icon>
<plus-outlined/>
</template>
<span>添加</span>
<span>邀请注册</span>
</a-button>
<a-input-search
allow-clear

View File

@@ -3,7 +3,7 @@
<a-card :bordered="false" :body-style="{ padding: '16px' }">
<ele-pro-table
ref="tableRef"
row-key="shopDealerApplyId"
row-key="applyId"
:columns="columns"
:datasource="datasource"
:customRow="customRow"