chore: 初始化机匣装配单元生产看板项目

This commit is contained in:
yexingqiang
2026-05-29 14:35:43 +08:00
commit 4ca8b8f00b
175 changed files with 35355 additions and 0 deletions

58
public/config.js Normal file
View File

@@ -0,0 +1,58 @@
window.g = {
mqttClient: null,
mqttSubscriptionTopic: 'MES/InstantMessaging/HL/+',
mqttPublishTopic: 'WEB/InstantMessaging/HL/MisServer',
mqttIP: '192.168.0.12',
// mqttIP: '127.0.0.1',
mqttPortNumber: "8083",
baseURL: 'http://192.168.0.12:10050/submit/MESCommonBase.ashx'
// baseURL: "http://127.0.0.1:10050/submit/MESCommonBase.ashx",
};
// 时间要发时间戳
报工接口数据格式 = {
订单号: '20231016001',
总成号: 'H1M53-00001-2023083179',
型号: 'H1M53-00001',
工位数据: [
{
到达时间: '1697524115',
离开时间: '1697524124',
工件节拍: '110',
合格标志: '1',
物料数据: [{
物料号: 'H24N3-02161C',
物料名称: '螺栓(制动器)',
使用数量: '1',
扫描时间: '1697524125'
}],
质量数据: [{
测量位置: '线内上拧紧轴1最终扭矩',
测量项目: '扭矩',
测量值: '233.100',
测量单位: 'N·m',
合格标志: '1',
测量时间: '1697524219'
}]
}
]
}
订单下发接口数据格式 = {
订单号: '20231016001',
型号: 'H1M53-00001',
物料名称: '1t驱动桥总成单胎人力制动',
数量: '120',
计划日期: '1697524115',
完成日期: '1697524846',
BOM: [
{
物料号: 'H24N3-02161C',
物料名称: '螺栓(制动器)',
单台数量: '1',
单位: '件',
使用工位号: 'OPA10',
是否验证: '1' // 1 验证 0 不验证
}
]
}

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

26
public/index.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>设备信息展示平台</title>
<script type="text/javascript">
document.write("<script src='./config.js?v=" + new Date().getTime() + "'><\/script>");
</script>
</head>
<body>
<noscript>
<strong>We're sorry but gaojingtv doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
<style slot-scope="true">
body{
/*background-color: #5B9BD5;*/
/*background:rgba(0,0,0,0.2);*/
}
</style>

130
public/layou.json Normal file
View File

@@ -0,0 +1,130 @@
{
"layout": [
{
"opName": "OP010",
"opNameShow": "OP010",
"dir": 3,
"left": "55px",
"top": "105px"
},
{
"opName": "OP015",
"opNameShow": "OP015",
"dir": 3,
"left": "125px",
"top": "185px"
},
{
"opName": "OP020",
"opNameShow": "OP020",
"dir": 3,
"left": "125px",
"top": "263px"
},
{
"opName": "OP030",
"opNameShow": "OP030",
"dir": 3,
"left": "125px",
"top": "350px"
},
{
"opName": "OP040",
"opNameShow": "OP040",
"dir": 3,
"left": "125px",
"top": "450px"
},
{
"opName": "OP050",
"opNameShow": "OP050",
"dir": 3,
"left": "100px",
"top": "540px"
},
{
"opName": "OP060",
"opNameShow": "OP060",
"dir": 3,
"left": "100px",
"top": "630px"
},
{
"opName": "OP070",
"opNameShow": "OP070",
"dir": 3,
"left": "100px",
"top": "723px"
},
{
"opName": "OP080",
"opNameShow": "OP080",
"dir": 3,
"left": "100px",
"top": "838px"
},
{
"opName": "OPA10",
"opNameShow": "OPA10",
"dir": 2,
"left": "310px",
"top": "75px"
},
{
"opName": "OPA20",
"opNameShow": "OPA20",
"dir": 4,
"left": "372px",
"top": "180px"
},
{
"opName": "OPA30",
"opNameShow": "OPA30",
"dir": 4,
"left": "372px",
"top": "255px"
},
{
"opName": "OPA40",
"opNameShow": "OPA40",
"dir": 4,
"left": "430px",
"top": "310px"
},
{
"opName": "OPA50",
"opNameShow": "OPA50",
"dir": 4,
"left": "430px",
"top": "390px"
},
{
"opName": "OPA60",
"opNameShow": "OPA60",
"dir": 4,
"left": "420px",
"top": "465px"
},
{
"opName": "OPA70",
"opNameShow": "OPA70",
"dir": 4,
"left": "478px",
"top": "503px"
},
{
"opName": "OPA80",
"opNameShow": "OPA80",
"dir": 4,
"left": "420px",
"top": "550px"
},
{
"opName": "OPA90",
"opNameShow": "OPA90",
"dir": 4,
"left": "390px",
"top": "650px"
}
]
}

BIN
public/layout.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 KiB

BIN
public/layout1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

BIN
public/layout2 (2).png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB

BIN
public/layout2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
public/layoutDetails.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 KiB

BIN
public/layoutDetails2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
public/环形图(右.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

BIN
public/环形图(左.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB