feat: update aftersales labels and service type options
This commit is contained in:
@@ -33,9 +33,9 @@ import type {
|
||||
} from '@/types';
|
||||
|
||||
const SERVICE_TYPE_LABEL: Record<AftersalesServiceType, string> = {
|
||||
software: '软件',
|
||||
hardware: '硬件',
|
||||
other: '其他',
|
||||
software: '软件故障',
|
||||
hardware: '硬件故障',
|
||||
maintenance: '售后维保',
|
||||
};
|
||||
|
||||
const WORK_ORDER_STATUS_LABEL: Record<AftersalesWorkOrderStatus, string> = {
|
||||
@@ -275,7 +275,7 @@ function AftersalesDetailPage() {
|
||||
{isAdmin && !isClosed && (
|
||||
<>
|
||||
<Button icon={<UserSwitchOutlined />} onClick={openReassign}>
|
||||
重新分配
|
||||
工单分配
|
||||
</Button>
|
||||
<Button danger icon={<StopOutlined />} onClick={handleForceClose}>
|
||||
强制关闭
|
||||
@@ -325,7 +325,7 @@ function AftersalesDetailPage() {
|
||||
{order.authorizationStatus === 'authorized' && order.signature && (
|
||||
<div style={{ marginBottom: 24 }}>
|
||||
<div style={{ fontSize: 13, color: '#595959', marginBottom: 8 }}>
|
||||
客户签名
|
||||
客户确认签名
|
||||
{order.confirmedAt && (
|
||||
<span style={{ marginLeft: 12, color: '#8c8c8c', fontSize: 12 }}>
|
||||
签署时间:{new Date(order.confirmedAt).toLocaleString('zh-CN')}
|
||||
@@ -334,7 +334,7 @@ function AftersalesDetailPage() {
|
||||
</div>
|
||||
<img
|
||||
src={order.signature}
|
||||
alt="客户签名"
|
||||
alt="客户确认签名"
|
||||
style={{
|
||||
maxWidth: 480,
|
||||
width: '100%',
|
||||
@@ -390,8 +390,8 @@ function AftersalesDetailPage() {
|
||||
</Space>
|
||||
<Form.Item
|
||||
name="issueDescription"
|
||||
label="问题反馈"
|
||||
rules={[{ required: true, message: '请填写问题反馈' }]}
|
||||
label="问题描述反馈"
|
||||
rules={[{ required: true, message: '请填写问题描述反馈' }]}
|
||||
>
|
||||
<Input.TextArea rows={3} />
|
||||
</Form.Item>
|
||||
@@ -460,7 +460,7 @@ function AftersalesDetailPage() {
|
||||
</Modal>
|
||||
|
||||
<Modal
|
||||
title="重新分配技术员"
|
||||
title="工单分配"
|
||||
open={reassignModalVisible}
|
||||
onCancel={() => {
|
||||
setReassignModalVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user