<!-- 打标机 -->
|
<script setup>
|
import request from "@/utils/request";
|
import { ElMessage } from "element-plus";
|
</script>
|
<script>
|
export default {
|
mounted() {
|
//获取数据
|
var data="ProcessId="+"P24032508";
|
request.get("/TidyUpGlassModule/SelectTerritoryInfo?"+data).then((res) => {
|
if (res.code == 200) {
|
for(var i=0;i<res.data.length;i++){
|
//遍历数据
|
}
|
f1();
|
} else {
|
ElMessage.warning(res.msg)
|
router.push("/login");
|
}
|
});
|
},
|
methods: {
|
//方法
|
f1() {
|
|
}
|
}
|
}
|
|
|
</script>
|
<template>
|
<div ref="content">
|
<div id="div-title" style="font-size: 20px; font-weight: bold; margin:10px 0 10px 0;padding-left: 20px;">
|
自动打标机
|
</div>
|
<hr/>
|
<br>
|
<div id="search">
|
<!-- 功能 -->
|
<el-button type="primary" id="searchButton">开工</el-button>
|
<el-button type="primary" id="searchButton">上线</el-button>
|
<el-button type="primary" id="searchButton">下线</el-button>
|
<el-button type="primary" id="searchButton">破损</el-button>
|
<el-button type="primary" id="searchButton">完工</el-button>
|
</div>
|
<div id="main-body" style="min-height:240px;">
|
<!-- 表格内容 -->
|
<el-table :data="tableData" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129',textAlign:'center'}">
|
<el-table-column prop="date" label="序号" />
|
<el-table-column prop="name" label="工程号" />
|
<el-table-column prop="name" label="玻璃类型" />
|
<el-table-column prop="name" label="玻璃编号" />
|
<el-table-column prop="name" label="长" />
|
<el-table-column prop="name" label="宽" />
|
<el-table-column prop="name" label="厚" />
|
<el-table-column prop="name" label="状态" />
|
</el-table>
|
</div>
|
|
<div id="main-body" style="height: 100%;">
|
<!-- 画图内容 -->
|
<el-image style="width: 100%; height: 460px;" src="../../src/assets/自动打标机.png"></el-image>
|
</div>
|
</div>
|
</template>
|
|
<style scoped>
|
table{
|
text-align: center;
|
width: 100%;
|
height: 100%;
|
border-collapse: collapse;
|
border-spacing: 0;
|
}
|
#main-body{
|
width: 100%;
|
height: 100%;
|
border: 1px solid #ccc;
|
margin-top: 25px;
|
}
|
#searchButton{
|
width: 100px;
|
height: 40px;
|
font-size: 16px;
|
border-radius: 5px;
|
background-color: #409EFF;
|
color: #fff;
|
border: none;
|
cursor: pointer;
|
}
|
</style>
|