| | |
| | | <!-- |
| | | * @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> |
| | |
| | | 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++) { |
| | |
| | | } |
| | | 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 { |
| | |
| | | |
| | | .center { |
| | | flex: 1 1 auto; |
| | | |
| | | display: flex; |
| | | flex-direction: column; |
| | | .center-top { |
| | | display: flex; |
| | | justify-content: space-around; |
| | |
| | | } |
| | | |
| | | .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%; |
| | | } |
| | | } |
| | | } |
| | |
| | | background: url('./img/right_1.png'); |
| | | padding: 0 14px; |
| | | overflow: hidden; |
| | | |
| | | background-size: contain; |
| | | &>p { |
| | | font-size: 21px; |
| | | font-family: PingFangSC, PingFang SC; |
| | |
| | | width: 100%; |
| | | height: 208px; |
| | | background: url('./img/right_2.png'); |
| | | |
| | | background-size: contain; |
| | | p { |
| | | font-size: 16px; |
| | | color: #F7F8FA; |
| | |
| | | width: 100%; |
| | | height: 208px; |
| | | background: url('./img/right_2.png'); |
| | | background-size: contain; |
| | | } |
| | | |
| | | .right_3 { |