up
This commit is contained in:
@ -6,15 +6,16 @@
|
|||||||
:model="dataInfo"
|
:model="dataInfo"
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
ref="form"
|
ref="form"
|
||||||
label-width="80px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<el-form-item label="比例尺:" prop="scale">
|
<el-form-item label="比例尺:" prop="scale">
|
||||||
<el-input v-model.number="dataInfo.scale"></el-input>
|
<el-input v-model.number="dataInfo.scale"></el-input>
|
||||||
|
<span style="color: #818895">px/m</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="xpixel:" prop="xpixel">
|
<el-form-item label="横轴像素:" prop="xpixel">
|
||||||
<el-input v-model.number="dataInfo.xpixel"></el-input>
|
<el-input v-model.number="dataInfo.xpixel"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="ypixel:" prop="ypixel">
|
<el-form-item label="纵轴像素:" prop="ypixel">
|
||||||
<el-input v-model.number="dataInfo.ypixel"></el-input>
|
<el-input v-model.number="dataInfo.ypixel"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="图片:" prop="pic">
|
<el-form-item label="图片:" prop="pic">
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
class="bg_box"
|
class="bg_box"
|
||||||
:style="{
|
:style="{
|
||||||
top: 100 - item.carOrdinate + '%',
|
top: 100 - item.carOrdinate + '%',
|
||||||
left: item.carAbscissa - 1 + '%',
|
left: item.carAbscissa + '%',
|
||||||
}"
|
}"
|
||||||
v-for="item in vehicleList"
|
v-for="item in vehicleList"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
@ -22,7 +22,7 @@
|
|||||||
class="bg_box2"
|
class="bg_box2"
|
||||||
:style="{
|
:style="{
|
||||||
top: 100 - item.ordinate + '%',
|
top: 100 - item.ordinate + '%',
|
||||||
left: item.abscissa - 1 + '%',
|
left: item.abscissa + '%',
|
||||||
}"
|
}"
|
||||||
v-for="item in cardList"
|
v-for="item in cardList"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
@ -92,6 +92,7 @@ export default {
|
|||||||
getMessage(msg) {
|
getMessage(msg) {
|
||||||
const data = JSON.parse(msg.data);
|
const data = JSON.parse(msg.data);
|
||||||
if (data.isLocationUpdate) {
|
if (data.isLocationUpdate) {
|
||||||
|
console.log(data.isLocationUpdate);
|
||||||
this.changeAdjustState(data.isLocationUpdate);
|
this.changeAdjustState(data.isLocationUpdate);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user