|
@@ -55,20 +55,24 @@ function HistoryManage(props) {
|
|
|
{
|
|
|
label: '用户ID:',
|
|
|
type: 'input',
|
|
|
- key: 'promoterId',
|
|
|
+ key: 'userinfoId',
|
|
|
reg: 'id',
|
|
|
},
|
|
|
{
|
|
|
label: '事件标识:',
|
|
|
type: 'input',
|
|
|
key: 'eventType',
|
|
|
- reg: 'number',
|
|
|
+ // reg: 'number',
|
|
|
},
|
|
|
{
|
|
|
label: '任务状态:',
|
|
|
type: 'select',
|
|
|
- option: [{ value: '0', label: '未上线' }, { value: '1', label: '已上线' }],
|
|
|
- key: 'isOnline',
|
|
|
+ option: [
|
|
|
+ { value: '0', label: '全部' },
|
|
|
+ { value: '1', label: '已完成' },
|
|
|
+ { value: '2', label: '未完成' },
|
|
|
+ ],
|
|
|
+ key: 'status',
|
|
|
},
|
|
|
{
|
|
|
label: '任务时间:',
|
|
@@ -97,14 +101,14 @@ function HistoryManage(props) {
|
|
|
dataIndex: 'callback',
|
|
|
},
|
|
|
{
|
|
|
- title: '用户ID',
|
|
|
- dataIndex: 'userid',
|
|
|
+ title: '任务时间',
|
|
|
+ dataIndex: 'createTime',
|
|
|
},
|
|
|
{
|
|
|
title: '完成状态',
|
|
|
dataIndex: 'isFinished',
|
|
|
render: (e, text) => {
|
|
|
- return text.isOnline ? <span>已上线</span> : <span>未上线</span>;
|
|
|
+ return text.isFinished ? <span>已完成</span> : <span>未完成</span>;
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -125,32 +129,7 @@ function HistoryManage(props) {
|
|
|
columnConfig: tableColumns,
|
|
|
rowKey: 'id',
|
|
|
};
|
|
|
- const formSetting = [
|
|
|
- {
|
|
|
- label: '事件标识',
|
|
|
- isRequired: true,
|
|
|
- type: 'input',
|
|
|
- key: 'eventType',
|
|
|
- maxLength: 20,
|
|
|
- placeholder: '2-20个字符',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '事件名称',
|
|
|
- isRequired: true,
|
|
|
- type: 'input',
|
|
|
- key: 'eventName',
|
|
|
- maxLength: 20,
|
|
|
- placeholder: '2-20个字符',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '备注',
|
|
|
- isRequired: true,
|
|
|
- type: 'input',
|
|
|
- key: 'remarks',
|
|
|
- maxLength: 20,
|
|
|
- placeholder: '2-20个字符',
|
|
|
- },
|
|
|
- ];
|
|
|
+ const formSetting = [];
|
|
|
useEffect(() => {}, []);
|
|
|
let getCheck = null;
|
|
|
return (
|