陈嘉新
authored
|
1
2
3
4
5
6
|
<template>
<div class="app-container">
<div class="app-container-father">
<div class="dv-container-left">
<div class="dv-container-left-component">
<div class="component-left">任务号:</div>
|
陈嘉新
authored
|
7
8
9
|
<div class="component-right">
<el-input v-model="queryConfig.taskNumber" />
</div>
|
陈嘉新
authored
|
10
11
12
13
|
</div>
<div class="dv-container-left-component">
<div class="component-left">远程任务号:</div>
|
陈嘉新
authored
|
14
15
16
|
<div class="component-right">
<el-input v-model="queryConfig.remoteTask" />
</div>
|
陈嘉新
authored
|
17
18
19
20
|
</div>
<div class="dv-container-left-component">
<div class="component-left">容器号:</div>
|
陈嘉新
authored
|
21
22
23
|
<div class="component-right">
<el-input v-model="queryConfig.barcode" />
</div>
|
陈嘉新
authored
|
24
25
26
27
|
</div>
<div class="dv-container-left-component">
<div class="component-left">起点:</div>
|
陈嘉新
authored
|
28
29
30
|
<div class="component-right">
<el-input v-model="queryConfig.from" />
</div>
|
陈嘉新
authored
|
31
32
33
34
|
</div>
<div class="dv-container-left-component">
<div class="component-left">终点:</div>
|
陈嘉新
authored
|
35
36
37
|
<div class="component-right">
<el-input v-model="queryConfig.to" />
</div>
|
陈嘉新
authored
|
38
39
40
41
|
</div>
<div class="dv-container-left-component">
<div class="component-left">任务状态:</div>
|
陈嘉新
authored
|
42
43
44
45
46
47
48
|
<div class="component-right">
<el-select v-model="value" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value"
|
|
49
|
/>
|
陈嘉新
authored
|
50
51
|
</el-select>
</div>
|
陈嘉新
authored
|
52
53
54
55
|
</div>
<div class="dv-container-left-component">
<div class="component-left">开始时间:</div>
|
陈嘉新
authored
|
56
57
|
<div class="component-right">
<el-date-picker
|
陈嘉新
authored
|
58
|
v-model="form.startTime"
|
陈嘉新
authored
|
59
60
|
type="datetime"
placeholder="选择日期时间"
|
|
61
|
/>
|
陈嘉新
authored
|
62
|
</div>
|
陈嘉新
authored
|
63
64
65
66
|
</div>
<div class="dv-container-left-component">
<div class="component-left">结束时间:</div>
|
陈嘉新
authored
|
67
68
|
<div class="component-right">
<el-date-picker
|
陈嘉新
authored
|
69
|
v-model="form.endTime"
|
陈嘉新
authored
|
70
71
|
type="datetime"
placeholder="选择日期时间"
|
|
72
|
/>
|
陈嘉新
authored
|
73
74
75
76
|
</div>
</div>
<!-- button -->
<div class="button-container">
|
陈嘉新
authored
|
77
78
|
<el-button class="T1" @click="btnAction()">查询</el-button>
<el-button class="T1" @click="btnAdd()">新增</el-button>
|
陈嘉新
authored
|
79
|
<el-button class="T1" @click="deleteData()">删除</el-button>
|
陈嘉新
authored
|
80
81
|
</div>
<div class="button-container">
|
陈嘉新
authored
|
82
83
|
<el-button class="T1" @click="issued()">下发</el-button>
<el-button class="T1" @click="ExportList()">导出</el-button>
|
陈嘉新
authored
|
84
85
|
</div>
<div class="button-containerTwo">
|
陈嘉新
authored
|
86
87
88
89
90
91
|
<el-button class="T1" type="danger" @click="forceComplete()"
>强制完成</el-button
>
<el-button class="T1" type="warning" @click="maintenance()"
>维护</el-button
>
|
陈嘉新
authored
|
92
93
94
95
96
|
</div>
</div>
<div class="dv-container-right">
<el-table
v-loading="listLoading"
|
陈嘉新
authored
|
97
|
:data="sysTable"
|
陈嘉新
authored
|
98
99
100
|
element-loading-text="Loading"
border
fit
|
陈嘉新
authored
|
101
102
|
height="700"
@selection-change="handleSelectionChange"
|
陈嘉新
authored
|
103
|
highlight-current-row
|
陈嘉新
authored
|
104
|
>
|
陈嘉新
authored
|
105
106
107
|
<el-table-column type="selection" align="center" width="55">
</el-table-column>
<el-table-column align="center" label="内部ID">
|
陈嘉新
authored
|
108
|
<template slot-scope="scope">
|
陈嘉新
authored
|
109
|
{{ scope.row.id }}
|
陈嘉新
authored
|
110
111
|
</template>
</el-table-column>
|
陈嘉新
authored
|
112
|
<el-table-column label="远程任务号" width="100">
|
陈嘉新
authored
|
113
|
<template slot-scope="scope">
|
陈嘉新
authored
|
114
|
{{ scope.row.remoteTask }}
|
陈嘉新
authored
|
115
116
|
</template>
</el-table-column>
|
陈嘉新
authored
|
117
|
<el-table-column label="远程前置任务号" width="120">
|
陈嘉新
authored
|
118
|
<template slot-scope="scope">
|
陈嘉新
authored
|
119
|
{{ scope.row.preRemoteTask }}
|
陈嘉新
authored
|
120
121
122
123
|
</template>
</el-table-column>
<el-table-column label="容器号">
<template slot-scope="scope">
|
陈嘉新
authored
|
124
|
{{ scope.row.barcode }}
|
陈嘉新
authored
|
125
126
127
128
|
</template>
</el-table-column>
<el-table-column label="任务类型">
<template slot-scope="scope">
|
陈嘉新
authored
|
129
|
{{ scope.row.type }}
|
陈嘉新
authored
|
130
131
132
133
|
</template>
</el-table-column>
<el-table-column label="任务状态">
<template slot-scope="scope">
|
陈嘉新
authored
|
134
|
{{ scope.row.status }}
|
陈嘉新
authored
|
135
136
137
138
|
</template>
</el-table-column>
<el-table-column label="起点">
<template slot-scope="scope">
|
陈嘉新
authored
|
139
|
{{ scope.row.from }}
|
陈嘉新
authored
|
140
141
142
143
|
</template>
</el-table-column>
<el-table-column label="终点">
<template slot-scope="scope">
|
陈嘉新
authored
|
144
|
{{ scope.row.to }}
|
陈嘉新
authored
|
145
146
147
148
|
</template>
</el-table-column>
<el-table-column label="途径点">
<template slot-scope="scope">
|
陈嘉新
authored
|
149
|
{{ scope.row.approachPoint }}
|
陈嘉新
authored
|
150
151
152
153
|
</template>
</el-table-column>
<el-table-column label="当前节点">
<template slot-scope="scope">
|
陈嘉新
authored
|
154
|
{{ scope.row.current }}
|
陈嘉新
authored
|
155
156
157
158
|
</template>
</el-table-column>
<el-table-column label="优先级">
<template slot-scope="scope">
|
陈嘉新
authored
|
159
|
{{ scope.row.priority }}
|
陈嘉新
authored
|
160
161
162
163
|
</template>
</el-table-column>
<el-table-column label="阶段">
<template slot-scope="scope">
|
陈嘉新
authored
|
164
|
{{ scope.row.mStage }}
|
陈嘉新
authored
|
165
166
167
168
|
</template>
</el-table-column>
<el-table-column label="任务回传">
<template slot-scope="scope">
|
陈嘉新
authored
|
169
|
{{ scope.row.commit }}
|
陈嘉新
authored
|
170
171
172
173
|
</template>
</el-table-column>
<el-table-column label="长">
<template slot-scope="scope">
|
陈嘉新
authored
|
174
|
{{ scope.row.length }}
|
陈嘉新
authored
|
175
176
177
178
|
</template>
</el-table-column>
<el-table-column label="宽">
<template slot-scope="scope">
|
陈嘉新
authored
|
179
|
{{ scope.row.width }}
|
陈嘉新
authored
|
180
181
182
183
|
</template>
</el-table-column>
<el-table-column label="高">
<template slot-scope="scope">
|
陈嘉新
authored
|
184
|
{{ scope.row.height }}
|
陈嘉新
authored
|
185
186
187
188
|
</template>
</el-table-column>
<el-table-column label="重">
<template slot-scope="scope">
|
陈嘉新
authored
|
189
|
{{ scope.row.weight }}
|
陈嘉新
authored
|
190
191
192
193
|
</template>
</el-table-column>
<el-table-column label="货物类型">
<template slot-scope="scope">
|
陈嘉新
authored
|
194
|
{{ scope.row.goodsType }}
|
陈嘉新
authored
|
195
196
197
198
|
</template>
</el-table-column>
<el-table-column label="仓库">
<template slot-scope="scope">
|
陈嘉新
authored
|
199
|
{{ scope.row.warehouseCode }}
|
陈嘉新
authored
|
200
201
|
</template>
</el-table-column>
|
陈嘉新
authored
|
202
|
<el-table-column label="完成时间" width="160">
|
陈嘉新
authored
|
203
|
<template slot-scope="scope">
|
陈嘉新
authored
|
204
|
{{ scope.row.completeTime }}
|
陈嘉新
authored
|
205
206
|
</template>
</el-table-column>
|
陈嘉新
authored
|
207
|
<el-table-column label="创建时间" width="160">
|
陈嘉新
authored
|
208
|
<template slot-scope="scope">
|
陈嘉新
authored
|
209
|
{{ scope.row.created }}
|
陈嘉新
authored
|
210
211
212
213
|
</template>
</el-table-column>
<el-table-column label="创建人">
<template slot-scope="scope">
|
陈嘉新
authored
|
214
|
{{ scope.row.createdBy }}
|
陈嘉新
authored
|
215
216
|
</template>
</el-table-column>
|
陈嘉新
authored
|
217
|
<el-table-column label="更新时间" width="160">
|
陈嘉新
authored
|
218
|
<template slot-scope="scope">
|
陈嘉新
authored
|
219
|
{{ scope.row.updated }}
|
陈嘉新
authored
|
220
221
222
223
|
</template>
</el-table-column>
<el-table-column label="更新人">
<template slot-scope="scope">
|
陈嘉新
authored
|
224
|
{{ scope.row.updatedBy }}
|
陈嘉新
authored
|
225
226
|
</template>
</el-table-column>
|
陈嘉新
authored
|
227
|
</el-table>
|
陈嘉新
authored
|
228
229
230
231
232
233
234
235
|
<!-- 分页 -->
<div class="pagination-container">
<el-pagination
background
layout="prev, pager, next"
:current-page="queryConfig.currentPage"
:page-size="queryConfig.pageSize"
:total="total"
|
|
236
|
@current-change="handleCurrentChange"
|
陈嘉新
authored
|
237
238
|
>
</el-pagination>
|
陈嘉新
authored
|
239
|
</div>
|
陈嘉新
authored
|
240
|
</div>
|
陈嘉新
authored
|
241
|
<!-- 新增弹框 -->
|
陈嘉新
authored
|
242
|
<el-dialog title="主任务新增" :visible.sync="dialogFormVisible">
|
陈嘉新
authored
|
243
244
245
246
|
<div class="container">
<div class="box">
<div class="inner-left">任务类型:</div>
<div class="inner-right">
|
陈嘉新
authored
|
247
|
<el-select v-model="elAddDialog.task" placeholder="请选择">
|
陈嘉新
authored
|
248
|
<el-option
|
陈嘉新
authored
|
249
|
v-for="item in optionsAdd"
|
陈嘉新
authored
|
250
251
252
|
:key="item.value"
:label="item.label"
:value="item.value"
|
|
253
|
/>
|
陈嘉新
authored
|
254
255
256
257
258
259
|
</el-select>
</div>
</div>
<div class="box">
<div class="inner-left">优先级:</div>
<div class="inner-right">
|
陈嘉新
authored
|
260
|
<el-input v-model="elAddDialog.priority" />
|
陈嘉新
authored
|
261
262
263
264
265
|
</div>
</div>
<div class="box">
<div class="inner-left">容器号:</div>
<div class="inner-right">
|
陈嘉新
authored
|
266
|
<el-input v-model="elAddDialog.barcode" />
|
陈嘉新
authored
|
267
268
269
270
271
|
</div>
</div>
<div class="box">
<div class="inner-left">起点:</div>
<div class="inner-right">
|
陈嘉新
authored
|
272
|
<el-input v-model="elAddDialog.from" />
|
陈嘉新
authored
|
273
274
275
276
277
|
</div>
</div>
<div class="box">
<div class="inner-left">途径点:</div>
<div class="inner-right">
|
陈嘉新
authored
|
278
|
<el-input v-model="elAddDialog.approachPoint" />
|
陈嘉新
authored
|
279
280
281
282
283
|
</div>
</div>
<div class="box">
<div class="inner-left">终点:</div>
<div class="inner-right">
|
陈嘉新
authored
|
284
285
286
287
288
289
290
|
<el-input v-model="elAddDialog.to" />
</div>
</div>
<div class="box">
<div class="inner-left">仓库:</div>
<div class="inner-right">
<el-input v-model="elAddDialog.warehouseCode" :disabled="true" />
|
陈嘉新
authored
|
291
292
293
294
|
</div>
</div>
</div>
<div slot="footer" class="dialog-footer">
|
陈嘉新
authored
|
295
|
<el-button type="primary" @click="taskAdd()">创 建</el-button>
|
陈嘉新
authored
|
296
297
298
299
|
<el-button @click="dialogFormVisible = false">取 消</el-button>
</div>
</el-dialog>
|
陈嘉新
authored
|
300
301
302
303
304
|
<el-dialog
title="主任务维护"
:visible.sync="dialogFormVisibleTwo"
:showClose="false"
>
|
陈嘉新
authored
|
305
306
|
<div class="containerTwo">
<div class="box1">
|
陈嘉新
authored
|
307
|
<div class="dv-title" style="margin-left: 10px">
|
陈嘉新
authored
|
308
309
|
当前任务号:{{ elMaintenance.id
}}<el-button @click="reset()" class="T1" style="margin-left: 10px"
|
陈嘉新
authored
|
310
311
312
313
|
>重置所有</el-button
>
</div>
<div></div>
|
陈嘉新
authored
|
314
315
316
|
</div>
<div class="box2">
<div class="small-box">
|
陈嘉新
authored
|
317
|
<div class="dv-title">远程任务维护</div>
|
陈嘉新
authored
|
318
319
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
320
321
|
<div class="dv-maintenance-text">远程任务号:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
322
|
<el-input v-model="elMaintenance.remoteTask" />
|
陈嘉新
authored
|
323
|
</div>
|
陈嘉新
authored
|
324
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
325
326
327
|
<el-button class="T1" @click="remoteTaskModify()"
>修改</el-button
>
|
陈嘉新
authored
|
328
329
330
|
</div>
</div>
<div class="inner-inner-box2">
|
陈嘉新
authored
|
331
332
|
<div class="dv-maintenance-text">前置远程任务号:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
333
|
<el-input v-model="elMaintenance.preRemoteTask" />
|
陈嘉新
authored
|
334
|
</div>
|
陈嘉新
authored
|
335
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
336
337
338
|
<el-button class="T1" @click="preRemoteTaskModify()"
>修改</el-button
>
|
陈嘉新
authored
|
339
340
341
342
343
|
</div>
</div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
344
|
<div class="dv-title">位置维护</div>
|
陈嘉新
authored
|
345
346
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
347
348
|
<div class="dv-maintenance-text">起点:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
349
|
<el-input v-model="elMaintenance.from" />
|
陈嘉新
authored
|
350
|
</div>
|
陈嘉新
authored
|
351
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
352
|
<el-button class="T1" @click="formModify()">修改</el-button>
|
陈嘉新
authored
|
353
354
355
|
</div>
</div>
<div class="inner-inner-box2">
|
陈嘉新
authored
|
356
357
|
<div class="dv-maintenance-text">终点:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
358
|
<el-input v-model="elMaintenance.to" />
|
陈嘉新
authored
|
359
|
</div>
|
陈嘉新
authored
|
360
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
361
|
<el-button class="T1" @click="toModify()">修改</el-button>
|
陈嘉新
authored
|
362
363
364
365
366
|
</div>
</div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
367
|
<div class="dv-title">阶段维护</div>
|
陈嘉新
authored
|
368
369
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
370
371
|
<div class="dv-maintenance-text">任务执行阶段:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
372
373
374
375
376
377
378
379
380
381
382
|
<el-select
v-model="elMaintenance.mStage"
placeholder="请选择"
>
<el-option
v-for="item in optionsStage"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
383
|
</div>
|
陈嘉新
authored
|
384
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
385
386
387
|
<el-button class="T1" @click="mStageModify()"
>修改</el-button
>
|
陈嘉新
authored
|
388
389
390
391
392
393
|
</div>
</div>
<div class="inner-inner-box2"></div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
394
|
<div class="dv-title">途径点维护</div>
|
陈嘉新
authored
|
395
396
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
397
398
|
<div class="dv-maintenance-text">途径点:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
399
|
<el-input v-model="elMaintenance.approachPoint" />
|
陈嘉新
authored
|
400
|
</div>
|
陈嘉新
authored
|
401
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
402
403
404
|
<el-button class="T1" @click="approachPointModify()"
>修改</el-button
>
|
陈嘉新
authored
|
405
406
407
|
</div>
</div>
<div class="inner-inner-box2">
|
陈嘉新
authored
|
408
409
|
<div class="dv-maintenance-text">添加途径点:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
410
411
412
413
414
415
416
417
418
419
420
|
<el-select
v-model="elMaintenance.approachPointAdd"
placeholder="请选择"
>
<el-option
v-for="item in optionsPick"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
421
|
</div>
|
陈嘉新
authored
|
422
423
|
<div class="dv-maintenance-text3">
<el-button class="T1">修改</el-button>
|
陈嘉新
authored
|
424
425
426
427
428
|
</div>
</div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
429
|
<div class="dv-title">状态维护</div>
|
陈嘉新
authored
|
430
431
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
432
433
|
<div class="dv-maintenance-text">任务状态:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
434
435
436
437
438
439
440
441
442
443
444
|
<el-select
v-model="elMaintenance.status"
placeholder="请选择"
>
<el-option
v-for="item in optionsStatus"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
445
|
</div>
|
陈嘉新
authored
|
446
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
447
448
449
|
<el-button class="T1" @click="statusModify()"
>修改</el-button
>
|
陈嘉新
authored
|
450
451
452
453
454
|
</div>
</div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
455
|
<div class="dv-title">优先级维护</div>
|
陈嘉新
authored
|
456
457
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
458
459
|
<div class="dv-maintenance-text">优先级:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
460
|
<el-input v-model="elMaintenance.priority" />
|
陈嘉新
authored
|
461
|
</div>
|
陈嘉新
authored
|
462
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
463
464
465
|
<el-button class="T1" @click="priorityModify()"
>修改</el-button
>
|
陈嘉新
authored
|
466
467
468
469
470
|
</div>
</div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
471
|
<div class="dv-title">当前设备维护</div>
|
陈嘉新
authored
|
472
473
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
474
475
|
<div class="dv-maintenance-text">当前设备:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
476
477
478
479
480
481
482
483
484
485
486
|
<el-select
v-model="elMaintenance.current"
placeholder="请选择"
>
<el-option
v-for="item in optionsDevice"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
487
|
</div>
|
陈嘉新
authored
|
488
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
489
490
491
|
<el-button class="T1" @click="currentModify()"
>修改</el-button
>
|
陈嘉新
authored
|
492
493
494
495
496
|
</div>
</div>
</div>
</div>
<div class="small-box">
|
陈嘉新
authored
|
497
|
<div class="dv-title">回传维护</div>
|
陈嘉新
authored
|
498
499
|
<div class="inner-box2">
<div class="inner-inner-box1">
|
陈嘉新
authored
|
500
501
|
<div class="dv-maintenance-text">任务回传:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
502
503
504
505
506
507
508
509
510
511
512
|
<el-select
v-model="elMaintenance.commit"
placeholder="请选择"
>
<el-option
v-for="item in optionsCommitd"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
|
陈嘉新
authored
|
513
|
</div>
|
陈嘉新
authored
|
514
|
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
515
516
517
|
<el-button class="T1" @click="commitModify()"
>修改</el-button
>
|
陈嘉新
authored
|
518
519
520
521
522
|
</div>
</div>
</div>
</div>
</div>
|
陈嘉新
authored
|
523
524
525
526
527
528
|
<div class="box3">
<div class="dv-title">货物类别维护</div>
<div class="dv-maintenance2">
<div class="dv-maintenance2-left">
<div class="dv-maintenance-text">长:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
529
|
<el-input v-model="elMaintenance.length" />
|
陈嘉新
authored
|
530
531
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
532
|
<el-button class="T1" @click="lengthModify()">修改</el-button>
|
陈嘉新
authored
|
533
534
535
536
537
|
</div>
</div>
<div class="dv-maintenance2-right">
<div class="dv-maintenance-text">宽:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
538
|
<el-input v-model="elMaintenance.width" />
|
陈嘉新
authored
|
539
540
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
541
|
<el-button class="T1" @click="widthModify()">修改</el-button>
|
陈嘉新
authored
|
542
543
544
545
546
547
548
|
</div>
</div>
</div>
<div class="dv-maintenance3">
<div class="dv-maintenance3-left">
<div class="dv-maintenance-text">高:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
549
|
<el-input v-model="elMaintenance.height" />
|
陈嘉新
authored
|
550
551
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
552
|
<el-button class="T1" @click="heightModify()">修改</el-button>
|
陈嘉新
authored
|
553
554
555
556
557
|
</div>
</div>
<div class="dv-maintenance3-right">
<div class="dv-maintenance-text">重:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
558
|
<el-input v-model="elMaintenance.weight" />
|
陈嘉新
authored
|
559
560
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
561
|
<el-button class="T1" @click="weightModify()">修改</el-button>
|
陈嘉新
authored
|
562
563
564
565
566
567
|
</div>
</div>
</div>
<div class="dv-maintenance4">
<div class="dv-maintenance-text">货物类型:</div>
<div class="dv-maintenance-text2">
|
陈嘉新
authored
|
568
|
<el-input v-model="elMaintenance.goodsType" />
|
陈嘉新
authored
|
569
570
|
</div>
<div class="dv-maintenance-text3">
|
陈嘉新
authored
|
571
572
573
|
<el-button class="T1" @click="goodsTypeModify()"
>修改</el-button
>
|
陈嘉新
authored
|
574
575
576
|
</div>
</div>
</div>
|
陈嘉新
authored
|
577
578
|
</div>
<div slot="footer" class="dialog-footer">
|
陈嘉新
authored
|
579
|
<!-- <el-button type="primary" @click="dialogFormVisibleTwo = false"
|
陈嘉新
authored
|
580
|
>创 建</el-button
|
陈嘉新
authored
|
581
|
> -->
|
陈嘉新
authored
|
582
|
<el-button @click="close()">取 消</el-button>
|
陈嘉新
authored
|
583
584
|
</div>
</el-dialog>
|
陈嘉新
authored
|
585
586
587
588
589
|
</div>
</div>
</template>
<script>
|
陈嘉新
authored
|
590
591
592
593
594
595
596
597
|
import {
getHostType,
getTableList,
AddMTask,
DeleteTaskByIds,
SendTaskToWCS,
CompleteTask,
ExportMTask,
|
陈嘉新
authored
|
598
|
GetMTaskById,
|
陈嘉新
authored
|
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
|
RemoteTaskEdit,
PreRemoteTaskEdit,
FromEdit,
ToEdit,
PriorityEdit,
LengthEdit,
WidthEdit,
HeightEdit,
WeightEdit,
GoodsTypeEdit,
MStageEdit,
ApproachPointEdit,
StatusEdit,
CurrentEdit,
CommitEdit,
} from "@/api/taskManagement/host";
|
陈嘉新
authored
|
615
616
617
|
export default {
data() {
return {
|
陈嘉新
authored
|
618
619
620
621
|
sysTable: [],
// 查询条件
queryConfig: {
currentPage: 1,
|
陈嘉新
authored
|
622
|
pageSize: 10,
|
陈嘉新
authored
|
623
624
625
626
627
|
taskNumber: "",
remoteTask: "",
barcode: "",
from: "",
to: "",
|
陈嘉新
authored
|
628
|
},
|
陈嘉新
authored
|
629
630
631
632
633
|
//新增参数
elAddDialog: {
remoteTask: "",
preRemoteTask: "",
type: 0,
|
陈嘉新
authored
|
634
|
from: "",
|
陈嘉新
authored
|
635
|
to: "",
|
陈嘉新
authored
|
636
|
approachPoint: "",
|
陈嘉新
authored
|
637
638
|
barcode: "",
priority: 0,
|
陈嘉新
authored
|
639
|
warehouseCode: "CS0001",
|
陈嘉新
authored
|
640
641
|
platform: "WCS",
},
|
陈嘉新
authored
|
642
|
//维护弹出层条件
|
陈嘉新
authored
|
643
|
elMaintenance: {
|
陈嘉新
authored
|
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
|
// currentTask: "",
// remoteTask: "",
// preRemoteTask: "",
// from: "",
// to: "",
// mStage: "",
// approachPoint: "",
// approachPointAdd: "",
// status: "",
// priority: "",
// current: "",
// commit: "",
// length: "",
// width: "",
// height: "",
// weight: "",
// goodsType: "",
|
陈嘉新
authored
|
661
662
|
},
total: 0,
|
陈嘉新
authored
|
663
|
listLoading: false,
|
陈嘉新
authored
|
664
|
dialogFormVisible: false,
|
陈嘉新
authored
|
665
666
|
dialogFormVisibleTwo: false,
name: "",
|
陈嘉新
authored
|
667
668
|
options: [
{
|
陈嘉新
authored
|
669
670
671
|
value: "",
label: "全部",
},
|
陈嘉新
authored
|
672
|
],
|
陈嘉新
authored
|
673
|
optionsAdd: [],
|
陈嘉新
authored
|
674
675
676
677
678
|
optionsCommitd: [],
optionsStatus: [],
optionsStage: [],
optionsDevice: [],
optionsPick: [],
|
陈嘉新
authored
|
679
|
value: "",
|
陈嘉新
authored
|
680
681
|
form: {
startTime: this.$moment()
|
陈嘉新
authored
|
682
683
684
|
.subtract(7, "days")
.format("YYYY-MM-DD 00:00:00"),
endTime: this.$moment().add(1, "days").format("YYYY-MM-DD 23:59:59"),
|
陈嘉新
authored
|
685
|
},
|
陈嘉新
authored
|
686
|
multipleSelection: [],
|
陈嘉新
authored
|
687
|
maintenanceID: null,
|
陈嘉新
authored
|
688
689
690
691
692
|
typeData: [
{ code: "In", name: "入库" },
{ code: "Out", name: "出库" },
{ code: "InStore", name: "库内" },
],
|
陈嘉新
authored
|
693
|
userCode: "",
|
陈嘉新
authored
|
694
|
};
|
陈嘉新
authored
|
695
696
|
},
created() {
|
陈嘉新
authored
|
697
|
this.fetchData("Status");
|
陈嘉新
authored
|
698
|
this.getTableList();
|
陈嘉新
authored
|
699
|
this.userCode = this.$store.state.user.name;
|
陈嘉新
authored
|
700
701
|
},
methods: {
|
陈嘉新
authored
|
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
|
//回传
getOne(data) {
this.optionsCommitd = [];
this.optionsStatus = [];
this.optionsStage = [];
this.optionsDevice = [];
this.optionsPick = [];
let params = { Code: data };
getHostType(params).then((response) => {
response.data.dictDetails.forEach((x) => {
if (data == "CommitFlags") {
this.optionsCommitd.push({ value: x.code, label: x.name });
} else if (data == "MTaskStatus") {
this.optionsStatus.push({ value: x.code, label: x.name });
} else if (data == "MTaskStage") {
this.optionsStage.push({ value: x.code, label: x.name });
} else if (data == "SRM") {
this.optionsDevice.push({ value: x.code, label: x.name });
} else if (data == "SRMInStation") {
this.optionsDevice.push({ value: x.code, label: x.name });
} else if (data == "SRMOutStation") {
this.optionsDevice.push({ value: x.code, label: x.name });
} else if (data == "SRMInOrOutStation") {
this.optionsDevice.push({ value: x.code, label: x.name });
} else if (data == "PickPort") {
this.optionsPick.push({ value: x.code, label: x.name });
} else if (data == "OutPort") {
this.optionsPick.push({ value: x.code, label: x.name });
}
});
});
},
|
陈嘉新
authored
|
734
|
btnAction() {
|
陈嘉新
authored
|
735
|
this.getTableList();
|
陈嘉新
authored
|
736
|
},
|
陈嘉新
authored
|
737
|
//新增按钮
|
陈嘉新
authored
|
738
|
btnAdd() {
|
陈嘉新
authored
|
739
|
this.fetchData("Type");
|
陈嘉新
authored
|
740
|
this.dialogFormVisible = true;
|
陈嘉新
authored
|
741
|
},
|
陈嘉新
authored
|
742
743
744
745
|
//新增创建按钮
taskAdd() {
const params = this.elAddDialog;
this.listLoading = true;
|
陈嘉新
authored
|
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
|
AddMTask(params).then((response) => {
if (response.code == "Success") {
this.getTableList();
this.$message({
message: "恭喜你,这是一条成功消息",
type: "success",
});
}
});
},
//删除按钮
deleteData() {
if (this.multipleSelection.length == 0) {
this.$alert("请选择最少一条数据!", "标题名称", {
confirmButtonText: "确定",
});
} else {
let prams = [];
this.multipleSelection.forEach((x) => {
prams.push(x.id);
});
DeleteTaskByIds(prams).then((response) => {
if (response.code == "Success") {
this.getTableList();
this.$message({
message: response.msg,
type: "success",
});
}
});
}
},
//下发按钮
issued() {
if (this.multipleSelection.length == 0) {
this.$alert("请选择最少一条数据!", "标题名称", {
confirmButtonText: "确定",
});
} else {
let prams = [];
this.multipleSelection.forEach((x) => {
prams.push(x.id);
});
SendTaskToWCS(prams).then((response) => {
if (response.code == "Success") {
this.getTableList();
this.$message({
message: response.msg,
type: "success",
});
}
});
}
},
//导出按钮
ExportList() {
const params = {
pageNumber: this.queryConfig.currentPage,
perPageCount: this.queryConfig.pageSize,
queryConfig: {
taskNo: "",
remoteTask: "",
barcode: "",
from: "",
to: "",
taskStatus: "",
begin: this.form.startTime,
end: this.form.endTime,
},
};
this.listLoading = true;
ExportMTask(params).then((response) => {
this.listLoading = false;
});
|
陈嘉新
authored
|
820
821
|
},
//获取表格行数据
|
陈嘉新
authored
|
822
823
|
handleSelectionChange(val) {
this.multipleSelection = val;
|
陈嘉新
authored
|
824
825
|
},
// 状态数据
|
陈嘉新
authored
|
826
827
828
829
830
831
832
833
834
835
836
|
fetchData(data) {
let params = {};
if (data == "Type") {
params = {
Code: "MTaskType",
};
} else {
params = {
Code: "MTaskStatus",
};
}
|
陈嘉新
authored
|
837
838
|
getHostType(params).then((response) => {
response.data.dictDetails.forEach((x) => {
|
陈嘉新
authored
|
839
840
841
842
843
844
845
846
|
if (data == "Type") {
this.optionsAdd.push({ value: x.code, label: x.name });
if (this.optionsAdd.length > 0) {
this.elAddDialog.task = this.optionsAdd[0].value;
}
} else {
this.options.push({ value: x.code, label: x.name });
}
|
陈嘉新
authored
|
847
848
|
});
});
|
陈嘉新
authored
|
849
850
851
|
},
// 表格数据
getTableList() {
|
|
852
|
const params = {
|
陈嘉新
authored
|
853
854
855
|
pageNumber: this.queryConfig.currentPage,
perPageCount: this.queryConfig.pageSize,
queryConfig: {
|
陈嘉新
authored
|
856
857
858
859
860
861
|
taskNo: this.queryConfig.taskNumber,
remoteTask: this.queryConfig.remoteTask,
barcode: this.queryConfig.barcode,
from: this.queryConfig.from,
to: this.queryConfig.to,
taskStatus: this.value,
|
陈嘉新
authored
|
862
|
begin: this.form.startTime,
|
陈嘉新
authored
|
863
864
865
|
end: this.form.endTime,
},
};
|
陈嘉新
authored
|
866
|
this.listLoading = true;
|
陈嘉新
authored
|
867
|
getTableList(params).then((response) => {
|
陈嘉新
authored
|
868
|
this.total = response.data.totalCount;
|
陈嘉新
authored
|
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
|
response.data.data.forEach((x) => {
switch (x.mStage) {
case 0:
x.mStage = "入库";
break;
case 1:
x.mStage = "出库";
break;
case 2:
x.mStage = "库内";
break;
default:
break;
}
switch (x.type) {
case 0:
x.type = "入库";
break;
case 1:
x.type = "出库";
break;
case 2:
x.type = "移库";
break;
case 4:
x.type = "换站";
break;
case 8:
x.type = "分拣";
break;
default:
break;
}
switch (x.commit) {
case 0:
x.commit = "未提交";
break;
case 1:
x.commit = "已提交";
break;
case 2:
x.commit = "无需提交";
break;
case 3:
x.commit = "提交失败";
break;
default:
break;
}
switch (x.status) {
case 0:
x.status = "任务创建";
break;
case 10:
x.status = "任务下发";
break;
case 20:
x.status = "堆垛机任务创建";
break;
case 30:
x.status = "堆垛机任务完成";
break;
case 40:
x.status = "响应接出口请求";
break;
case 50:
x.status = "到达分拣口";
break;
case 60:
x.status = "分拣回库中";
break;
case 70:
x.status = "响应接入位置到达";
break;
case 100:
x.status = "任务完成";
break;
case 130:
x.status = "任务异常结束";
break;
case "UnCompleted":
x.status = "任务未完成";
break;
default:
break;
}
});
|
陈嘉新
authored
|
956
|
this.sysTable = response.data.data;
|
陈嘉新
authored
|
957
|
this.listLoading = false;
|
陈嘉新
authored
|
958
959
960
961
962
|
});
},
// 强制完成按钮
forceComplete() {
if (this.multipleSelection.length == 1) {
|
陈嘉新
authored
|
963
964
965
966
967
968
969
970
971
972
973
974
|
let prams = {
id: this.multipleSelection[0].id,
};
CompleteTask(prams).then((response) => {
if (response.code == "Success") {
this.getTableList();
this.$message({
message: response.msg,
type: "success",
});
}
});
|
陈嘉新
authored
|
975
976
977
978
979
980
|
} else {
this.elAlert();
}
},
// 维护按钮
maintenance() {
|
陈嘉新
authored
|
981
|
if (this.multipleSelection.length == 1) {
|
陈嘉新
authored
|
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
|
this.getOne("CommitFlags");
this.getOne("MTaskStatus");
this.getOne("MTaskStage");
this.getOne("SRM");
this.getOne("SRMInStation");
this.getOne("SRMOutStation");
this.getOne("SRMInOrOutStation");
this.getOne("PickPort");
this.getOne("OutPort");
let params = {
id: this.multipleSelection[0].id,
};
GetMTaskById(params).then((response) => {
if (response.code == "Success") {
switch (response.data.mStage) {
case 0:
response.data.mStage = "In";
break;
case 1:
response.data.mStage = "Out";
break;
case 2:
response.data.mStage = "InStore";
break;
default:
break;
}
switch (response.data.commit) {
case 0:
response.data.commit = "Uncommited";
break;
case 1:
response.data.commit = "Commited";
break;
case 2:
response.data.commit = "UnNeedCommit";
break;
case 3:
response.data.commit = "CommitFailure";
break;
default:
break;
}
switch (response.data.status) {
case 0:
response.data.status = "Create";
break;
case 10:
response.data.status = "TaskSend";
break;
case 20:
response.data.status = "SRMTaskCreated";
break;
case 30:
response.data.status = "SRMTaskCompleted";
break;
case 40:
response.data.status = "OutStationRequest";
break;
case 50:
response.data.status = "ArrivePickStation";
break;
case 60:
response.data.status = "PickStationToStore";
break;
case 70:
response.data.status = "InStationArrived";
break;
case 100:
response.data.status = "TaskCompleted";
break;
case 130:
response.data.status = "TaskErrorCompleted";
break;
case "UnCompleted":
response.data.status = "UnCompleted";
break;
default:
break;
}
this.elMaintenance = response.data;
this.dialogFormVisibleTwo = true;
}
});
|
陈嘉新
authored
|
1068
1069
1070
|
} else {
this.elAlert();
}
|
陈嘉新
authored
|
1071
1072
|
},
handleCurrentChange(page) {
|
陈嘉新
authored
|
1073
1074
1075
1076
1077
1078
1079
1080
|
this.queryConfig.currentPage = page;
this.getTableList();
},
elAlert() {
this.$alert("请选择一条数据!", "标题名称", {
confirmButtonText: "确定",
});
},
|
陈嘉新
authored
|
1081
|
reset() {
|
陈嘉新
authored
|
1082
|
this.maintenance();
|
陈嘉新
authored
|
1083
|
},
|
陈嘉新
authored
|
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
|
//远程任务号
remoteTaskModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.remoteTask,
userCode: this.userCode,
};
RemoteTaskEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//前置远程任务号
preRemoteTaskModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.preRemoteTask,
userCode: this.userCode,
};
PreRemoteTaskEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//起点
formModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.from,
userCode: this.userCode,
};
FromEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//终点
toModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.to,
userCode: this.userCode,
};
ToEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//优先级
priorityModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.priority,
userCode: this.userCode,
};
PriorityEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//长
lengthModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.length,
userCode: this.userCode,
};
LengthEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//宽
widthModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.width,
userCode: this.userCode,
};
WidthEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//高
heightModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.height,
userCode: this.userCode,
};
HeightEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//重
weightModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.weight,
userCode: this.userCode,
};
WeightEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//货物类型
goodsTypeModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.goodsType,
userCode: this.userCode,
};
GoodsTypeEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//阶段
mStageModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.mStage,
userCode: this.userCode,
};
MStageEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//途径点
approachPointModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.approachPoint,
userCode: this.userCode,
};
ApproachPointEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//任务状态
statusModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.status,
userCode: this.userCode,
};
StatusEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//当前设备
currentModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.current,
userCode: this.userCode,
};
CurrentEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
//任务回传
commitModify() {
let prams = {
id: this.multipleSelection[0].id,
data: this.elMaintenance.commit,
userCode: this.userCode,
};
CommitEdit(prams).then((response) => {
if (response.code == "Success") {
this.messge(response);
}
});
},
messge(response) {
this.$message({
message: response.msg,
type: "success",
});
},
close() {
this.getTableList();
this.dialogFormVisibleTwo = false;
|
陈嘉新
authored
|
1288
|
},
|
陈嘉新
authored
|
1289
1290
|
},
};
|
陈嘉新
authored
|
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
|
</script>
<style scoped lang="scss">
.app-container-father {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
display: flex;
.dv-container-left {
width: 20%;
background-color: #eeeeee;
|
陈嘉新
authored
|
1302
|
height: 85vh;
|
|
1303
|
// border-radius: 7px;
|
陈嘉新
authored
|
1304
|
box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
|
陈嘉新
authored
|
1305
|
overflow: auto;
|
陈嘉新
authored
|
1306
1307
1308
1309
1310
|
.dv-container-left-component {
width: 100%;
display: flex;
.component-left {
width: 40%;
|
陈嘉新
authored
|
1311
|
height: 60px;
|
陈嘉新
authored
|
1312
1313
1314
1315
1316
1317
|
display: flex;
justify-content: flex-end;
align-items: center;
}
.component-right {
width: 57%;
|
陈嘉新
authored
|
1318
|
height: 60px;
|
陈嘉新
authored
|
1319
1320
1321
1322
1323
|
display: flex;
justify-content: center;
align-items: center;
}
}
|
陈嘉新
authored
|
1324
1325
1326
1327
1328
1329
1330
1331
1332
|
.button-container {
width: 90%;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
.T1 {
width: 88px;
margin-top: 10px;
|
陈嘉新
authored
|
1333
|
border: 1px solid #b3d8ff;
|
陈嘉新
authored
|
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
|
}
}
.button-containerTwo {
width: 90%;
margin: 20px auto;
display: flex;
justify-content: center;
align-items: center;
.T1 {
width: 50%;
|
|
1344
|
font-size: 16px;
|
陈嘉新
authored
|
1345
1346
1347
|
margin-top: 10px;
}
}
|
陈嘉新
authored
|
1348
1349
1350
1351
1352
|
}
.dv-container-right {
width: 79%;
height: 88vh;
margin-left: 1%;
|
陈嘉新
authored
|
1353
|
.pagination-container {
|
陈嘉新
authored
|
1354
|
text-align: center; /* 使分页组件靠右 */
|
陈嘉新
authored
|
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
|
margin-top: 20px; /* 添加顶部间距 */
}
}
.container {
width: 100%; /* 大 div 宽度 */
display: flex; /* 使用 Flexbox 布局 */
flex-wrap: wrap; /* 允许换行 */
padding: 10px; /* 内边距 */
box-sizing: border-box; /* 包含内边距在内 */
}
.box {
width: 50%; /* 小 div 宽度为 50% */
height: 50px; /* 小 div 高度 */
margin: 5px 0; /* 上下外边距 */
display: flex; /* 嵌套使用 Flexbox */
}
.inner-left {
width: 40%; /* 内部左侧 div 宽度为 50% */
height: 100%; /* 高度为 100% */
display: flex; /* 使用 Flexbox */
justify-content: flex-end; /* 内容靠右 */
align-items: center; /* 垂直居中 */
padding-right: 5px; /* 右侧内边距 */
}
.inner-right {
width: 50%; /* 内部右侧 div 宽度为 50% */
height: 100%; /* 高度为 100% */
display: flex; /* 使用 Flexbox */
justify-content: flex-start; /* 内容靠左 */
align-items: center; /* 垂直居中 */
padding-left: 5px; /* 左侧内边距 */
}
|
陈嘉新
authored
|
1387
1388
1389
1390
1391
|
.containerTwo {
width: 100%;
border: 1px solid #ccc; /* 大 div 的边框 */
overflow: auto;
|
陈嘉新
authored
|
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
|
margin-top: -30px;
.T1 {
width: 88px;
// margin-top: 10px;
border: 1px solid #b3d8ff;
}
.dv-title {
height: 30px; /* 第一个子 div 的高度 */
display: flex; /* 使用 Flexbox */
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
font-weight: 700;
}
.dv-maintenance-text {
width: 35%;
height: 100%;
display: flex;
justify-content: flex-end; /* 内容靠右 */
align-items: center; /* 垂直居中 */
}
.dv-maintenance-text2 {
width: 35%;
height: 100%;
display: flex;
justify-content: center; /* 内容靠右 */
align-items: center; /* 垂直居中 */
}
.dv-maintenance-text3 {
width: 30%;
height: 100%;
display: flex;
justify-content: center; /* 内容靠右 */
align-items: center; /* 垂直居中 */
}
|
陈嘉新
authored
|
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
|
}
.box1 {
width: 100%;
height: 50px; /* 修改后的高度 */
display: flex; /* 使用 Flexbox */
flex-wrap: wrap; /* 超出换行 */
align-items: center; /* 垂直居中对齐 */
}
.box2 {
width: 100%;
display: flex; /* 使用 Flexbox */
flex-wrap: wrap; /* 超出换行 */
align-items: center; /* 垂直居中对齐 */
|
陈嘉新
authored
|
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
|
.small-box {
width: 50%; /* 每个小 div 的宽度 */
box-sizing: border-box; /* 包含边框和内边距 */
border: 1px solid #ccc; /* 大 div 的边框 */
}
.inner-box2 {
height: 100px; /* 第二个子 div 的高度 */
display: flex; /* 使用 Flexbox */
flex-direction: column; /* 垂直排列子 div */
}
.inner-inner-box1 {
height: 45%; /* 第一个内层子 div 的高度 */
display: flex; /* 使用 Flexbox */
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
}
.inner-inner-box2 {
height: 50%; /* 第二个内层子 div 的高度 */
display: flex; /* 使用 Flexbox */
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
}
.inner-inner-box3 {
height: 100%; /* 第三个内层子 div 的高度 */
display: flex; /* 使用 Flexbox */
}
|
陈嘉新
authored
|
1465
1466
|
}
.box3 {
|
陈嘉新
authored
|
1467
|
width: 70%;
|
陈嘉新
authored
|
1468
|
height: 100px;
|
陈嘉新
authored
|
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
|
margin: auto;
.dv-maintenance1 {
width: 100%;
height: 30px;
display: flex;
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
border: 1px solid #ccc; /* 大 div 的边框 */
}
.dv-maintenance2 {
width: 100%;
height: 50px;
display: flex;
border: 1px solid #ccc; /* 大 div 的边框 */
.dv-maintenance2-left {
width: 50%;
height: 100%;
display: flex;
}
.dv-maintenance2-right {
width: 50%;
height: 100%;
display: flex;
}
}
.dv-maintenance3 {
width: 100%;
height: 50px;
display: flex;
border: 1px solid #ccc; /* 大 div 的边框 */
.dv-maintenance3-left {
width: 50%;
height: 100%;
display: flex;
}
.dv-maintenance3-right {
width: 50%;
height: 100%;
display: flex;
}
}
.dv-maintenance4 {
width: 50%;
height: 50px;
margin: auto;
display: flex; /* 使用 Flexbox */
justify-content: center; /* 内容靠左 */
align-items: center; /* 垂直居中对齐 */
border: 1px solid #ccc; /* 大 div 的边框 */
}
|
陈嘉新
authored
|
1519
1520
1521
|
}
}
</style>
|