feat(worker-platform): 增加寄卖白名单总开关,关闭后全员可发布
资金配置与打手列表可一键切换白名单模式;发布校验、打手端入口按总开关放行。同时收紧未开通判定、关权限确认和开通弹窗文案。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -10,8 +10,12 @@ export type WorkerContactModalProps = {
|
||||
worker?: WorkerUser | null
|
||||
financeConfig?: WorkerFinanceConfig | null
|
||||
title?: string
|
||||
alertMessage?: string
|
||||
}
|
||||
|
||||
const DEFAULT_ALERT_MESSAGE =
|
||||
'如需取消已接订单,请扫码联系客服处理。充值、提现与审核问题也由后台人工客服处理。'
|
||||
|
||||
export function WorkerContactModal({
|
||||
open,
|
||||
onClose,
|
||||
@@ -19,6 +23,7 @@ export function WorkerContactModal({
|
||||
worker,
|
||||
financeConfig,
|
||||
title = '联系客服',
|
||||
alertMessage = DEFAULT_ALERT_MESSAGE,
|
||||
}: WorkerContactModalProps) {
|
||||
return (
|
||||
<Modal
|
||||
@@ -34,11 +39,7 @@ export function WorkerContactModal({
|
||||
onCancel={onClose}
|
||||
>
|
||||
<Space direction="vertical" size={16} className="full-width">
|
||||
<Alert
|
||||
showIcon
|
||||
type="info"
|
||||
message="如需取消已接订单,请扫码联系客服处理。充值、提现与审核问题也由后台人工客服处理。"
|
||||
/>
|
||||
<Alert showIcon type="info" message={alertMessage} />
|
||||
{financeConfig?.adminContact?.wechatQrCodeImage ? (
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<Image
|
||||
|
||||
Reference in New Issue
Block a user