mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化显示
This commit is contained in:
parent
9f4fd6c009
commit
75f5ffc850
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -112,7 +112,7 @@
|
||||
function(json,res){
|
||||
if(res.status == 200){
|
||||
|
||||
vc.toast('处理成功',true);
|
||||
vc.toast('处理成功');
|
||||
//关闭model
|
||||
vc.jumpToPage("/admin.html#/staff");
|
||||
return ;
|
||||
|
||||
@ -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 ;
|
||||
|
||||
@ -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 ;
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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(){
|
||||
|
||||
@ -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 ;
|
||||
|
||||
@ -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 ;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user