优化显示

This commit is contained in:
java110 2020-03-28 13:48:27 +08:00
parent 9f4fd6c009
commit 75f5ffc850
11 changed files with 13 additions and 13 deletions

View File

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

View File

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

View File

@ -112,7 +112,7 @@
function(json,res){
if(res.status == 200){
vc.toast('处理成功',true);
vc.toast('处理成功');
//关闭model
vc.jumpToPage("/admin.html#/staff");
return ;

View File

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

View File

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

View File

@ -9,7 +9,7 @@
返回
</button>
<button type="button" class="btn btn-primary btn-sm"
v-on:click="_openAddInspectionRouteModal()">
v-on:click="_openAddInspectionRoutePointModal()">
<i class="fa fa-plus"></i>
添加
</button>
@ -40,7 +40,7 @@
<td class="text-right">
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openDeleteInspectionPointModel(inspectionPoint)">删除
v-on:click="_openDeleteInspectionRoutePointModel(inspectionPoint)">删除
</button>
</div>
</td>

View File

@ -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(){

View File

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

View File

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

View File

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

View File

@ -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'];