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