干燥机配套车间生产管理系统/云平台服务端
baoshiwei
2024-05-27 fa3ac93010bea3805438ee3ab0a182bfbf7423da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
 
export const columns: BasicColumn[] = [
  {
    title: '名称',
    dataIndex: 'testName',
    width: 200,
  },
  {
    title: '值',
    dataIndex: 'testValue',
    width: 180,
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    width: 180,
  },
];
 
export const searchFormSchema: FormSchema[] = [
  {
    field: 'testName',
    label: '名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];
 
export const formSchema: FormSchema[] = [
  {
    field: 'testName',
    label: '名称',
    required: true,
    component: 'Input',
  },
  {
    field: 'testValue',
    label: '值',
    required: true,
    component: 'Input',
  },
 
  {
    label: ' ',
    field: 'menu',
    slot: 'menu',
    component: 'Input',
  },
];