diff --git a/docs/权限.md b/docs/权限.md index aed54b9..fb3a41a 100644 --- a/docs/权限.md +++ b/docs/权限.md @@ -19,7 +19,7 @@ | 页面/操作 | URL | 权限名称 | 权限编码 | | --- | --- | --- | --- | | 预警列表 | `/package-management/traffic-alerts` | `recordsView` | `package_traffic_alert:records_view` | -| 预警详情 | `/package-management/traffic-alerts/detail/:id` | `recordDetail` | `package_traffic_alert:record_detail` | +| 点击套餐名称进入预警详情 | `/package-management/traffic-alerts/detail/:id` | `recordDetail` | `package_traffic_alert:record_detail` | | 导出预警记录 | — | `export` | `package_traffic_alert:export` | | 导出任务页面 | `/asset-management/export-task-management/export-package-traffic-alert` | `page` | `export_task:package_traffic_alert_page` | @@ -54,7 +54,7 @@ | 删除 | `delete` | `business_user_group:delete` | | 成员管理 | `members` | `business_user_group:members` | -## 店铺管理:业务负责人导入 +## 店铺管理:批量换绑业务员 页面 URL:`/shop-management/business-owner-import` diff --git a/openspec/changes/add-business-user-group-management/proposal.md b/openspec/changes/add-business-user-group-management/proposal.md index 62c07a3..35e0aea 100644 --- a/openspec/changes/add-business-user-group-management/proposal.md +++ b/openspec/changes/add-business-user-group-management/proposal.md @@ -42,7 +42,7 @@ - src/views/shop-management/business-user-groups/index.vue(新增页面) - src/views/shop-management/list/index.vue - src/router/routes/asyncRoutes.ts、src/router/routesAlias.ts、src/locales/langs/{zh,en}.json - - src/template/业务负责人导入模板.csv(前端自带模板) + - src/template/批量换绑业务员模板.csv(前端自带模板) - API contracts: 11 个端点(7 个业务用户组 + 店铺筛选/字段 + 批量交接 + 导入三步) - Dependencies: - docs/产品迭代8月份/业务用户组.md(7 个组端点 OpenAPI) diff --git a/openspec/changes/update-exchange-migration-and-shop-import/specs/shop-management/spec.md b/openspec/changes/update-exchange-migration-and-shop-import/specs/shop-management/spec.md index 3400a2a..b27f35d 100644 --- a/openspec/changes/update-exchange-migration-and-shop-import/specs/shop-management/spec.md +++ b/openspec/changes/update-exchange-migration-and-shop-import/specs/shop-management/spec.md @@ -6,7 +6,7 @@ #### Scenario: 任务列表展示扩展字段 -- **GIVEN** 用户进入业务负责人导入任务列表 +- **GIVEN** 用户进入批量换绑业务员任务列表 - **WHEN** 列表加载完成 - **THEN** 前端 MUST 展示任务编号、文件名、创建人、开始/完成时间与状态中文名 - **AND** 原有状态/总数/成功/失败/创建时间展示 MUST 保留 diff --git a/src/api/modules/shop.ts b/src/api/modules/shop.ts index 7127a86..a00e240 100644 --- a/src/api/modules/shop.ts +++ b/src/api/modules/shop.ts @@ -180,7 +180,7 @@ export class ShopService extends BaseService { // ========== 业务负责人 CSV 导入 ========== /** - * 创建业务负责人导入任务 + * 创建批量换绑业务员任务 * POST /api/admin/shops/business-owner-imports * @param data 上传后拿到的 file_key */ @@ -191,7 +191,7 @@ export class ShopService extends BaseService { } /** - * 查询业务负责人导入任务详情 + * 查询批量换绑业务员任务详情 * GET /api/admin/shops/business-owner-imports/{id} */ static getBusinessOwnerImportDetail( @@ -201,7 +201,7 @@ export class ShopService extends BaseService { } /** - * 查询业务负责人导入任务列表 + * 查询批量换绑业务员任务列表 * GET /api/admin/shops/business-owner-imports */ static getBusinessOwnerImportList( diff --git a/src/locales/langs/zh.json b/src/locales/langs/zh.json index 6443cb8..b99641b 100644 --- a/src/locales/langs/zh.json +++ b/src/locales/langs/zh.json @@ -367,7 +367,7 @@ "title": "店铺管理", "shopList": "店铺列表", "businessUserGroups": "业务用户组", - "businessOwnerImport": "业务负责人导入", + "businessOwnerImport": "批量换绑业务员", "agentDistributionRegistrations": "代理注册申请", "agentDistributionRegistrationDetail": "代理注册申请详情" }, diff --git a/src/router/routes/asyncRoutes.ts b/src/router/routes/asyncRoutes.ts index f80e2f6..5fb1427 100644 --- a/src/router/routes/asyncRoutes.ts +++ b/src/router/routes/asyncRoutes.ts @@ -298,7 +298,7 @@ export const asyncRoutes: AppRouteRecord[] = [ permissions: [BUSINESS_USER_GROUP_PERMISSIONS.page] } }, - // 业务负责人导入 + // 批量换绑业务员 { path: 'business-owner-import', name: 'BusinessOwnerImport', diff --git a/src/router/routesAlias.ts b/src/router/routesAlias.ts index 511fd01..a5ef827 100644 --- a/src/router/routesAlias.ts +++ b/src/router/routesAlias.ts @@ -46,7 +46,7 @@ export enum RoutesAlias { Shop = '/shop-management/list', // 店铺列表 ShopDetail = '/shop-management/detail', // 店铺详情 BusinessUserGroups = '/shop-management/business-user-groups', // 业务用户组 - BusinessOwnerImport = '/shop-management/business-owner-import', // 业务负责人导入 + BusinessOwnerImport = '/shop-management/business-owner-import', // 批量换绑业务员 AgentDistributionRegistrations = '/shop-management/agent-distribution-registrations', // 代理注册申请 AgentDistributionRegistrationDetail = '/shop-management/agent-distribution-registrations/detail', // 代理注册申请详情 diff --git a/src/types/api/shop.ts b/src/types/api/shop.ts index 3f5b84c..103b851 100644 --- a/src/types/api/shop.ts +++ b/src/types/api/shop.ts @@ -166,7 +166,7 @@ export interface BatchUpdateBusinessOwnerResult { // ========== 业务负责人 CSV 导入 ========== -/** 业务负责人导入任务行级结果 */ +/** 批量换绑业务员任务行级结果 */ export interface BusinessOwnerImportRow { line: number // 行号,从数据首行 1 开始 shop_code: string // 店铺编码 @@ -176,7 +176,7 @@ export interface BusinessOwnerImportRow { reason: string // 失败原因 } -/** 业务负责人导入任务详情 */ +/** 批量换绑业务员任务详情 */ export interface BusinessOwnerImportDetail { id: number // 导入任务ID task_no?: string // 任务编号 @@ -195,19 +195,19 @@ export interface BusinessOwnerImportDetail { updated_at?: string } -/** 创建业务负责人导入任务请求 */ +/** 创建批量换绑业务员任务请求 */ export interface CreateBusinessOwnerImportParams { file_key: string // 由 /storage/upload-url(purpose=shop_import)获取 } -/** 业务负责人导入任务列表查询参数 */ +/** 批量换绑业务员任务列表查询参数 */ export interface BusinessOwnerImportQueryParams { page?: number page_size?: number status?: number // 按状态筛选 } -/** 业务负责人导入任务列表响应 */ +/** 批量换绑业务员任务列表响应 */ export interface BusinessOwnerImportPageResult { items: BusinessOwnerImportDetail[] | null page?: number diff --git a/src/views/asset-management/asset-information/components/BasicInfoCard.vue b/src/views/asset-management/asset-information/components/BasicInfoCard.vue index 09c1083..3894747 100644 --- a/src/views/asset-management/asset-information/components/BasicInfoCard.vue +++ b/src/views/asset-management/asset-information/components/BasicInfoCard.vue @@ -359,7 +359,7 @@