export const adminPayStatusOptions = [
  { label: '全部', value: '' },
  { label: '未支付', value: 'unpaid' },
  { label: '已支付', value: 'paid' },
  { label: '失败', value: 'failed' },
  { label: '已退款', value: 'refunded' },
]

export const adminOrderExecutorOptions = [
  { label: '乐玩云', value: 'kuaishou_ct_assisted' },
  { label: '飞飞', value: 'kuaishou_feifei' },
  { label: 'Affiliate Dash', value: 'affiliate_dash' },
  { label: '行业凭证', value: 'kuaishou-industry' },
  { label: '人工履约', value: 'manual_dispatch' },
]

export const adminTaskStatusOptions = [
  { label: '全部', value: '' },
  { label: '待支付', value: 'pending_payment' },
  { label: '已支付', value: 'paid' },
  { label: '已生成链接', value: 'link_generated' },
  { label: '已创建会话', value: 'claimed' },
  { label: '待准备绑定', value: 'pending_binding_prepare' },
  { label: '待客户绑定', value: 'waiting_binding' },
  { label: '已确认角色', value: 'role_confirmed' },
  { label: '兑换中', value: 'redeeming' },
  { label: '待退还号码', value: 'dispatched_pending_return' },
  { label: '已完成', value: 'completed' },
  { label: '已兑换', value: 'redeemed' },
  { label: '待重试', value: 'retry_pending' },
  { label: '人工处理', value: 'manual_review' },
  { label: '失败', value: 'failed' },
  { label: '已过期', value: 'expired' },
  { label: '已关闭', value: 'closed' },
]

export const adminUserRoleOptions = [
  { label: '全部', value: '' },
  { label: '管理员', value: 'admin' },
  { label: '普通运营', value: 'operator' },
  { label: '客服', value: 'support' },
  { label: '财务', value: 'finance' },
]

export const adminUserStatusOptions = [
  { label: '全部', value: '' },
  { label: '生效中', value: 'active' },
  { label: '已停用', value: 'disabled' },
]

export const adminAuditActionOptions = [
  { label: '资金申请审核（通过/拒绝）', value: 'worker_finance_request_reviewed' },
  { label: '打手退单申请审核', value: 'worker_cancel_request_reviewed' },
  { label: '打手账号审核', value: 'worker_reviewed' },
  { label: '打手钱包手动加款', value: 'worker_wallet_credited' },
  { label: '重置打手密码', value: 'worker_password_reset' },
  { label: '创建后台用户', value: 'admin_user_created' },
  { label: '修改用户角色', value: 'admin_user_role_updated' },
  { label: '修改用户状态', value: 'admin_user_status_updated' },
  { label: '重置用户密码', value: 'admin_user_password_reset' },
  { label: '换绑角色', value: 'task_kuaishou_cloud_rebind_role' },
  { label: '关闭任务', value: 'task_closed' },
  { label: '转人工处理', value: 'task_mark_manual_review' },
  { label: '工单发布', value: 'work_order_published' },
  { label: '工单下架', value: 'work_order_unpublished' },
  { label: '工单信息更新', value: 'work_order_updated' },
  { label: '工单删除', value: 'work_order_deleted' },
  { label: '工单验收', value: 'work_order_accepted' },
  { label: '批量验收', value: 'work_orders_batch_accepted' },
  { label: '工单标记问题', value: 'work_order_marked_problem' },
  { label: '问题单处置', value: 'work_order_problem_resolved' },
  { label: '工单重新打开', value: 'work_order_reopened' },
  { label: '工单置顶切换', value: 'work_order_pin_toggled' },
  { label: '工单指派打手', value: 'work_order_worker_assigned' },
  { label: '工单取消指派', value: 'work_order_worker_unassigned' },
  { label: '工单资料保存', value: 'work_order_material_saved' },
  { label: '拼单份额验收', value: 'work_order_share_accepted' },
  { label: '拼单份额取消', value: 'work_order_share_cancelled' },
  { label: '拼单配置更新', value: 'work_order_sharing_config_updated' },
  { label: '押金扣除', value: 'work_order_pending_deposit_deducted' },
  { label: '售后问题单创建', value: 'after_sales_case_created' },
  { label: '售后问题单处置', value: 'after_sales_case_resolved' },
  { label: '接单等级保存', value: 'worker_level_saved' },
  { label: '接单等级删除', value: 'worker_level_deleted' },
  { label: '接单分类保存', value: 'work_category_saved' },
  { label: '接单分类删除', value: 'work_category_deleted' },
  { label: '接单模板保存', value: 'work_product_rule_saved' },
  { label: '接单模板删除', value: 'work_product_rule_deleted' },
  { label: '模板价格同步', value: 'work_product_rule_price_synced' },
  { label: '商品映射保存', value: 'work_product_mapping_saved' },
  { label: '打手提现账户保存', value: 'worker_withdrawal_account_saved' },
  { label: '资金配置保存', value: 'worker_finance_config_saved' },
  { label: '大厅配置保存', value: 'worker_hall_config_saved' },
  { label: '公告保存', value: 'worker_announcement_saved' },
  { label: '通知配置保存', value: 'worker_platform_notification_config_saved' },
  { label: '商品匹配配置保存', value: 'worker_product_match_config_saved' },
  { label: '更新店铺配置', value: 'platform_shop_config_updated' },
  { label: '更新履约配置', value: 'platform_fulfillment_config_updated' },
]

export const adminAuditTargetTypeOptions = [
  { label: '资金申请', value: 'worker_finance_request' },
  { label: '打手退单申请', value: 'worker_cancel_request' },
  { label: '打手', value: 'worker' },
  { label: '接单工单', value: 'work_order' },
  { label: '拼单份额', value: 'work_order_share' },
  { label: '售后问题单', value: 'after_sales_case' },
  { label: '接单等级', value: 'worker_level' },
  { label: '接单分类', value: 'work_category' },
  { label: '接单模板', value: 'work_product_rule' },
  { label: '商品映射', value: 'work_product_mapping' },
  { label: '后台用户', value: 'admin_user' },
  { label: '交付任务', value: 'task' },
  { label: '平台配置', value: 'platform_config' },
]
