可视化监控界面调整

This commit is contained in:
lsymicc
2026-05-12 13:05:39 +08:00
parent 4566753e09
commit c48b3a4f2b
3 changed files with 40 additions and 267 deletions

View File

@@ -2,285 +2,88 @@
"boxRows": [ "boxRows": [
{ {
"id": "row1", "id": "row1",
"boxWidth": 20, "boxWidth": 30,
"boxHeight": 17, "boxHeight": 30,
"boxCount": 46, "boxCount": 33,
"rowGap": 0 "rowGap": 0
}, },
{ {
"id": "row2", "id": "row2",
"boxWidth": 20, "boxWidth": 30,
"boxHeight": 17, "boxHeight": 30,
"boxCount": 46, "boxCount": 33,
"rowGap": 30 "rowGap": 40
},
{
"id": "row3",
"boxWidth": 12,
"boxHeight": 20,
"boxCount": 69,
"rowGap": 10
},
{
"id": "row4",
"boxWidth": 12,
"boxHeight": 20,
"boxCount": 69,
"rowGap": 30
},
{
"id": "row1_1",
"boxWidth": 20,
"boxHeight": 17,
"boxCount": 46,
"rowGap": 200
},
{
"id": "row2_1",
"boxWidth": 20,
"boxHeight": 17,
"boxCount": 46,
"rowGap": 30
},
{
"id": "row3_1",
"boxWidth": 12,
"boxHeight": 20,
"boxCount": 69,
"rowGap": 10
},
{
"id": "row4_1",
"boxWidth": 12,
"boxHeight": 20,
"boxCount": 69,
"rowGap": 30
} }
], ],
"conveyors": [ "conveyors": [
{
"id": "L1002",
"width": 45,
"height": 25,
"rotation": 0,
"x": 362,
"y": 330
},
{ {
"id": "L1001", "id": "L1001",
"width": 45, "width": 80,
"height": 25, "height": 30,
"rotation": 0, "rotation": 0,
"x": 316, "x": 317,
"y": 330 "y": 563
}, },
{ {
"id": "L1011", "id": "G1002",
"width": 30, "width": 80,
"height": 25, "height": 30,
"rotation": 0, "rotation": 0,
"x": 285, "x": 232,
"y": 330 "y": 563
},
{
"id": "L1004",
"width": 45,
"height": 25,
"rotation": 0,
"x": 362,
"y": 415
},
{
"id": "L1003",
"width": 45,
"height": 25,
"rotation": 0,
"x": 316,
"y": 415
},
{
"id": "L1012",
"width": 30,
"height": 25,
"rotation": 0,
"x": 285,
"y": 415
},
{
"id": "L2001",
"width": 45,
"height": 25,
"rotation": 0,
"x": 1513,
"y": 638
},
{
"id": "L2002",
"width": 45,
"height": 25,
"rotation": 0,
"x": 1559,
"y": 638
},
{
"id": "L2003",
"width": 45,
"height": 25,
"rotation": 0,
"x": 1513,
"y": 689
},
{
"id": "L2004",
"width": 45,
"height": 25,
"rotation": 0,
"x": 1559,
"y": 689
},
{
"id": "L2012",
"width": 30,
"height": 25,
"rotation": 0,
"x": 1605,
"y": 689
},
{
"id": "L2005",
"width": 45,
"height": 25,
"rotation": 0,
"x": 1513,
"y": 722
},
{
"id": "L2006",
"width": 50,
"height": 25,
"rotation": 0,
"x": 1559,
"y": 722
},
{
"id": "L1013",
"width": 25,
"height": 25,
"rotation": 0,
"x": 1610,
"y": 722
},
{
"id": "L2007",
"width": 45,
"height": 25,
"rotation": 0,
"x": 1513,
"y": 776
},
{
"id": "L2008",
"width": 45,
"height": 25,
"rotation": 0,
"x": 1559,
"y": 776
} }
], ],
"stackers": [ "stackers": [
{ {
"id": "1", "id": "1",
"width": 60, "width": 70,
"height": 28, "height": 35,
"rotation": 0, "rotation": 0,
"x": 441, "x": 441,
"y": 302, "y": 522,
"shelfId": "row1" "shelfId": "row1"
},
{
"id": "2",
"width": 60,
"height": 28,
"rotation": 0,
"x": 441,
"y": 388,
"shelfId": "row3"
} }
], ],
"tracks": [ "tracks": [
{ {
"id": "gd1", "id": "gd1",
"width": 1230, "width": 1350,
"height": 2, "height": 2,
"rotation": 0, "rotation": 0,
"x": 346, "x": 240,
"y": 314 "y": 539
},
{
"id": "gd2",
"width": 1230,
"height": 2,
"rotation": 0,
"x": 346,
"y": 400
},
{
"id": "gd1_1",
"width": 1230,
"height": 2,
"rotation": 0,
"x": 346,
"y": 676
},
{
"id": "gd2_1",
"width": 1230,
"height": 2,
"rotation": 0,
"x": 346,
"y": 760
} }
], ],
"rollerConveyors": [ "rollerConveyors": [
{ {
"id": "G1005", "id": "G1003",
"width": 20, "width": 40,
"height": 45, "height": 30,
"rotation": 90, "rotation": 0,
"x": 376, "x": 250,
"y": 463 "y": 597
}, },
{ {
"id": "G1006", "id": "G1004",
"width": 20, "width": 40,
"height": 45, "height": 45,
"rotation": 90, "rotation": 0,
"x": 423, "x": 250,
"y": 463 "y": 630
} }
], ],
"deviceDraggable": false, "deviceDraggable": false,
"editMode": false, "editMode": false,
"labels": [ "labels": [
{ {
"id": "bq", "id": "bq1",
"content": "二 层",
"fontSize": 24,
"fontColor": "#000000",
"bgColor": "#ffffff",
"borderRadius": 4,
"x": 882,
"y": 198
},
{
"id": "bq2",
"content": "一 层", "content": "一 层",
"fontSize": 24, "fontSize": 24,
"fontColor": "#000000", "fontColor": "#000000",
"bgColor": "#ffffff", "bgColor": "#ffffff",
"borderRadius": 4, "borderRadius": 4,
"x": 882, "x": 882,
"y": 562 "y": 200
}, },
{ {
"id": "bq3", "id": "bq3",
@@ -289,38 +92,8 @@
"fontColor": "#ffffff", "fontColor": "#ffffff",
"bgColor": "#006666", "bgColor": "#006666",
"borderRadius": 4, "borderRadius": 4,
"x": 189, "x": 150,
"y": 293 "y": 522
},
{
"id": "bq4",
"content": "一巷道",
"fontSize": 16,
"fontColor": "#ffffff",
"bgColor": "#006666",
"borderRadius": 4,
"x": 189,
"y": 658
},
{
"id": "bq5",
"content": "二巷道",
"fontSize": 16,
"fontColor": "#ffffff",
"bgColor": "#006666",
"borderRadius": 4,
"x": 189,
"y": 383
},
{
"id": "bq6",
"content": "二巷道",
"fontSize": 16,
"fontColor": "#ffffff",
"bgColor": "#006666",
"borderRadius": 4,
"x": 189,
"y": 743
} }
], ],
"titleSettings": { "titleSettings": {

View File

@@ -12,8 +12,8 @@
"ywz":"3", "ywz":"3",
"yc":"1", "yc":"1",
"mbp":"2", "mbp":"2",
"mbwz":"46", "mbwz":"33",
"mbc":"5" "mbc":"6"
},{ },{
"id":"2", "id":"2",
"name":"堆垛机", "name":"堆垛机",

View File

@@ -246,7 +246,7 @@ import { listDeviceCar, getDeviceCar, delDeviceCar, addDeviceCar, updateDeviceCa
export default { export default {
name: "deviceMonitor", name: "deviceMonitor",
dicts: ['ddj_task_status', 'ddj_sbzt', 'ddj_czfs', 'ddj_yxxf', 'ddj_hczt', 'ssj_rkqq', 'ssj_dw', 'ssj_kx', 'ssj_ex','ssj_allow_put','tray_size','ssj_rkqq'], dicts: ['ddj_task_status', 'ddj_sbzt', 'ddj_czfs', 'ddj_yxxf', 'ddj_hczt', 'ssj_rkqq', 'ssj_dw', 'ssj_kx', 'ssj_ex','ssj_allow_put','tray_size'],
data() { data() {
return { return {
// 查询参数 // 查询参数