|
@@ -396,13 +396,15 @@
|
|
|
|
|
|
var postData = {
|
|
|
deviceNumber: renlian.storage.get('userinfo').baseinfo.deviceNumber,
|
|
|
+ gpsNumber: renlian.storage.get('userinfo').baseinfo.gpsNumber,
|
|
|
+ plate: renlian.storage.get('userinfo').baseinfo.plate,
|
|
|
lockStatus: lockStatus.hasClass('icon-jiesuo') ? 1 : 0
|
|
|
}
|
|
|
|
|
|
|
|
|
renlian.httppost(config.webapi+'?s=api/change_lock_status',postData,function(res){
|
|
|
if(!res.success){
|
|
|
- // renlian.layer.toast('锁车失败');
|
|
|
+ renlian.layer.toast(res.message);
|
|
|
return;
|
|
|
}
|
|
|
if(lockStatus.hasClass('icon-jiesuo')){
|