From 75f5ffc85064f36d633a5c00cdfced3a12780023 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Sat, 28 Mar 2020 13:48:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/addAuditUserStep/addAuditUserStep.js | 2 +- public/components/addComplaintStep/addComplaintStep.js | 2 +- public/components/addStaffStep/addStaffStep.js | 2 +- public/components/configMenu/configMenu.js | 2 +- public/components/devServiceProvide/devServiceProvide.js | 2 +- .../inspectionRoutePointManage.html | 4 ++-- .../inspectionRoutePointManage/inspectionRoutePointManage.js | 4 ++-- public/components/itemOut/itemOut.js | 2 +- public/components/repairDispatchStep/repairDispatchStep.js | 2 +- public/components/serviceBinding/serviceBinding.js | 2 +- public/vcCore/vcFramework.js | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/public/components/addAuditUserStep/addAuditUserStep.js b/public/components/addAuditUserStep/addAuditUserStep.js index 332204040..7002ed30a 100644 --- a/public/components/addAuditUserStep/addAuditUserStep.js +++ b/public/components/addAuditUserStep/addAuditUserStep.js @@ -139,7 +139,7 @@ function (json, res) { if (res.status == 200) { - vc.toast('处理成功', true); + vc.toast('处理成功'); //关闭model vc.jumpToPage("/admin.html#/auditUserManage?" + vc.objToGetParam(JSON.parse(json))); return; diff --git a/public/components/addComplaintStep/addComplaintStep.js b/public/components/addComplaintStep/addComplaintStep.js index e57a31420..31a7ec07f 100644 --- a/public/components/addComplaintStep/addComplaintStep.js +++ b/public/components/addComplaintStep/addComplaintStep.js @@ -79,7 +79,7 @@ function (json, res) { if (res.status == 200) { - vc.toast('处理成功', true); + vc.toast('处理成功'); //关闭model vc.jumpToPage("/admin.html#/complaintManage?" + vc.objToGetParam(JSON.parse(json))); return; diff --git a/public/components/addStaffStep/addStaffStep.js b/public/components/addStaffStep/addStaffStep.js index b86c68546..58c1b5d18 100644 --- a/public/components/addStaffStep/addStaffStep.js +++ b/public/components/addStaffStep/addStaffStep.js @@ -112,7 +112,7 @@ function(json,res){ if(res.status == 200){ - vc.toast('处理成功',true); + vc.toast('处理成功'); //关闭model vc.jumpToPage("/admin.html#/staff"); return ; diff --git a/public/components/configMenu/configMenu.js b/public/components/configMenu/configMenu.js index 72596d3fb..64b009184 100644 --- a/public/components/configMenu/configMenu.js +++ b/public/components/configMenu/configMenu.js @@ -75,7 +75,7 @@ function(json,res){ if(res.status == 200){ - vc.toast('处理成功',true); + vc.toast('处理成功'); //关闭model vc.jumpToPage("/admin.html#/menuManage?" + vc.objToGetParam(JSON.parse(json))); return ; diff --git a/public/components/devServiceProvide/devServiceProvide.js b/public/components/devServiceProvide/devServiceProvide.js index e7dd47330..44ab1121b 100644 --- a/public/components/devServiceProvide/devServiceProvide.js +++ b/public/components/devServiceProvide/devServiceProvide.js @@ -75,7 +75,7 @@ vc.emit('serviceProvideRemarkView', 'onIndex', vc.component.devServiceProvideInf function(json,res){ if(res.status == 200){ - vc.toast('处理成功',true); + vc.toast('处理成功'); //关闭model vc.jumpToPage("/admin.html#/serviceProvideManage?" + vc.objToGetParam(JSON.parse(json))); return ; diff --git a/public/components/inspectionRoutePointManage/inspectionRoutePointManage.html b/public/components/inspectionRoutePointManage/inspectionRoutePointManage.html index 6bde600e0..d9336765d 100644 --- a/public/components/inspectionRoutePointManage/inspectionRoutePointManage.html +++ b/public/components/inspectionRoutePointManage/inspectionRoutePointManage.html @@ -9,7 +9,7 @@ 返回 @@ -40,7 +40,7 @@
diff --git a/public/components/inspectionRoutePointManage/inspectionRoutePointManage.js b/public/components/inspectionRoutePointManage/inspectionRoutePointManage.js index 07bd108e4..2448474f3 100644 --- a/public/components/inspectionRoutePointManage/inspectionRoutePointManage.js +++ b/public/components/inspectionRoutePointManage/inspectionRoutePointManage.js @@ -60,10 +60,10 @@ } ); }, - _openAddInspectionRouteModal:function(){ + _openAddInspectionRoutePointModal:function(){ vc.emit('addInspectionRoutePointRel','openAddInspectionPointModal',{}); }, - _openDeleteInspectionRouteModel:function(_inspectionPoint){ + _openDeleteInspectionRoutePointModel:function(_inspectionPoint){ vc.emit('deleteInspectionRoutePointRel','openDeleteInspectionPointModal',_inspectionPoint); }, _goBack:function(){ diff --git a/public/components/itemOut/itemOut.js b/public/components/itemOut/itemOut.js index fd2c6d2bc..f41d445a0 100644 --- a/public/components/itemOut/itemOut.js +++ b/public/components/itemOut/itemOut.js @@ -75,7 +75,7 @@ vc.emit('viewOrgInfo', 'onIndex', vc.component.itemOutInfo.index); function(json,res){ if(res.status == 200){ - vc.toast('处理成功',true); + vc.toast('处理成功'); //关闭model vc.jumpToPage("/admin.html#/itemOutManage?" + vc.objToGetParam(JSON.parse(json))); return ; diff --git a/public/components/repairDispatchStep/repairDispatchStep.js b/public/components/repairDispatchStep/repairDispatchStep.js index c0da562c1..49e3ae421 100644 --- a/public/components/repairDispatchStep/repairDispatchStep.js +++ b/public/components/repairDispatchStep/repairDispatchStep.js @@ -120,7 +120,7 @@ function(json,res){ if(res.status == 200){ - vc.toast('处理成功',true); + vc.toast('处理成功'); //关闭model vc.jumpToPage("/admin.html#/repairDispatchManage?" + vc.objToGetParam(JSON.parse(json))); return ; diff --git a/public/components/serviceBinding/serviceBinding.js b/public/components/serviceBinding/serviceBinding.js index 6df65cd61..b34183404 100644 --- a/public/components/serviceBinding/serviceBinding.js +++ b/public/components/serviceBinding/serviceBinding.js @@ -75,7 +75,7 @@ function (json, res) { if (res.status == 200) { - vc.toast('处理成功', true); + vc.toast('处理成功'); //关闭model vc.jumpToPage("/admin.html#/serviceRegisterManage?" + vc.objToGetParam(JSON.parse(json))); return; diff --git a/public/vcCore/vcFramework.js b/public/vcCore/vcFramework.js index 4b850bfff..a4a9ba892 100644 --- a/public/vcCore/vcFramework.js +++ b/public/vcCore/vcFramework.js @@ -801,7 +801,7 @@ } }, function (res) { try { - if (res.status == 401) { + if (res.status == 401 && res.headers.map["location"]) { let _header = res.headers.map; //console.log('res', res); window.location.href = _header['location'];