Commit e39a6e32 authored by 李志鸣's avatar 李志鸣

fix(AVI PC): 修复PC端AVI bug

parent 9d7d3653
This diff is collapsed.
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</div> </div>
<div class="info"> <div class="info">
设备报警信息: 设备报警信息:
<div>&nbsp;</div> <div class="line"></div>
<swiper :options="swiperOption"> <swiper :options="swiperOption">
<swiper-slide v-for="(item, index) in warningList" :key="index">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{warningList[index].name}}{{warningList[index].info}}</swiper-slide> <swiper-slide v-for="(item, index) in warningList" :key="index">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{warningList[index].name}}{{warningList[index].info}}</swiper-slide>
</swiper> </swiper>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
return { return {
// Data轮询定时器 // Data轮询定时器
dataTimer: '', dataTimer: '',
mockArray: [0, 1, 2, 3, 4, 5, 6, 7], mockArray: [0, 1, 2, 3, 4, 5],
// 工位实时数据 // 工位实时数据
timmingData: {}, timmingData: {},
// 报警数据 // 报警数据
...@@ -166,12 +166,12 @@ ...@@ -166,12 +166,12 @@
.title-pack { .title-pack {
width: 1710px; width: 1710px;
height: 100px; height: 120px;
text-align: center; text-align: center;
color: yellow; color: yellow;
line-height: 100px; line-height: 120px;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 100px;
} }
.table-pack { .table-pack {
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
color: yellow; color: yellow;
line-height: 100px; line-height: 100px;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 90px;
} }
.th-r { .th-r {
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
color: yellow; color: yellow;
line-height: 100px; line-height: 100px;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 90px;
} }
} }
...@@ -214,26 +214,29 @@ ...@@ -214,26 +214,29 @@
border-top: 2px solid yellow; border-top: 2px solid yellow;
color: yellow; color: yellow;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 90px;
.line {
height: 20px;
}
.swiper-slide{ .swiper-slide{
word-wrap: break-word; word-wrap: break-word;
word-break: break-all; word-break: break-all;
font-size: 80px;
} }
} }
.time { .time {
width: 1710px; width: 1710px;
height: 100px; height: 80px;
border-top: 2px solid yellow; border-top: 2px solid yellow;
color: yellow; color: yellow;
font-weight: bold; font-weight: bold;
line-height: 100px; line-height: 80px;
font-size: 60px; font-size: 70px;
} }
} }
.sprayDrying { .sprayDrying {
width: 1710px; width: 1710px;
height: 860px;
background-color: #111; background-color: #111;
.title-pack { .title-pack {
...@@ -241,9 +244,9 @@ ...@@ -241,9 +244,9 @@
// height: 100px; // height: 100px;
text-align: center; text-align: center;
color: yellow; color: yellow;
line-height: 100px; line-height: 120px;
font-weight: bold; font-weight: bold;
font-size: 50px; font-size: 100px;
} }
// .table-pack { // .table-pack {
// overflow: hidden; // overflow: hidden;
...@@ -254,15 +257,15 @@ ...@@ -254,15 +257,15 @@
.th-1,.th-2,.th-3,.th-4,.th-5,.th-6 { .th-1,.th-2,.th-3,.th-4,.th-5,.th-6 {
width: 600px; width: 600px;
height: 60px; height: 92px;
border-top: 2px solid yellow; border-top: 2px solid yellow;
border-right: 2px solid yellow; border-right: 2px solid yellow;
float: left; float: left;
text-align: center; text-align: center;
color: yellow; color: yellow;
line-height: 60px; line-height: 92px;
font-weight: bold; font-weight: bold;
font-size: 50px; font-size: 85px;
} }
.th-2 {width: 506px;} .th-2 {width: 506px;}
.th-3 { .th-3 {
...@@ -340,12 +343,12 @@ ...@@ -340,12 +343,12 @@
.time { .time {
width: 1710px; width: 1710px;
height: 100px; height: 92px;
border-top: 2px solid yellow; border-top: 2px solid yellow;
color: yellow; color: yellow;
font-weight: bold; font-weight: bold;
line-height: 100px; line-height: 92px;
font-size: 60px; font-size: 70px;
// } // }
} }
} }
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</div> </div>
<div class="info"> <div class="info">
设备报警信息: 设备报警信息:
<div>&nbsp;</div> <div class="line"></div>
<swiper :options="swiperOption"> <swiper :options="swiperOption">
<swiper-slide v-for="(item, index) in warningList" :key="index">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{warningList[index].name}}{{warningList[index].info}}</swiper-slide> <swiper-slide v-for="(item, index) in warningList" :key="index">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{warningList[index].name}}{{warningList[index].info}}</swiper-slide>
</swiper> </swiper>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
return { return {
// Data轮询定时器 // Data轮询定时器
dataTimer: '', dataTimer: '',
mockArray: [0, 1, 2, 3, 4, 5, 6, 7], mockArray: [0, 1, 2, 3, 4, 5],
// 工位实时数据 // 工位实时数据
timmingData: {}, timmingData: {},
// 报警数据 // 报警数据
...@@ -87,94 +87,7 @@ ...@@ -87,94 +87,7 @@
} }
}, },
// 面清漆室实时数据 // 面清漆室实时数据
roomInfoList: [], roomInfoList: []
reponse: [
{
name: '喷漆飞机1',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机2',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机3',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机4',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机5',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机6',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机7',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机8',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机9',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机10',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机11',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机12',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机13',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机14',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机14',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机15',
stationState: '工作',
workingHours: '60'
},
{
name: '喷漆飞机16',
stationState: '工作',
workingHours: '60'
}
]
} }
}, },
methods: { methods: {
...@@ -252,12 +165,12 @@ ...@@ -252,12 +165,12 @@
.title-pack { .title-pack {
width: 1710px; width: 1710px;
height: 100px; height: 120px;
text-align: center; text-align: center;
color: yellow; color: yellow;
line-height: 100px; line-height: 120px;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 100px;
} }
.table-pack { .table-pack {
...@@ -277,7 +190,7 @@ ...@@ -277,7 +190,7 @@
color: yellow; color: yellow;
line-height: 100px; line-height: 100px;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 90px;
} }
.th-r { .th-r {
...@@ -289,7 +202,7 @@ ...@@ -289,7 +202,7 @@
color: yellow; color: yellow;
line-height: 100px; line-height: 100px;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 90px;
} }
} }
...@@ -300,26 +213,29 @@ ...@@ -300,26 +213,29 @@
border-top: 2px solid yellow; border-top: 2px solid yellow;
color: yellow; color: yellow;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 90px;
.line {
height: 20px;
}
.swiper-slide{ .swiper-slide{
word-wrap: break-word; word-wrap: break-word;
word-break: break-all; word-break: break-all;
font-size: 80px;
} }
} }
.time { .time {
width: 1710px; width: 1710px;
height: 100px; height: 80px;
border-top: 2px solid yellow; border-top: 2px solid yellow;
color: yellow; color: yellow;
font-weight: bold; font-weight: bold;
line-height: 100px; line-height: 80px;
font-size: 60px; font-size: 70px;
} }
} }
.sprayDrying { .sprayDrying {
width: 1710px; width: 1710px;
height: 860px;
background-color: #111; background-color: #111;
.title-pack { .title-pack {
...@@ -327,9 +243,9 @@ ...@@ -327,9 +243,9 @@
// height: 100px; // height: 100px;
text-align: center; text-align: center;
color: yellow; color: yellow;
line-height: 100px; line-height: 120px;
font-weight: bold; font-weight: bold;
font-size: 50px; font-size: 100px;
} }
// .table-pack { // .table-pack {
// overflow: hidden; // overflow: hidden;
...@@ -340,15 +256,15 @@ ...@@ -340,15 +256,15 @@
.th-1,.th-2,.th-3,.th-4,.th-5,.th-6 { .th-1,.th-2,.th-3,.th-4,.th-5,.th-6 {
width: 600px; width: 600px;
height: 60px; height: 92px;
border-top: 2px solid yellow; border-top: 2px solid yellow;
border-right: 2px solid yellow; border-right: 2px solid yellow;
float: left; float: left;
text-align: center; text-align: center;
color: yellow; color: yellow;
line-height: 60px; line-height: 92px;
font-weight: bold; font-weight: bold;
font-size: 50px; font-size: 85px;
} }
.th-2 {width: 506px;} .th-2 {width: 506px;}
.th-3 { .th-3 {
...@@ -426,12 +342,12 @@ ...@@ -426,12 +342,12 @@
.time { .time {
width: 1710px; width: 1710px;
height: 100px; height: 92px;
border-top: 2px solid yellow; border-top: 2px solid yellow;
color: yellow; color: yellow;
font-weight: bold; font-weight: bold;
line-height: 100px; line-height: 92px;
font-size: 60px; font-size: 70px;
// } // }
} }
} }
......
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.container { .container {
background-color: #111; // background-color: #111;
.page-pack { .page-pack {
width: 1556px; width: 1556px;
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
color: yellow; color: yellow;
line-height: 134px; line-height: 134px;
font-weight: bold; font-weight: bold;
font-size: 60px; font-size: 100px;
} }
.table-pack { .table-pack {
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
color: yellow; color: yellow;
line-height: 110.625px; line-height: 110.625px;
font-weight: bold; font-weight: bold;
font-size: 48px; font-size: 49px;
} }
.th-2 {width: 20%; font-size:60px } .th-2 {width: 20%; font-size:60px }
.th-3 {width: 29.5%;} .th-3 {width: 29.5%;}
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<!-- 第 7 行 --> <!-- 第 7 行 -->
<div <div
class="elect-row-7-1" class="elect-row-7-1"
@click="doCarStationClick(query['SSTC1-7'].busNo)" @click="doCarStationClick(query['STC1-7'].busNo)"
v-if="query.hasOwnProperty('STC1-7') && query['STC1-7'].state !== 'FREE'" v-if="query.hasOwnProperty('STC1-7') && query['STC1-7'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['STC1-7'].busType, 'STC1-7')" :class="judgeCarTypeAndcarStationstyle(query['STC1-7'].busType, 'STC1-7')"
> >
...@@ -423,7 +423,7 @@ ...@@ -423,7 +423,7 @@
v-if="query.hasOwnProperty('HDG1-65') && query['HDG1-65'].state !== 'FREE'" v-if="query.hasOwnProperty('HDG1-65') && query['HDG1-65'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['HDG1-65'].busType, 'HDG1-65')" :class="judgeCarTypeAndcarStationstyle(query['HDG1-65'].busType, 'HDG1-65')"
> >
<p>{{query['HDG1-65'].No}}</p> <p>{{query['HDG1-65'].busNo}}</p>
</div> </div>
<div <div
...@@ -464,16 +464,7 @@ export default { ...@@ -464,16 +464,7 @@ export default {
// 电泳作业区域实时信息 // 电泳作业区域实时信息
query: {}, query: {},
// 根据车身号获得当前车体信息 // 根据车身号获得当前车体信息
BusInformation: { BusInformation: {}
saleOrderNo: '201905201252',
planOrderNo: '83848484',
code: 'EDSCSFDGVG',
busType: 'car',
orderSize: '20',
unit: 'From China',
shop: '二号车间',
line: '4-25'
}
}; };
}, },
mounted () { mounted () {
...@@ -487,7 +478,6 @@ export default { ...@@ -487,7 +478,6 @@ export default {
methods: { methods: {
// 点击车位弹出车体信息 // 点击车位弹出车体信息
doCarStationClick (row) { doCarStationClick (row) {
console.log(row);
this.$refs.toolRef.$refs.tooltip.style.visibility = 'visible'; this.$refs.toolRef.$refs.tooltip.style.visibility = 'visible';
let left = window.event.clientX; let left = window.event.clientX;
let top = window.event.clientY; let top = window.event.clientY;
...@@ -495,8 +485,7 @@ export default { ...@@ -495,8 +485,7 @@ export default {
this.$refs.toolRef.$refs.tooltip.style.left = left - 100 + 'px'; this.$refs.toolRef.$refs.tooltip.style.left = left - 100 + 'px';
this.$fetch('area-controller/busNo-get', { busNo: row }) this.$fetch('area-controller/busNo-get', { busNo: row })
.then(res => { .then(res => {
console.log('res', res); this.BusInformation = _.cloneDeep(res);
// this.BusInformation = _.cloneDeep(res);
}) })
.catch(error => { .catch(error => {
reject(error); reject(error);
......
...@@ -165,16 +165,7 @@ export default { ...@@ -165,16 +165,7 @@ export default {
// 车辆定位数据 // 车辆定位数据
carPostionInfo: {}, carPostionInfo: {},
// 根据车身号获得当前车体信息 // 根据车身号获得当前车体信息
BusInformation: { BusInformation: {}
saleOrderNo: '2019-10-11 11:09',
planOrderNo: '83848484',
code: 'EDSCSFDGVG',
busType: 'car',
orderSize: '2222222255555550',
unit: 'From China',
shop: '二号车间',
line: '4-25'
}
}; };
}, },
mounted () { mounted () {
...@@ -203,7 +194,6 @@ export default { ...@@ -203,7 +194,6 @@ export default {
}, },
// 点击车位弹出车体信息 // 点击车位弹出车体信息
doCarStationClick (row) { doCarStationClick (row) {
console.log(row);
this.$refs.toolRef.$refs.tooltip.style.visibility = 'visible'; this.$refs.toolRef.$refs.tooltip.style.visibility = 'visible';
let left = window.event.clientX; let left = window.event.clientX;
let top = window.event.clientY; let top = window.event.clientY;
...@@ -211,7 +201,7 @@ export default { ...@@ -211,7 +201,7 @@ export default {
this.$refs.toolRef.$refs.tooltip.style.left = left - 100 + 'px'; this.$refs.toolRef.$refs.tooltip.style.left = left - 100 + 'px';
this.$fetch('area-controller/busNo-get', { busNo: row }) this.$fetch('area-controller/busNo-get', { busNo: row })
.then(res => { .then(res => {
console.log('res', res); this.BusInformation = _.cloneDeep(res);
}) })
.catch(error => { .catch(error => {
reject(error); reject(error);
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
v-if="query.hasOwnProperty('HDG1-117') && query['HDG1-117'].state !== 'FREE'" v-if="query.hasOwnProperty('HDG1-117') && query['HDG1-117'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['HDG1-117'].busType, 'HDG1-117')" :class="judgeCarTypeAndcarStationstyle(query['HDG1-117'].busType, 'HDG1-117')"
> >
<p>{{query['HDG1-117']}}</p> <p>{{query['HDG1-117'].busNo}}</p>
</div> </div>
<div <div
class="coat-row-1-4" class="coat-row-1-4"
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
v-if="query.hasOwnProperty('HDG1-118') && query['HDG1-118'].state !== 'FREE'" v-if="query.hasOwnProperty('HDG1-118') && query['HDG1-118'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['HDG1-118'].busType, 'HDG1-118')" :class="judgeCarTypeAndcarStationstyle(query['HDG1-118'].busType, 'HDG1-118')"
> >
<p>{{query['HDG1-118']}}</p> <p>{{query['HDG1-118'].busNo}}</p>
</div> </div>
<div <div
class="coat-row-1-5" class="coat-row-1-5"
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
v-if="query.hasOwnProperty('HDG5-18') && query['HDG5-18'].state !== 'FREE'" v-if="query.hasOwnProperty('HDG5-18') && query['HDG5-18'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['HDG5-18'].busType, 'HDG5-18')" :class="judgeCarTypeAndcarStationstyle(query['HDG5-18'].busType, 'HDG5-18')"
> >
<p>{{query['HDG5-18']}}</p> <p>{{query['HDG5-18'].busNo}}</p>
</div> </div>
<!-- 第三行 --> <!-- 第三行 -->
<div <div
...@@ -214,16 +214,7 @@ export default { ...@@ -214,16 +214,7 @@ export default {
// 车辆定位数据 // 车辆定位数据
carPostionInfo: {}, carPostionInfo: {},
// 根据车身号获得当前车体信息 // 根据车身号获得当前车体信息
BusInformation: { BusInformation: {}
saleOrderNo: '2019-10-11 11:09',
planOrderNo: '83848484',
code: 'EDSCSFDGVG',
busType: 'car',
orderSize: '2222222255555550',
unit: 'From China',
shop: '二号车间',
line: '4-25'
}
}; };
}, },
...@@ -252,7 +243,6 @@ export default { ...@@ -252,7 +243,6 @@ export default {
}, },
// 点击车位弹出车体信息 // 点击车位弹出车体信息
doCarStationClick (row) { doCarStationClick (row) {
console.log(row);
this.$refs.toolRef.$refs.tooltip.style.visibility = 'visible'; this.$refs.toolRef.$refs.tooltip.style.visibility = 'visible';
let left = window.event.clientX; let left = window.event.clientX;
let top = window.event.clientY; let top = window.event.clientY;
...@@ -260,7 +250,7 @@ export default { ...@@ -260,7 +250,7 @@ export default {
this.$refs.toolRef.$refs.tooltip.style.left = left - 100 + 'px'; this.$refs.toolRef.$refs.tooltip.style.left = left - 100 + 'px';
this.$fetch('area-controller/busNo-get', { busNo: row }) this.$fetch('area-controller/busNo-get', { busNo: row })
.then(res => { .then(res => {
console.log('res', res); this.BusInformation = _.cloneDeep(res);
}) })
.catch(error => { .catch(error => {
reject(error); reject(error);
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
v-if="query.hasOwnProperty('HDG1-106') && query['HDG1-106'].state !== 'FREE'" v-if="query.hasOwnProperty('HDG1-106') && query['HDG1-106'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['HDG1-106'].busType, 'HDG1-106')" :class="judgeCarTypeAndcarStationstyle(query['HDG1-106'].busType, 'HDG1-106')"
> >
<p>{{query['HDG1-106']}}</p> <p>{{query['HDG1-106'].busNo}}</p>
</div> </div>
<div <div
class="putty-row-3-3" class="putty-row-3-3"
...@@ -280,7 +280,6 @@ export default { ...@@ -280,7 +280,6 @@ export default {
}, },
// 点击车辆工位 // 点击车辆工位
doCarStationClick (busNub) { doCarStationClick (busNub) {
console.log(busNub);
let left = window.event.clientX; let left = window.event.clientX;
let top = window.event.clientY; let top = window.event.clientY;
console.log('left', left); console.log('left', left);
...@@ -290,8 +289,7 @@ export default { ...@@ -290,8 +289,7 @@ export default {
this.$refs.toolRef.$refs.tooltip.style.left = `${left}px`; this.$refs.toolRef.$refs.tooltip.style.left = `${left}px`;
this.$fetch('area-controller/busNo-get', { busNo: busNub }) this.$fetch('area-controller/busNo-get', { busNo: busNub })
.then(res => { .then(res => {
console.log('res', res); this.BusInformation = _.cloneDeep(res);
// this.BusInformation = _.cloneDeep(res);
}) })
.catch(error => { .catch(error => {
reject(error); reject(error);
......
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
v-if="query.hasOwnProperty('HDG1-25') && query['HDG1-25'].state !== 'FREE'" v-if="query.hasOwnProperty('HDG1-25') && query['HDG1-25'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['HDG1-25'].busType, 'HDG1-25')" :class="judgeCarTypeAndcarStationstyle(query['HDG1-25'].busType, 'HDG1-25')"
> >
<p>{{query['HDG1-25']}}</p> <p>{{query['HDG1-25'].busNo}}</p>
</div> </div>
<div <div
class="sheet-row-5-2" class="sheet-row-5-2"
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
v-if="query.hasOwnProperty('HDG1-28') && query['HDG1-28'].state !== 'FREE'" v-if="query.hasOwnProperty('HDG1-28') && query['HDG1-28'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['HDG1-28'].busType, 'HDG1-28')" :class="judgeCarTypeAndcarStationstyle(query['HDG1-28'].busType, 'HDG1-28')"
> >
<p>{{query['HDG1-28']}}</p> <p>{{query['HDG1-28'].busNo}}</p>
</div> </div>
<div <div
class="sheet-row-6-4" class="sheet-row-6-4"
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
v-if="query.hasOwnProperty('HDG1-27') && query['HDG1-27'].state !== 'FREE'" v-if="query.hasOwnProperty('HDG1-27') && query['HDG1-27'].state !== 'FREE'"
:class="judgeCarTypeAndcarStationstyle(query['HDG1-27'].busType, 'HDG1-27')" :class="judgeCarTypeAndcarStationstyle(query['HDG1-27'].busType, 'HDG1-27')"
> >
<p>{{query['HDG1-27']}}</p> <p>{{query['HDG1-27'].busNo}}</p>
</div> </div>
<div <div
class="sheet-row-6-5" class="sheet-row-6-5"
...@@ -315,16 +315,7 @@ export default { ...@@ -315,16 +315,7 @@ export default {
// 钣金车存放区实时信息 // 钣金车存放区实时信息
query: {}, query: {},
// 根据车身号获得当前车体信息 // 根据车身号获得当前车体信息
BusInformation: { BusInformation: {}
saleOrderNo: '2019-10-11 11:09',
planOrderNo: '83848484',
code: 'EDSCSFDGVG',
busType: 'car',
orderSize: '2222222255555550',
unit: 'From China',
shop: '二号车间',
line: '4-25'
}
}; };
}, },
mounted () { mounted () {
...@@ -354,7 +345,6 @@ export default { ...@@ -354,7 +345,6 @@ export default {
}, },
// 点击车辆工位 // 点击车辆工位
doCarStationClick (busNub) { doCarStationClick (busNub) {
console.log(busNub);
let left = window.event.clientX; let left = window.event.clientX;
let top = window.event.clientY; let top = window.event.clientY;
console.log('left', left); console.log('left', left);
...@@ -364,8 +354,7 @@ export default { ...@@ -364,8 +354,7 @@ export default {
this.$refs.toolRef.$refs.tooltip.style.left = `${left}px`; this.$refs.toolRef.$refs.tooltip.style.left = `${left}px`;
this.$fetch('area-controller/busNo-get', { busNo: busNub }) this.$fetch('area-controller/busNo-get', { busNo: busNub })
.then(res => { .then(res => {
console.log('res', res); this.BusInformation = _.cloneDeep(res);
// this.BusInformation = _.cloneDeep(res);
}) })
.catch(error => { .catch(error => {
reject(error); reject(error);
......
...@@ -609,27 +609,27 @@ ...@@ -609,27 +609,27 @@
<div <div
class="line-5-clean-up-1" class="line-5-clean-up-1"
v-if="sealedAnticorrosion.hasOwnProperty('HDG1-85') && sealedAnticorrosion['HDG1-85'].state !== 'FREE'" v-if="sealedAnticorrosion.hasOwnProperty('HDG1-85') && sealedAnticorrosion['HDG1-85'].state !== 'FREE'"
:class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['DG1-85'].busType, 'DG1-85')"> :class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['HDG1-85'].busType, 'HDG1-85')">
</div> </div>
<div <div
class="line-5-damping-glue-spray-paint" class="line-5-damping-glue-spray-paint"
v-if="sealedAnticorrosion.hasOwnProperty('HDG1-86') && sealedAnticorrosion['HDG1-86'].state !== 'FREE'" v-if="sealedAnticorrosion.hasOwnProperty('HDG1-86') && sealedAnticorrosion['HDG1-86'].state !== 'FREE'"
:class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['DG1-86'].busType, 'DG1-86')"> :class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['HDG1-86'].busType, 'HDG1-86')">
</div> </div>
<div <div
class="line-5-clean-up-2" class="line-5-clean-up-2"
v-if="sealedAnticorrosion.hasOwnProperty('HDG1-87') && sealedAnticorrosion['HDG1-87'].state !== 'FREE'" v-if="sealedAnticorrosion.hasOwnProperty('HDG1-87') && sealedAnticorrosion['HDG1-87'].state !== 'FREE'"
:class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['DG1-87'].busType, 'DG1-87')"> :class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['HDG1-87'].busType, 'HDG1-87')">
</div> </div>
<div <div
class="line-5-foaming-spray" class="line-5-foaming-spray"
v-if="sealedAnticorrosion.hasOwnProperty('HDG1-88') && sealedAnticorrosion['HDG1-88'].state !== 'FREE'" v-if="sealedAnticorrosion.hasOwnProperty('HDG1-88') && sealedAnticorrosion['HDG1-88'].state !== 'FREE'"
:class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['DG1-88'].busType, 'DG1-88')"> :class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['HDG1-88'].busType, 'HDG1-88')">
</div> </div>
<div <div
class="line-5-shadow-protection" class="line-5-shadow-protection"
v-if="sealedAnticorrosion.hasOwnProperty('HDG1-89') && sealedAnticorrosion['HDG1-89'].state !== 'FREE'" v-if="sealedAnticorrosion.hasOwnProperty('HDG1-89') && sealedAnticorrosion['HDG1-89'].state !== 'FREE'"
:class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['DG1-89'].busType, 'DG1-89')"> :class="judgeCarTypeAndCarStationStyle(sealedAnticorrosion['HDG1-89'].busType, 'HDG1-89')">
</div> </div>
<div <div
class="line-5-station-1" class="line-5-station-1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment