7 Commits

Author SHA1 Message Date
xiaozhiyong
5c11f4644f 更新 2023-11-21 16:29:43 +08:00
xiaozhiyong
66ce529d41 Merge branch 'master' of http://121.196.213.68:3000/caoliancun/MP_XOIL_company_new 2023-11-20 13:24:33 +08:00
xiaozhiyong
74d32fa0a7 更新 2023-11-20 13:24:17 +08:00
928947bab4 Merge pull request '12' (#13) from caolc into master
Reviewed-on: #13
2023-11-19 10:42:05 +00:00
caoliancun
9d2c86a20d 12 2023-11-19 18:40:26 +08:00
xiaozhiyong
ff0986230c Merge branch 'master' of http://121.196.213.68:3000/caoliancun/MP_XOIL_company_new 2023-10-12 11:04:05 +08:00
642d6b07f8 Merge pull request 'xiaozy' (#12) from xiaozy into master
Reviewed-on: #12
2023-09-27 06:16:17 +00:00
4 changed files with 17 additions and 10 deletions

View File

@@ -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

View File

@@ -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,

View File

@@ -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
} }
] ]
} }

View File

@@ -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,