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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
| export default {
| tip: false,
| searchShow: true,
| searchMenuSpan: 6,
| border: true,
| index: true,
| viewBtn: false,
| delBtn: false,
| editBtn: false,
| selection: true,
| dialogClickModal: false,
| columnBtn: false,
| highlightCurrentRow: true,
| rowKey: "oid", //行数据的 Key,用来优化 Table 的渲染
| column: [
| {
| label: "编号",
| prop: "id",
| search: true,
| searchLabelWidth: 45,
| searchSpan: 4,
| sortable: true,
| rules: [{
| required: true,
| message: "请输入编号",
| trigger: "blur",
| }]
| },
| {
| label: "名称",
| prop: "name",
| search: true,
| searchLabelWidth: 45,
| searchSpan: 4,
| sortable: true,
| rules: [{
| required: true,
| message: "请输入名称",
| trigger: "blur"
| }]
| },
| {
| label: "依据",
| prop: "accordingTo",
| search: false,
| span: 24,
| type: "input",
| rules: [{
| required: true,
| message: "请输入依据",
| trigger: "blur"
| }]
| },
| {
| label: "描述",
| prop: "description",
| search: true,
| type: "textarea",
| searchLabelWidth: 45,
| searchSpan: 5,
| span: 24,
| overHidden: true,
| rules: [{
| required: false,
| message: "请输入描述",
| trigger: "blur"
| }]
| },
| {
| label: "状态",
| prop: "lcStatus",
| search: true,
| searchLabelWidth: 45,
| searchSpan: 5,
| display: false,
| hide: true,
| type: 'select',
| dicUrl: "/api/ubcs-omd/enum/dictionary?code=codeSearchLCStatus",
| props: {
| label: "itemName",
| value: "itemValue"
| },
| },
| {
| label: "状态",
| prop: "lcStatusText",
| // search: false,
| // searchLabelWidth: 45,
| // searchSpan: 5,
| display: false,
| },
| {
| label: "所有者",
| prop: "ownerText",
| display: false,
| },
| ]
| }
|
|