This commit is contained in:
235
docs/权限.md
Normal file
235
docs/权限.md
Normal file
@@ -0,0 +1,235 @@
|
||||
# 权限清单
|
||||
|
||||
## 套餐管理:真流量预警规则
|
||||
|
||||
页面 URL:`/package-management/traffic-alert-rules`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| -------- | ------------- | ------------------------------------ |
|
||||
| 页面查看 | `rulesView` | `package_traffic_alert:rules_view` |
|
||||
| 新增规则 | `ruleCreate` | `package_traffic_alert:rule_create` |
|
||||
| 编辑规则 | `ruleUpdate` | `package_traffic_alert:rule_update` |
|
||||
| 启用规则 | `ruleEnable` | `package_traffic_alert:rule_enable` |
|
||||
| 停用规则 | `ruleDisable` | `package_traffic_alert:rule_disable` |
|
||||
|
||||
启用和停用不得复用编辑权限。
|
||||
|
||||
## 套餐管理:真流量达量预警
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 预警列表 | `/package-management/traffic-alerts` | `recordsView` | `package_traffic_alert:records_view` |
|
||||
| 预警详情 | `/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` |
|
||||
|
||||
## 店铺管理:店铺列表
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 店铺列表 | `/shop-management/list` | `listView` | `shop:list_view` |
|
||||
| 店铺详情 | `/shop-management/detail/:id` | `detailView` | `shop:detail_view` |
|
||||
| 新增店铺 | — | — | `shop:add` |
|
||||
| 批量交接 | — | `batch` | `shop:business_owner_batch` |
|
||||
| 导入业务员 | — | `importPage` | `shop:business_owner_import_view` |
|
||||
| 查看店铺详情 | — | — | `shop:detail` |
|
||||
| 切换店铺状态 | — | — | `shop:modify_status` |
|
||||
| 账号列表 | — | — | `shop:look_customer` |
|
||||
| 默认角色 | — | — | `shop:default_role` |
|
||||
| 调整实际信用额度 | — | — | `shop:credit_limit_manage` |
|
||||
| 编辑店铺 | — | — | `shop:edit` |
|
||||
| 删除店铺 | — | — | `shop:delete` |
|
||||
| 审计记录 | — | — | `audit:shop_entry` / `audit:agent_resource_activity` |
|
||||
| 资金链路 | — | — | `audit:finance_timeline` |
|
||||
|
||||
## 店铺管理:业务用户组
|
||||
|
||||
页面 URL:`/shop-management/business-user-groups`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| -------- | --------- | ----------------------------- |
|
||||
| 页面查看 | `page` | `business_user_group:page` |
|
||||
| 新增 | `create` | `business_user_group:create` |
|
||||
| 编辑 | `update` | `business_user_group:update` |
|
||||
| 删除 | `delete` | `business_user_group:delete` |
|
||||
| 成员管理 | `members` | `business_user_group:members` |
|
||||
|
||||
## 店铺管理:业务负责人导入
|
||||
|
||||
页面 URL:`/shop-management/business-owner-import`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| ---------------------------- | -------------- | ----------------------------------- |
|
||||
| 页面查看 | `importPage` | `shop:business_owner_import_view` |
|
||||
| 创建导入任务 | `importCreate` | `shop:business_owner_import_create` |
|
||||
| 详情按钮 | `importDetail` | `shop:business_owner_import_detail` |
|
||||
| 详情页面(当前为列表页抽屉) | `importDetail` | `shop:business_owner_import_detail` |
|
||||
|
||||
## 店铺管理:代理注册申请
|
||||
|
||||
列表不显示操作列,点击“申请店铺”名称进入详情页。
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 申请列表 | `/shop-management/agent-distribution-registrations` | `list` | `agent_distribution_registration:list` |
|
||||
| 申请详情 | `/shop-management/agent-distribution-registrations/detail/:id` | `detail` | `agent_distribution_registration:detail` |
|
||||
| 恢复审批 | — | `recoverApproval` | `agent_distribution_registration:recover_approval` |
|
||||
|
||||
## 资产管理:手机号资产关联
|
||||
|
||||
页面 URL:`/asset-management/phone-asset-association`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| ---------------- | -------------------- | ---------------------------------------------- |
|
||||
| 页面查看 | `list` | `phone_asset_association:list` |
|
||||
| 单条解绑 | `unbind` | `phone_asset_association:unbind` |
|
||||
| 批量解绑 | `unbindBatch` | `phone_asset_association:unbind_batch` |
|
||||
| 解绑导入页面 | `unbindImportPage` | `phone_asset_association:unbind_import_view` |
|
||||
| 创建解绑导入任务 | `unbindImportCreate` | `phone_asset_association:unbind_import_create` |
|
||||
|
||||
## 资产管理:解绑导入任务
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 任务列表 | `/asset-management/task-management/phone-asset-unbind-import-tasks` | `unbindImportPage` | `phone_asset_association:unbind_import_page` |
|
||||
| 任务详情 | `/asset-management/task-management/phone-asset-unbind-import-tasks/detail` | `unbindImportDetail` | `phone_asset_association:unbind_import_detail` |
|
||||
| 详情按钮 | — | `unbindImportDetail` | `asset_association:unbind_import_detail` |
|
||||
|
||||
## 资产管理:临期资产
|
||||
|
||||
页面 URL:`/asset-management/expiring-assets`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| -------- | -------- | ----------------------- |
|
||||
| 页面查看 | `page` | `expiring_asset:page` |
|
||||
| 导出 | `export` | `expiring_asset:export` |
|
||||
|
||||
## 资产管理:导出任务页面
|
||||
|
||||
详情按钮为导出任务列表中的任务编号点击入口,权限编码按导出场景区分;详情页面统一使用 `id` 查询参数。
|
||||
|
||||
| 导出场景 | 列表页面 URL | 页面权限编码 | 详情按钮权限编码 | 详情页面 URL |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| 设备 | `/asset-management/export-task-management/export-device` | `export_task:device_page` | `export_task:device_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| IoT 卡 | `/asset-management/export-task-management/export-iot-card` | `export_task:iot_card_page` | `export_task:iot_card_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 订单 | `/asset-management/export-task-management/export-order` | `export_task:order_page` | `export_task:order_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 套餐 | `/asset-management/export-task-management/export-package` | `export_task:package_page` | `export_task:package_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 代理主钱包流水 | `/asset-management/export-task-management/export-agent-wallet-transaction` | `export_task:agent_wallet_transaction_page` | `export_task:agent_wallet_transaction_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 代理充值 | `/asset-management/export-task-management/export-agent-recharge` | `export_task:agent_recharge_page` | `export_task:agent_recharge_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 退款 | `/asset-management/export-task-management/export-refund` | `export_task:refund_page` | `export_task:refund_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 换货 | `/asset-management/export-task-management/export-exchange` | `export_task:exchange_page` | `export_task:exchange_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 佣金明细 | `/asset-management/export-task-management/export-commission-record` | `export_task:commission_record_page` | `export_task:commission_record_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 套餐真流量达量预警 | `/asset-management/export-task-management/export-package-traffic-alert` | `export_task:package_traffic_alert_page` | `export_task:package_traffic_alert_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 临期资产 | `/asset-management/export-task-management/export-expiring-asset` | `export_task:expiring_asset_page` | `export_task:expiring_asset_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 设备激活报表 | `/asset-management/export-task-management/export-operations-activation` | `export_task:operations_activation_page` | `export_task:operations_activation_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
| 套餐续费报表 | `/asset-management/export-task-management/export-operations-renewal` | `export_task:operations_renewal_page` | `export_task:operations_renewal_detail` | `/asset-management/export-task-management/export-task-detail?id=:id` |
|
||||
|
||||
## 财务管理:退款管理
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --------- | ---------------------------- | ----------------- | ------------------------- |
|
||||
| 退款列表 | `/finance/refund` | `page` | `refund:page` |
|
||||
| 退款详情 | `/finance/refund/detail/:id` | `detailPage` | `refund:detail_page` |
|
||||
| 恢复审批 | — | `recoverApproval` | `refund:recover_approval` |
|
||||
|
||||
## 财务管理:员工代收款账单
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 账单列表 | `/finance/employee-collection/bills` | `billPage` | `employee_collection:bill_view` |
|
||||
| 账单详情 | `/finance/employee-collection/bills/detail/:id` | `billDetail` | `employee_collection:bill_detail` |
|
||||
| 创建核销申请 | — | `applicationCreate` | `employee_collection:application_create` |
|
||||
| 关闭账单 | — | `billClose` | `employee_collection:bill_close` |
|
||||
|
||||
## 财务管理:核销申请
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 申请列表 | `/finance/employee-collection/applications` | `applicationPage` | `employee_collection:application_view` |
|
||||
| 申请详情 | `/finance/employee-collection/applications/detail/:id` | `applicationDetail` | `employee_collection:application_detail` |
|
||||
| 修改并重新提交 | — | `applicationUpdate` | `employee_collection:application_update` |
|
||||
| 查看凭证 | — | `applicationViewVoucher` | `employee_collection:application_view_voucher` |
|
||||
|
||||
## 财务管理:收款方式管理
|
||||
|
||||
页面 URL:`/finance/employee-collection/payment-methods`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| -------- | --------------------- | ------------------------------------------- |
|
||||
| 页面查看 | `paymentMethodPage` | `employee_collection:payment_method_view` |
|
||||
| 新增 | `paymentMethodCreate` | `employee_collection:payment_method_create` |
|
||||
| 编辑 | `paymentMethodEdit` | `employee_collection:payment_method_edit` |
|
||||
| 删除 | `paymentMethodDelete` | `employee_collection:payment_method_delete` |
|
||||
|
||||
## 财务管理:代理商资金概况
|
||||
|
||||
页面 URL:`/finance/agent-fund-overview`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| ------------ | ------------------ | --------------------------------------- |
|
||||
| 页面查看 | `page` | `agent_fund_overview:page` |
|
||||
| 佣金明细导出 | `commissionExport` | `agent_fund_overview:commission_export` |
|
||||
|
||||
## 设置:商户池管理
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 管理页面 | `/settings/payment-merchant-pools` | `page` | `payment_merchant_pool:page` |
|
||||
| 商户详情 | `/settings/payment-merchant-pools/detail/:id` | `merchantDetail` | `payment_merchant_pool:merchant_detail` |
|
||||
| 商户池详情 | `/settings/payment-merchant-pools/pool-detail/:id` | `poolDetail` | `payment_merchant_pool:pool_detail` |
|
||||
| 新增/编辑/启停/删除商户 | — | — | `payment_merchant_pool:merchant_create` / `merchant_edit` / `merchant_toggle` / `merchant_delete` |
|
||||
| 新增/编辑/启停商户池 | — | — | `payment_merchant_pool:pool_create` / `pool_edit` / `pool_toggle` |
|
||||
| 保存微信授权配置 | — | `wechatAuthEdit` | `payment_merchant_pool:wechat_auth_edit` |
|
||||
|
||||
## 设置:H5运营弹窗配置
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 配置列表 | `/settings/h5-popup-configuration` | `list` | `h5_popup_configuration:list` |
|
||||
| 配置详情 | `/settings/h5-popup-configuration/detail/:id` | `detail` | `h5_popup_configuration:detail` |
|
||||
| 新增/编辑/启用/停用 | — | — | `h5_popup_configuration:create` / `update` / `enable` / `disable` |
|
||||
|
||||
## 设置:资产钱包自动续费
|
||||
|
||||
| 页面/操作 | URL | 权限名称 | 权限编码 |
|
||||
| --- | --- | --- | --- |
|
||||
| 页面查看 | `/settings/asset-wallet-auto-renewal` | `page` | `asset_wallet_auto_renewal:page` |
|
||||
| 保存配置 | — | `update` | `asset_wallet_auto_renewal:update` |
|
||||
|
||||
## 轮询管理:优先队列
|
||||
|
||||
页面 URL:`/polling-management/priority-queue`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| ------------ | -------- | ------------------------------- |
|
||||
| 页面查看 | `page` | `polling_priority_queue:page` |
|
||||
| 人工优先入队 | `create` | `polling_priority_queue:create` |
|
||||
| 查看详情 | `detail` | `polling_priority_queue:detail` |
|
||||
|
||||
## 运营报表:设备激活报表
|
||||
|
||||
页面 URL:`/operations-reports/activation`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| -------- | ------------------ | -------------------------------------- |
|
||||
| 页面查看 | `activationPage` | `operations_reports:activation_page` |
|
||||
| 导出 | `activationExport` | `operations_reports:activation_export` |
|
||||
|
||||
## 运营报表:套餐续费报表
|
||||
|
||||
页面 URL:`/operations-reports/renewal`
|
||||
|
||||
| 类型 | 权限名称 | 权限编码 |
|
||||
| -------- | --------------- | ----------------------------------- |
|
||||
| 页面查看 | `renewalPage` | `operations_reports:renewal_page` |
|
||||
| 导出 | `renewalExport` | `operations_reports:renewal_export` |
|
||||
|
||||
## 通用:导出任务详情
|
||||
|
||||
页面 URL:`/asset-management/export-task-management/export-task-detail`
|
||||
|
||||
- 页面权限:`export_task:detail_page`
|
||||
- 各场景详情权限:`export_task:<scene>_detail`
|
||||
- 各场景下载权限:`export_task:<scene>_download`
|
||||
|
||||
所有权限编码必须保持唯一;页面 URL 权限与按钮权限应分别定义。
|
||||
Reference in New Issue
Block a user