优化boot 版相关bug

This commit is contained in:
wuxw 2022-08-12 00:17:44 +08:00
parent 91ddf3d8ce
commit 8cbd416fee
19 changed files with 40 additions and 60 deletions

View File

@ -49,9 +49,8 @@
vc.toast(vc.validate.errInfo);
return;
}
vc.http.post(
'editVisit',
'update',
vc.http.apiPost(
'/visit.updateVisit',
JSON.stringify(vc.component.examineVisitInfo),
{
emulateJSON: true

View File

@ -25,9 +25,8 @@
methods: {
_changeInspectionPlanState: function () {
vc.component.inspectionPlanStateInfo.communityId = vc.getCurrentCommunity().communityId;
vc.http.post(
'updateInspectionPlanState',
'update',
vc.http.apiPost(
'/inspectionPlan.updateInspectionPlanState',
JSON.stringify(vc.component.inspectionPlanStateInfo),
{
emulateJSON: true

View File

@ -16,9 +16,8 @@
doOwnerExitParkingSpace:function(){
vc.component.exitParkingSpaceInfo.communityId = vc.getCurrentCommunity().communityId;
vc.http.post(
'ownerExitParkingSpace',
'exit',
vc.http.apiPost(
'/parkingSpace.exitParkingSpace',
JSON.stringify(vc.component.exitParkingSpaceInfo),
{
emulateJSON:true

View File

@ -106,9 +106,8 @@
return ;
}
vc.http.post(
'propertyPay',
'payFee',
vc.http.apiPost(
'/fee.payFee',
JSON.stringify(vc.component.propertyPayInfo),
{
emulateJSON:true

View File

@ -79,9 +79,8 @@
}
vc.component.sellRoomInfo.communityId = vc.getCurrentCommunity().communityId;
vc.http.post(
'sellRoom',
'sell',
vc.http.apiPost(
'/room.sellRoom',
JSON.stringify(vc.component.sellRoomInfo), {
emulateJSON: true
},

View File

@ -129,9 +129,8 @@
}
vc.http.post(
'addAuditUserStepBinding',
'binding',
vc.http.apiPost(
'/auditUser.saveAuditUser',
JSON.stringify(vc.component.addAuditUserStepInfo.auditUserInfo), {
emulateJSON: true
},

View File

@ -60,9 +60,8 @@
data: vc.component.addComplaintStepInfo.infos
}*/
vc.component.addComplaintStepInfo.infos[2].roomId = vc.component.addComplaintStepInfo.infos[1].roomId;
vc.http.post(
'addComplaintStepBinding',
'binding',
vc.http.apiPost(
'/complaint.saveComplaint',
JSON.stringify(vc.component.addComplaintStepInfo.infos[2]), {
emulateJSON: true
},

View File

@ -79,9 +79,8 @@
vc.toast("请选择或填写必选信息");
return;
}
vc.http.post(
'addComplaintStepBinding',
'binding',
vc.http.apiPost(
'/complaint.saveComplaint',
JSON.stringify(vc.component.addRoomComplaintInfo), {
emulateJSON: true
},

View File

@ -106,9 +106,8 @@
}
vc.component.addRoomRepairInfo.communityId = vc.getCurrentCommunity().communityId;
vc.http.post(
'addOwnerRepair',
'save',
vc.http.apiPost(
'/ownerRepair.saveOwnerRepair',
JSON.stringify(vc.component.addRoomRepairInfo),
{
emulateJSON: true

View File

@ -61,9 +61,8 @@
},
_auditCommunityState: function(_auditInfo) {
_auditInfo.communityId = vc.component.auditCommunityManageInfo.currentCommunityId;
vc.http.post(
'auditCommunityManage',
'audit',
vc.http.apiPost(
'/community.auditCommunity',
JSON.stringify(_auditInfo), {
emulateJSON: true
},

View File

@ -72,9 +72,8 @@
},
_auditEnterCommunityState: function(_auditInfo) {
_auditInfo.communityMemberId = vc.component.auditEnterCommunityManageInfo.currentCommunityMemberId;
vc.http.post(
'auditEnterCommunityManage',
'audit',
vc.http.apiPost(
'/community.auditEnterCommunity',
JSON.stringify(_auditInfo), {
emulateJSON: true
},

View File

@ -93,9 +93,8 @@
}
//这里写提交代码
console.log("提交审核",vc.component.companyInfo);
vc.http.post(
'company',
'saveCompanyInfo',
vc.http.apiPost(
'/save.store.info',
JSON.stringify(vc.component.companyInfo),
{
emulateJSON:true

View File

@ -256,9 +256,8 @@
pgId: vc.component.privilegeInfo._currentPgId,
pIds: _pIds
};
vc.http.post(
'addPrivilege',
'addPrivilegeToPrivilegeGroup',
vc.http.apiPost(
'/add.privilege.PrivilegeGroup',
JSON.stringify(_objData), {
emulateJSON: true
},
@ -290,9 +289,8 @@
pgId: vc.component.privilegeInfo._currentPgId,
pIds: _pIds
};
vc.http.post(
'deletePrivilege',
'delete',
vc.http.apiPost(
'/delete.privilege.PrivilegeGroup',
JSON.stringify(_objData), {
emulateJSON: true
},

View File

@ -93,9 +93,8 @@
vc.toast("请选择或填写必选信息");
return;
}
vc.http.post(
'addStaffStepBinding',
'binding',
vc.http.apiPost(
'/user.staff.add',
JSON.stringify(vc.component.addStaffStepInfo.staffInfo), {
emulateJSON: true
},

View File

@ -92,9 +92,8 @@
videoPlaying: vc.component.newVisitInfo.infos[2]['videoPlaying'],
reasonType: vc.component.newVisitInfo.infos[2]['reasonType']
}
vc.http.post(
'addVisit',
'save',
vc.http.apiPost(
'/visit.saveVisit',
JSON.stringify(param), {
emulateJSON: true
},

View File

@ -70,9 +70,8 @@
_auditApplicationKeyState: function(_auditInfo) {
_auditInfo.applicationKeyId = vc.component.auditApplicationKeyManageInfo.currentApplicationKeyId;
_auditInfo.communityId = vc.getCurrentCommunity().communityId;
vc.http.post(
'auditApplicationKeyManage',
'audit',
vc.http.apiPost(
'/applicationKey.auditApplicationKey',
JSON.stringify(_auditInfo), {
emulateJSON: true
},

View File

@ -123,9 +123,8 @@
} else {
_repairDispatchParam.state = '10003';
}
vc.http.post(
'myRepairDispatch',
'closeOrder',
vc.http.apiPost(
'/ownerRepair.closeRepairDispatch',
JSON.stringify(_repairDispatchParam), {
emulateJSON: true
},

View File

@ -110,9 +110,8 @@
vc.component.repairDispatchStepInfo.repairDispatchInfo.repairId = vc.component.repairDispatchStepInfo.repairId;
vc.component.repairDispatchStepInfo.repairDispatchInfo.communityId = vc.getCurrentCommunity().communityId;
vc.http.post(
'repairDispatchStepBinding',
'binding',
vc.http.apiPost(
'/ownerRepair.repairDispatchStep',
JSON.stringify(vc.component.repairDispatchStepInfo.repairDispatchInfo), {
emulateJSON: true
},

View File

@ -95,9 +95,8 @@
data: vc.component.sellParkingSpaceInfo.infos
}
vc.http.post(
'sellParkingSpace',
'sell',
vc.http.apiPost(
'/parkingSpace.sellParkingSpace',
JSON.stringify(param), {
emulateJSON: true
},