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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
| const labelWidth = '20%'
| import store from "@/store";
| const user = store.getters.userInfo
| const userId = user.user_id
| export default {
| height:'auto',
| calcHeight: 30,
| tip: false,
| searchShow: true,
| searchMenuSpan: 6,
| border: true,
| index: true,
| viewBtn: true,
| selection: true,
| dialogClickModal: false,
| column: [
| {
| label: "主键",
| prop: "id",
| type: "input",
| addDisplay: false,
| editDisplay: false,
| viewDisplay: false,
| hide: true,
| display:false,
| },
| {
| label: "申请编号",
| labelWidth:'10%',
| prop: "no",
| span:24,
| type: "select",
| dicUrl: "/api/application/application/getAll?status=10&&userId="+userId,
| props:{
| label:"no",
| value:"no"
| },
| typeformat(item, label, value) {
| console.log(item,label,value)
| return `${item[label]}`
| },
| rules: [{required: true, trigger: ['blur','change'],message:'请输入申请编号'}]
| },
| {
| label: "通行开始时间",
| labelWidth:labelWidth,
| prop: "delayStartTime",
| type: "date",
| format:'yyyy-MM-dd',
| valueFormat:'yyyy-MM-dd',
| disabled:false,
| },
| {
| label: "通行开始时间",
| labelWidth:labelWidth,
| prop: "delayEndTime",
| type: "date",
| format:'yyyy-MM-dd',
| valueFormat:'yyyy-MM-dd',
| disabled:false,
| },
| {
| label: "行驶路线",
| span:12,
| row: true,
| labelWidth:labelWidth,
| prop: "pathWay",
| type: "textarea",
| minRows:2,
| },
| {
| label: "延期原因",
| span: 12,
| row:true,
| labelWidth:labelWidth,
| prop: "reason",
| type: "select",
| dicUrl: "/api/blade-system/dict-biz/dictionary?code=delay_reason",
| props:{
| label:"dictValue",
| value:"dictKey"
| }
| },
| {
| label: "备注",
| labelWidth:labelWidth,
| prop: "remark",
| type: "textarea",
| minRows:2,
| },
| ]
| }
|
| export const detailOption = {
| height:'auto',
| calcHeight: 30,
| tip: false,
| submitBtn:false,
| emptyBtn:false,
| border: true,
| index: true,
| selection: true,
| dialogClickModal: false,
| detail:true,
| column: [
| {
| label: "申请编号",
| labelWidth:'10%',
| prop: "no",
| span:24,
| type: "select",
| disabled:true,
| dicUrl: "/api/application/application/getAll?status=10",
| props:{
| label:"no",
| value:"no"
| },
| },
| {
| label: "通行开始时间",
| labelWidth:labelWidth,
| prop: "delayStartTime",
| type: "date",
| format:'yyyy-MM-dd',
| valueFormat:'yyyy-MM-dd',
| disabled:true,
| },
| {
| label: "通行开始时间",
| labelWidth:labelWidth,
| prop: "delayEndTime",
| type: "date",
| format:'yyyy-MM-dd',
| valueFormat:'yyyy-MM-dd',
| disabled:true,
| },
| {
| label: "行驶路线",
| span:12,
| row: true,
| labelWidth:labelWidth,
| disabled:true,
| prop: "pathWay",
| type: "textarea",
| minRows:2,
| },
| {
| label: "延期原因",
| span: 12,
| row:true,
| labelWidth:labelWidth,
| prop: "reason",
| type: "select",
| dicUrl: "/api/blade-system/dict-biz/dictionary?code=delay_reason",
| props:{
| label:"dictValue",
| value:"dictKey"
| },
| disabled:true,
| },
| {
| label: "备注",
| labelWidth:labelWidth,
| prop: "remark",
| type: "textarea",
| minRows:2,
| disabled:true,
| },
| ]
| }
|
|