gaosp
2024-03-08 8b887f86a35b9711135087c9fc54f85a6ebf50d5
src/container/mapPreviewDetail/index.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-01-05 22:26:22
 * @LastEditors: Sneed
 * @LastEditTime: 2024-01-30 00:05:47
 * @LastEditTime: 2024-03-08 09:07:05
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/mapPreviewDetail/index.vue
-->
<template>
@@ -235,20 +235,19 @@
            this.$router.go(-1)
        },
        init() {
            getFormRequest('getbyid', {
                machineId: this.$route.query.id
            }).then(res => {
                var axisNames
                if (res.status.var4 != null) {
                if (res.data.status.var4 != null) {
                    axisNames = res.status.var4.split(':')
                }
                var positions
                if (res.status.var5 != null) {
                if (res.data.status.var5 != null) {
                    positions = res.status.var5.split(':')
                }
                var servoLoads
                if (res.status.var6 != null) {
                if (res.data.status.var6 != null) {
                    servoLoads = res.status.var6.split(':')
                }
                for (let i = 0; i < 3; i++) {
@@ -287,7 +286,7 @@
                }
                this.status = res.data.status
                this.tableData = res.data.list
                this.cycleTime = this.formatSeconds(res.msg.cycleTime)// 运行时间
                this.cycleTime = this.formatSeconds(res.data.msg.cycleTime)// 运行时间
                console.log(res)
            })
            try {
@@ -483,7 +482,8 @@
        .center {
            flex: 1 1 auto;
            display: flex;
            flex-direction: column;
            .center-top {
                display: flex;
                justify-content: space-around;
@@ -528,13 +528,15 @@
            }
            .center-bottom {
                flex: 1 1 auto;
                margin-bottom: 50px;
                margin-top: 50px;
                display: flex;
                justify-content: center;
                img {
                    width: 629px;
                    height: 648px;
                    max-width: 100%;
                    max-height: 100%;
                }
            }
        }
@@ -548,7 +550,7 @@
                background: url('./img/right_1.png');
                padding: 0 14px;
                overflow: hidden;
                background-size: contain;
                &>p {
                    font-size: 21px;
                    font-family: PingFangSC, PingFang SC;
@@ -620,7 +622,7 @@
                width: 100%;
                height: 208px;
                background: url('./img/right_2.png');
                background-size: contain;
                p {
                    font-size: 16px;
                    color: #F7F8FA;
@@ -646,6 +648,7 @@
                width: 100%;
                height: 208px;
                background: url('./img/right_2.png');
                background-size: contain;
            }
            .right_3 {