123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- 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: 'createBy',
- },
- {
- title: '创建日期',
- align: 'center',
- dataIndex: 'createTime',
- },
- {
- title: '更新人',
- align: 'center',
- dataIndex: 'updateBy',
- },
- {
- title: '更新日期',
- align: 'center',
- dataIndex: 'updateTime',
- },
- {
- title: '站点code',
- align: 'center',
- dataIndex: 'siteCode',
- },
- {
- title: 'mq生产时间',
- align: 'center',
- dataIndex: 'requestTime',
- },
- {
- title: 'wp产品ID',
- align: 'center',
- dataIndex: 'productId',
- },
- {
- title: 'wp产品类型,adwebpro or woocommerce',
- align: 'center',
- dataIndex: 'productType',
- },
- {
- title: 'wp产品操作类型, add, edit, delete',
- align: 'center',
- dataIndex: 'actionType',
- },
- {
- title: 'wp产品名称',
- align: 'center',
- dataIndex: 'productName',
- },
- {
- title: 'wp产品中文名称',
- align: 'center',
- dataIndex: 'productsNameZh',
- },
- {
- title: 'wp产品封面图',
- align: 'center',
- dataIndex: 'productImage',
- },
- {
- title: 'wp产品图库',
- align: 'center',
- dataIndex: 'productGalleryImage',
- },
- {
- title: 'wp产品分类',
- align: 'center',
- dataIndex: 'categoryName',
- },
- {
- title: 'wp产品作者',
- align: 'center',
- dataIndex: 'authorName',
- },
- ];
- // 高级查询数据
- export const superQuerySchema = {
- createBy: { title: '创建人', order: 0, view: 'text', type: 'string' },
- createTime: { title: '创建日期', order: 1, view: 'datetime', type: 'string' },
- updateBy: { title: '更新人', order: 2, view: 'text', type: 'string' },
- updateTime: { title: '更新日期', order: 3, view: 'datetime', type: 'string' },
- siteCode: { title: '站点code', order: 4, view: 'text', type: 'string' },
- requestTime: { title: 'mq生产时间', order: 5, view: 'text', type: 'string' },
- productId: { title: 'wp产品ID', order: 6, view: 'number', type: 'number' },
- productType: { title: 'wp产品类型,adwebpro or woocommerce', order: 7, view: 'text', type: 'string' },
- actionType: { title: 'wp产品操作类型, add, edit, delete', order: 8, view: 'text', type: 'string' },
- productName: { title: 'wp产品名称', order: 9, view: 'text', type: 'string' },
- productsNameZh: { title: 'wp产品中文名称', order: 10, view: 'text', type: 'string' },
- productImage: { title: 'wp产品封面图', order: 11, view: 'text', type: 'string' },
- productGalleryImage: { title: 'wp产品图库', order: 12, view: 'text', type: 'string' },
- categoryName: { title: 'wp产品分类', order: 13, view: 'text', type: 'string' },
- authorName: { title: 'wp产品作者', order: 14, view: 'text', type: 'string' },
- };
|