懒羊羊
2024-01-05 589dc7ed2381b21d3f8c5574e8d19fc183431e57
提交 | 用户 | 时间
b0742c 1 <template>
C 2   <div class="app-container">
589dc7 3    <el-row :gutter="5">
4      <el-col :span="6">
5        <el-card shadow="hover">
6          工位编号:OP1010
7        </el-card>
8      </el-col>
9      <el-col :span="6">
10        <el-card shadow="hover">
11          工位名称:贴标机-贴码
12        </el-card>
13      </el-col>
14      <el-col :span="6">
15        <el-card shadow="hover">
16          总成编码:1000000000000001
17        </el-card>
18      </el-col>
19      <el-col :span="6">
20        <el-card shadow="hover">
21          鼠标悬浮时显示
22        </el-card>
23      </el-col>
24    </el-row>
25    <el-row :gutter="5" style="margin-top: 5px">
26      <el-col :span="6" >
27        <el-card class="bottom-card">
28          <div slot="header" class="clearfix">
29            <span>当前工件信息</span>
30          </div>
31          <el-descriptions :column="1" border>
32            <el-descriptions-item>
33              <template slot="label">
34                <i class="el-icon-user"></i>
35                <span>总成编号</span>
36              </template>
37              kooriookami
38            </el-descriptions-item>
39            <el-descriptions-item>
40              <template slot="label">
41                <i class="el-icon-mobile-phone"></i>
42                手机号
43              </template>
44              18100000000
45            </el-descriptions-item>
46            <el-descriptions-item>
47              <template slot="label">
48                <i class="el-icon-location-outline"></i>
49                居住地
50              </template>
51              苏州市
52            </el-descriptions-item>
53            <el-descriptions-item>
54              <template slot="label">
55                <i class="el-icon-tickets"></i>
56                备注
57              </template>
58              <el-tag size="small">学校</el-tag>
59            </el-descriptions-item>
60            <el-descriptions-item>
61              <template slot="label">
62                <i class="el-icon-office-building"></i>
63                联系地址
64              </template>
65              江苏省苏州市吴中区吴中大道 1188 号
66            </el-descriptions-item>
67          </el-descriptions>
68          <el-divider></el-divider>
69          <el-row>
70            <el-col :span="12">
71              <el-button class="circle-button" circle></el-button>
72              <span>OPC心跳</span>
73            </el-col>
74            <el-col :span="12">
75              <el-button class="circle-button" circle></el-button>
76              <span>扫码枪状态</span>
77            </el-col>
78          </el-row>
79          <el-row style="margin-top: 20px">
80            <el-col :span="12">
81              <el-button class="circle-button" circle></el-button>
82              <span>工件到位</span>
83            </el-col>
84            <el-col :span="12">
85              <el-button class="circle-button" circle></el-button>
86              <span>扫码完成</span>
87            </el-col>
88          </el-row>
89          <el-row style="margin-top: 20px">
90            <el-col :span="12">
91              <el-button class="circle-button" circle></el-button>
92              <span>开始作业</span>
93            </el-col>
94            <el-col :span="12">
95              <el-button class="circle-button" circle></el-button>
96              <span>允许放行</span>
97            </el-col>
98          </el-row>
99        </el-card>
b0742c 100
589dc7 101      </el-col>
102      <el-col :span="18">
103        <el-tabs type="border-card"  style="height: 600px">
104          <el-tab-pane>
105            <span slot="label"> <a class="el-icon-date"></a>首页</span>
106            <el-col :span="8">
107              <el-table>
108                <el-table-column label="序号" align="center" prop="repairIdentification" width="60px"/>
109                <el-table-column label="操作内容" align="center" prop="boxCode"  width="320px"/>
110              </el-table>
111            </el-col>
112            <el-col :span="16">
113              <el-image style="height: 520px;width: 100%" :src="imgSrc"></el-image>
114            </el-col>
115          </el-tab-pane>
116          <el-tab-pane>
117            <span slot="label"> <b class="el-icon-date"></b>物料BOM</span>
118            <el-empty >
119              <span slot="description">暂无数据</span>
120            </el-empty>
121          </el-tab-pane>
122          <el-tab-pane>
123            <span slot="label"> <c class="el-icon-date"></c>采集清单</span>
124            <el-empty >
125              <span slot="description">暂无数据</span>
126            </el-empty>
127          </el-tab-pane>
128          <el-tab-pane>
129            <span slot="label"> <d class="el-icon-date"></d>安灯状态</span>
130            <el-empty >
131              <span slot="description">暂无数据</span>
132            </el-empty>
133          </el-tab-pane>
134          <el-tab-pane>
135            <span slot="label"> <e class="el-icon-date"></e>工艺配方</span>
136            <el-empty >
137              <span slot="description">暂无数据</span>
138            </el-empty>
139          </el-tab-pane>
140        </el-tabs>
141      </el-col>
142    </el-row>
b0742c 143
C 144
145   </div>
146 </template>
147 <script>
148 export default {
149   components: {},
150   props: [],
151   data() {
152     return {
589dc7 153       imgSrc: '',
b0742c 154     }
C 155   },
156   computed: {},
157   watch: {},
158   created() {},
159   mounted() {},
160   methods: {}
161 }
162
163 </script>
589dc7 164 <style scoped>
165 .bottom-card{
166   height: 600px;
b0742c 167 }
589dc7 168 .circle-button{
169   height: 40px;
170   width: 40px;
171   background-color: #ce0b0b;
b0742c 172 }
C 173 </style>