content.vue
1.65 KB
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
<template>
<div class="dv-center">
<div class="card" v-for="(item, index) in 5" :key="index">
<span class="div-span-title">WS01工位</span>
<div class="dv-workstationOne">
<div>站台信息:占位/无异常</div>
</div>
<div class="dv-workstationTwo">
<div style="padding-top: 1vw;">产品条码:TL070050A2601</div>
<div>任务模式:入料</div>
<div>设备/任务状态:手动/任务执行中</div>
</div>
<div class="dv-workstationThree">
<div style="padding-top: 1vw;">任务号:T210001</div>
<div>起点/终点:P0001/P0210</div>
<div>创建时间:2026-02-21 15:37</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
sysData: {},
initDataList: [],
}
},
methods: {
// 生产情况
getData(flag, dataList) {},
ajaxSuccessDataBefore(res, title) {
if (res.data.result == null || res.data.result.length == 0) {
''.Log(title + '无数据', 'getData')
this.initproductionInformationTable([])
return false
}
return true
},
},
mounted() {
//eslint-disable-next-line no-debugger
debugger
},
}
</script>
<style scoped>
.dv-center {
display: flex;
/* gap: 0.7vw; */
justify-content: space-between;
}
.card {
width: 18.3vw;
border: 1px solid #1e3a7a;
border-radius: 0.4vw;
padding: 0.2vw 0 0 0.5vw;
/* flex: 1; */
}
.dv-workstationOne {
width: 100%;
height: 3vw;
color: #67c8fb;
font-size: 1.2vw;
display: flex;
align-items: center;
}
.dv-workstationTwo {
width: 100%;
height: 7vw;
line-height: 1.5vw;
font-size: 1.2vw;
}
.dv-workstationThree {
width: 100%;
height: 7vw;
color: #67c8fb;
line-height: 1.5vw;
font-size: 1.2vw;
}
</style>