Commit e1f3c630 authored by XieZhiXiong's avatar XieZhiXiong

chore: 跟进接口字段

parent 3f711c8f
...@@ -27,12 +27,46 @@ export interface FetchParams { ...@@ -27,12 +27,46 @@ export interface FetchParams {
}; };
export interface ListItem { export interface ListItem {
id: number; /**
createTime: string; * 主键id
content: string; */
reason: string; id: number
byMemberName: string; /**
remark: string; * 业务类型1-投诉2-建议
*/
type: number
/**
* 业务类型名称
*/
typeName: string
/**
* 事件分类
*/
classify: number
/**
* 事件分类名称
*/
classifyName: string
/**
* 投诉建议方
*/
name: string
/**
* 事件描述
*/
subject: string
/**
* 事件时间,格式为yyyy-MM-ddHH:mm:ss
*/
eventTime: string
/**
* 处理时间,格式为yyyy-MM-ddHH:mm:ss
*/
handleTime: string
/**
* 处理结果
*/
result: string
}; };
interface IProps extends MellowCardProps { interface IProps extends MellowCardProps {
...@@ -61,26 +95,38 @@ const MemberFeedbackRecords: React.FC<IProps> = (props: IProps) => { ...@@ -61,26 +95,38 @@ const MemberFeedbackRecords: React.FC<IProps> = (props: IProps) => {
const recordColumns: EditableColumns[] = [ const recordColumns: EditableColumns[] = [
{ {
title: '标题', title: '业务类型',
dataIndex: 'remark', dataIndex: 'typeName',
}, },
{ {
title: '原因', title: '事件分类',
dataIndex: 'content', dataIndex: 'classifyName',
ellipsis: true, ellipsis: true,
}, },
{ {
title: '反馈方', title: '投诉建议方',
dataIndex: 'byMemberName', dataIndex: 'name',
}, },
{ {
title: '处理结果', title: '事件描述',
dataIndex: 'reason', dataIndex: 'subject',
ellipsis: true, ellipsis: true,
}, },
{ {
title: '单据时间', title: '事件时间',
dataIndex: 'createTime', dataIndex: 'eventTime',
align: 'center',
ellipsis: true,
},
{
title: '处理时间',
dataIndex: 'handleTime',
align: 'center',
ellipsis: true,
},
{
title: '处理结果',
dataIndex: 'result',
align: 'center', align: 'center',
ellipsis: true, ellipsis: true,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment