|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
<div class="headTitle">一线成品入库数据监控平台</div>
|
|
|
|
|
<div class="headTitle">{{line}}线成品入库数据监控平台</div>
|
|
|
|
|
<div class="title" v-for="(i,k) in title"
|
|
|
|
|
:style="'top:'+(titlePosition[k]&&titlePosition[k].top||0)+'%;left:'+(titlePosition[k]&&titlePosition[k].left||0)+'%'">
|
|
|
|
|
{{ i }}
|
|
|
|
@ -99,6 +99,7 @@ export default {
|
|
|
|
|
name: "Liner",
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
line:'一',
|
|
|
|
|
loss:100,
|
|
|
|
|
meter:30,
|
|
|
|
|
title: [
|
|
|
|
@ -150,6 +151,13 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
console.log(this.$route.query.id)
|
|
|
|
|
if(this.$route.query.id === '1'){
|
|
|
|
|
this.line = '一'
|
|
|
|
|
}
|
|
|
|
|
if(this.$route.query.id === '2'){
|
|
|
|
|
this.line = '二'
|
|
|
|
|
}
|
|
|
|
|
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
|
|
|
|
|
getData().then(e => {
|
|
|
|
|
this.scrollTableData = e.table8
|
|
|
|
|