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
| <script setup>
| import BaseUploadLine from './BasicEdging.vue'
| const firstPageStatusConfig = {
| typeMapping: {
| 0: 'info',
| 1: 'success',
| 2: 'danger',
| 8: 'danger'
| },
| textMapping: {
| 0: 'workOrder.unEdging',
| 1: 'workOrder.edging',
| 2: 'workOrder.finishEdging',
| 8: 'workOrder.breakage'
| }
| }
| const props = {
| lineNumber: 1,
| webSocketPath: 'edgingTask',
| workingProcedure: '磨边',
| statusConfig: firstPageStatusConfig
| }
| </script>
| <template>
| <BaseUploadLine
| :lineNumber="props.lineNumber"
| :webSocketPath="props.webSocketPath"
| :workingProcedure="props.workingProcedure"
| :statusConfig="props.statusConfig"
| />
| </template>
|
|