2025-06-11 11:17:12 +08:00
|
|
|
import {BasicColumn} from '/@/components/Table';
|
|
|
|
import {FormSchema} from '/@/components/Table';
|
|
|
|
import { rules} from '/@/utils/helper/validator';
|
|
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
|
|
|
//列表数据
|
|
|
|
export const columns: BasicColumn[] = [
|
|
|
|
{
|
|
|
|
title: '表号',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'address'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '类型',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'type_dictText'
|
|
|
|
},
|
|
|
|
{
|
2025-06-19 09:40:52 +08:00
|
|
|
title: '上次请求时的值',
|
2025-06-11 11:17:12 +08:00
|
|
|
align: "center",
|
|
|
|
dataIndex: 'requestValue'
|
|
|
|
},
|
|
|
|
{
|
2025-06-19 09:40:52 +08:00
|
|
|
title: '本次请求值',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'resolveValue'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '本次请求时间',
|
2025-06-11 11:17:12 +08:00
|
|
|
align: "center",
|
|
|
|
dataIndex: 'requestTime'
|
|
|
|
},
|
|
|
|
{
|
2025-06-19 09:40:52 +08:00
|
|
|
title: '本次请求状态',
|
2025-06-11 11:17:12 +08:00
|
|
|
align: "center",
|
|
|
|
dataIndex: 'requestStatus_dictText'
|
|
|
|
},
|
|
|
|
{
|
2025-06-19 09:40:52 +08:00
|
|
|
title: '本次反馈时间',
|
2025-06-11 11:17:12 +08:00
|
|
|
align: "center",
|
2025-06-19 09:40:52 +08:00
|
|
|
dataIndex: 'resolveTime'
|
2025-06-11 11:17:12 +08:00
|
|
|
},
|
|
|
|
{
|
2025-06-19 09:40:52 +08:00
|
|
|
title: '本次反馈状态',
|
2025-06-11 11:17:12 +08:00
|
|
|
align: "center",
|
2025-06-19 09:40:52 +08:00
|
|
|
dataIndex: 'resolveStatus_dictText'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '反馈描述',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'resolveRemark',
|
|
|
|
defaultHidden: true
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
//列表数据
|
|
|
|
export const columns2: BasicColumn[] = [
|
|
|
|
{
|
|
|
|
title: '表号',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'address'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '类型',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'type_dictText'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '本次请求时间',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'requestTime'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '本次请求状态',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'requestStatus_dictText'
|
2025-06-11 11:17:12 +08:00
|
|
|
},
|
|
|
|
{
|
2025-06-19 09:40:52 +08:00
|
|
|
title: '本次反馈时间',
|
2025-06-11 11:17:12 +08:00
|
|
|
align: "center",
|
|
|
|
dataIndex: 'resolveTime'
|
|
|
|
},
|
|
|
|
{
|
2025-06-19 09:40:52 +08:00
|
|
|
title: '本次反馈状态',
|
2025-06-11 11:17:12 +08:00
|
|
|
align: "center",
|
|
|
|
dataIndex: 'resolveStatus_dictText'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '反馈描述',
|
|
|
|
align: "center",
|
2025-06-19 09:40:52 +08:00
|
|
|
dataIndex: 'resolveRemark',
|
|
|
|
defaultHidden: true
|
2025-06-11 11:17:12 +08:00
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
// 高级查询数据
|
|
|
|
export const superQuerySchema = {
|
|
|
|
address: {title: '表号',order: 0,view: 'text', type: 'string',},
|
|
|
|
type: {title: '类型',order: 1,view: 'list', type: 'string',dictCode: 'dbsb_type',},
|
|
|
|
requestValue: {title: '请求时的值',order: 2,view: 'text', type: 'string',},
|
|
|
|
requestTime: {title: '请求时间',order: 3,view: 'text', type: 'string',},
|
|
|
|
requestStatus: {title: '请求状态',order: 4,view: 'list', type: 'string',dictCode: '',},
|
|
|
|
requestRemark: {title: '请求描述',order: 5,view: 'text', type: 'string',},
|
|
|
|
resolveValue: {title: '反馈值',order: 6,view: 'text', type: 'string',},
|
|
|
|
resolveTime: {title: '反馈时间',order: 7,view: 'text', type: 'string',},
|
|
|
|
resolveStatus: {title: '反馈状态',order: 8,view: 'list', type: 'string',dictCode: 'dbsb_status',},
|
|
|
|
resolveRemark: {title: '反馈描述',order: 9,view: 'text', type: 'string',},
|
|
|
|
};
|