站点
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
<div class="title">搬运起点</div>
|
||||
</div>
|
||||
<div class="box1">
|
||||
<div class="point fl" :class="{'statusbg': pkId === e.point_code}" v-for="e in dataList" :key="e.point_code" @click="toRadio(e)">{{e.code_name}}</div>
|
||||
<div class="point-box">
|
||||
<div class="point fl" :class="{'statusbg': pkId === e.point_code}" v-for="e in dataList" :key="e.point_code" @click="toRadio(e)">{{e.code_name}}</div>
|
||||
</div>
|
||||
<!-- <div class="point fl" :class="{'statusbg': pkId === e.point_code}" v-for="e in dataList" :key="e.point_code" @click="toRadio(e)">{{e.code_name}}</div> -->
|
||||
</div>
|
||||
<div class="box2">
|
||||
<div class="btn" @click="toSure">定为目标站点</div>
|
||||
@@ -29,7 +32,7 @@ export default {
|
||||
dataList: [
|
||||
{
|
||||
point_code: '1',
|
||||
code_name: 'A-ZD101'
|
||||
code_name: '18-一线起升电机'
|
||||
},
|
||||
{
|
||||
point_code: '2',
|
||||
@@ -70,6 +73,26 @@ export default {
|
||||
{
|
||||
point_code: '11',
|
||||
code_name: 'A-ZD101'
|
||||
},
|
||||
{
|
||||
point_code: '12',
|
||||
code_name: 'A-ZD101'
|
||||
},
|
||||
{
|
||||
point_code: '13',
|
||||
code_name: 'A-ZD101'
|
||||
},
|
||||
{
|
||||
point_code: '14',
|
||||
code_name: 'A-ZD101'
|
||||
},
|
||||
{
|
||||
point_code: '15',
|
||||
code_name: 'A-ZD101'
|
||||
},
|
||||
{
|
||||
point_code: '16',
|
||||
code_name: 'A-ZD101'
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -78,6 +101,7 @@ export default {
|
||||
this.initData()
|
||||
},
|
||||
methods: {
|
||||
// 这个接口需要放到agv上去才行
|
||||
async initData () {
|
||||
let res = await queryPoint()
|
||||
if (res.code === '1') {
|
||||
@@ -129,20 +153,23 @@ export default {
|
||||
background center / 100% 100% url(../../../images/new/bg-task-r2.png) no-repeat
|
||||
padding-top 28px
|
||||
padding-left 44px
|
||||
.point
|
||||
width 248px
|
||||
height 134px
|
||||
line-height 134px
|
||||
color #B4C1D8
|
||||
font-size 36px
|
||||
text-align center
|
||||
margin-right 3px
|
||||
margin-bottom 13px
|
||||
background center / 100% 100% url(../../../images/new/bg2.png) no-repeat
|
||||
.statusbg
|
||||
box-sizing border-box
|
||||
color #3CC1FF
|
||||
background center / 100% 100% url(../../../images/new/bg1.png) no-repeat !important
|
||||
.point-box
|
||||
width 100%
|
||||
height 700px
|
||||
.point
|
||||
width 248px
|
||||
height 134px
|
||||
line-height 134px
|
||||
color #B4C1D8
|
||||
font-size 26px
|
||||
text-align center
|
||||
margin-right 3px
|
||||
margin-bottom 13px
|
||||
background center / 100% 100% url(../../../images/new/bg2.png) no-repeat
|
||||
.statusbg
|
||||
box-sizing border-box
|
||||
color #3CC1FF
|
||||
background center / 100% 100% url(../../../images/new/bg1.png) no-repeat !important
|
||||
.box2
|
||||
position fixed
|
||||
left 935px
|
||||
|
||||
Reference in New Issue
Block a user