Compare commits
7 Commits
xiaozy
...
5c11f4644f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5c11f4644f | ||
|
|
66ce529d41 | ||
|
|
74d32fa0a7 | ||
| 928947bab4 | |||
|
|
9d2c86a20d | ||
|
|
ff0986230c | ||
| 642d6b07f8 |
@@ -280,9 +280,16 @@
|
|||||||
submit() {
|
submit() {
|
||||||
this.checkFn('name');
|
this.checkFn('name');
|
||||||
this.checkFn('plateNumber');
|
this.checkFn('plateNumber');
|
||||||
if (!this.fromStyle.nameType || !this.fromStyle.plateNumberType) {
|
if (!this.fromStyle.nameType) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '还有信息没有填哦',
|
title: '请输入姓名',
|
||||||
|
icon: 'error'
|
||||||
|
});
|
||||||
|
return
|
||||||
|
};
|
||||||
|
if (!this.fromStyle.plateNumberType) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '车牌号格式有误',
|
||||||
icon: 'error'
|
icon: 'error'
|
||||||
});
|
});
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -487,7 +487,7 @@
|
|||||||
markerList.forEach((item, index) => {
|
markerList.forEach((item, index) => {
|
||||||
let configure = {
|
let configure = {
|
||||||
siteId: item.id,
|
siteId: item.id,
|
||||||
id: Number(`${index}`), //2023.08.30 在此处踩坑 一作这b竟然把id重新赋值了
|
id: Number(`${index}`), //2023.08.30 在此处踩坑 一作这b竟然把id重新赋值了。 一作:去好好查一下官网的MAP中的marker的文档 id字段的注意事项,再看一下后台给的id, 补补课
|
||||||
imgCustomCallout: this.olitype(item.siteChannel),
|
imgCustomCallout: this.olitype(item.siteChannel),
|
||||||
iconPath: '../../static/img/tt.png',
|
iconPath: '../../static/img/tt.png',
|
||||||
width: 5,
|
width: 5,
|
||||||
|
|||||||
@@ -56,16 +56,16 @@
|
|||||||
seleIndex:0,
|
seleIndex:0,
|
||||||
kmData:[
|
kmData:[
|
||||||
{
|
{
|
||||||
lable:'20KM',
|
lable:'5KM',
|
||||||
value:20000
|
value:5000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
lable:'10KM',
|
||||||
|
value:10000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
lable:'30KM',
|
lable:'30KM',
|
||||||
value:30000
|
value:30000
|
||||||
},
|
|
||||||
{
|
|
||||||
lable:'50KM',
|
|
||||||
value:50000
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
width: 40,
|
width: 40,
|
||||||
height: 50
|
height: 50
|
||||||
},
|
},
|
||||||
radius: 20000,
|
radius: 5000,
|
||||||
LastCoordinate: [],
|
LastCoordinate: [],
|
||||||
timer: null,
|
timer: null,
|
||||||
TXSDK: null,
|
TXSDK: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user