mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-16 11:43:26 +08:00
优化完成get问题
This commit is contained in:
parent
fbeddefa3e
commit
ee6dfe4e58
@ -51,8 +51,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('addOrgCommunity',
|
||||
'list',
|
||||
vc.http.apiGet('/org.listOrgNoCommunitys',
|
||||
param,
|
||||
function(json) {
|
||||
var _communityInfo = JSON.parse(json);
|
||||
|
||||
@ -31,8 +31,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('chooseActivities',
|
||||
'list',
|
||||
vc.http.apiGet('/activities.listActivitiess',
|
||||
param,
|
||||
function(json){
|
||||
var _activitiesInfo = JSON.parse(json);
|
||||
|
||||
@ -31,8 +31,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('chooseAuditUser',
|
||||
'list',
|
||||
vc.http.apiGet('/auditUser.listAuditUsers',
|
||||
param,
|
||||
function (json) {
|
||||
var _auditUserInfo = JSON.parse(json);
|
||||
|
||||
@ -31,8 +31,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('chooseComplaint',
|
||||
'list',
|
||||
vc.http.apiGet('/complaint.listComplaints',
|
||||
param,
|
||||
function(json){
|
||||
var _complaintInfo = JSON.parse(json);
|
||||
|
||||
@ -33,8 +33,7 @@
|
||||
communityName: $that.navCommunityInfo.searchCommunityName
|
||||
}
|
||||
};
|
||||
vc.http.get('nav',
|
||||
'getCommunitys',
|
||||
vc.http.apiGet('/community.listMyEnteredCommunitys',
|
||||
param,
|
||||
function (json, res) {
|
||||
if (res.status == 200) {
|
||||
|
||||
@ -31,8 +31,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('choosePurchaseApply',
|
||||
'list',
|
||||
vc.http.apiGet('/purchaseApply.listPurchaseApplys',
|
||||
param,
|
||||
function(json){
|
||||
var _purchaseApplyInfo = JSON.parse(json);
|
||||
|
||||
@ -31,8 +31,7 @@
|
||||
}
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('listDemoStudy',
|
||||
'list',
|
||||
vc.http.apiGet('/demo.queryDemoConfig',
|
||||
param,
|
||||
function(json,res){
|
||||
var listData =JSON.parse(json);
|
||||
|
||||
@ -36,8 +36,7 @@
|
||||
|
||||
}
|
||||
//发送get请求
|
||||
vc.http.get('storesCommunity',
|
||||
'listMyCommunity',
|
||||
vc.http.apiGet('/community.listCommunitys',
|
||||
param,
|
||||
function(json,res){
|
||||
var _communityInfo =JSON.parse(json);
|
||||
|
||||
@ -31,8 +31,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('chooseBasePrivilege',
|
||||
'list',
|
||||
vc.http.apiGet('/basePrivilege.listBasePrivileges',
|
||||
param,
|
||||
function(json){
|
||||
var _basePrivilegeInfo = JSON.parse(json);
|
||||
|
||||
@ -173,8 +173,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('inspectionPlanManage',
|
||||
'list',
|
||||
vc.http.apiGet('/inspectionPlan.listInspectionPlans',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _inspectionPointManageInfo = JSON.parse(json);
|
||||
@ -194,8 +193,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('inspectionRouteManage',
|
||||
'list',
|
||||
vc.http.apiGet('/inspectionRoute.listInspectionRoutes',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _inspectionPointManageInfo = JSON.parse(json);
|
||||
@ -215,8 +213,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('inspectionPointManage',
|
||||
'list',
|
||||
vc.http.apiGet('/inspectionPoint.listInspectionPoints',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _inspectionPointManageInfo = JSON.parse(json);
|
||||
|
||||
@ -48,11 +48,10 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('listParkingSpaceFee',
|
||||
'list',
|
||||
vc.http.apiGet('/fee.listFee',
|
||||
param,
|
||||
function (json) {
|
||||
var _feeConfigInfo = JSON.parse(json);
|
||||
let _feeConfigInfo = JSON.parse(json);
|
||||
vc.component.listCarFeeInfo.total = _feeConfigInfo.total;
|
||||
vc.component.listCarFeeInfo.records = _feeConfigInfo.records;
|
||||
vc.component.listCarFeeInfo.fees = _feeConfigInfo.fees;
|
||||
|
||||
@ -149,7 +149,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('feeConfigManage', 'list', param,
|
||||
vc.http.apiGet('/feeConfig.listFeeConfigs', param,
|
||||
function (json, res) {
|
||||
var _feeConfigManageInfo = JSON.parse(json);
|
||||
vc.component.listOweFeeInfo.feeConfigs = _feeConfigManageInfo.feeConfigs;
|
||||
|
||||
@ -173,8 +173,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('roomCreateFee',
|
||||
'listRoom',
|
||||
vc.http.apiGet('/fee.listRoomsWhereFeeSet',
|
||||
param,
|
||||
function(json, res) {
|
||||
let listRoomData = JSON.parse(json);
|
||||
|
||||
@ -43,8 +43,7 @@
|
||||
param.params.rsId = param.params.rsId.trim();
|
||||
param.params.rstName = param.params.rstName.trim();
|
||||
//发送get请求
|
||||
vc.http.get('resourceStoreTypeManage',
|
||||
'list',
|
||||
vc.http.apiGet('/resourceStoreType.listResourceStoreTypes',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _sonResourceStoreTypeInfo = JSON.parse(json);
|
||||
|
||||
@ -39,8 +39,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('listStoreManage',
|
||||
'list',
|
||||
vc.http.apiGet('/store.listStores',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _listStoreManageInfo = JSON.parse(json);
|
||||
|
||||
@ -46,8 +46,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('machineRecordManage',
|
||||
'list',
|
||||
vc.http.apiGet('/machineRecord.listMachineRecords"',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _machineRecordManageInfo = JSON.parse(json);
|
||||
|
||||
@ -38,13 +38,12 @@
|
||||
|
||||
vc.component.machineTranslateManageInfo.conditions.page = _page;
|
||||
vc.component.machineTranslateManageInfo.conditions.row = _rows;
|
||||
var param = {
|
||||
let param = {
|
||||
params: vc.component.machineTranslateManageInfo.conditions
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('machineTranslateManage',
|
||||
'list',
|
||||
vc.http.apiGet('/machineTranslate.listMachineTranslates',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _machineTranslateManageInfo = JSON.parse(json);
|
||||
|
||||
@ -46,8 +46,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('machineVistorPhotoManage',
|
||||
'list',
|
||||
vc.http.apiGet('/machineRecord.listMachineRecords',
|
||||
param,
|
||||
function(json, res) {
|
||||
var _machineVistorPhotoManageInfo = JSON.parse(json);
|
||||
|
||||
@ -98,8 +98,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('roomCreateFee',
|
||||
'listRoom',
|
||||
vc.http.apiGet('/fee.listRoomsWhereFeeSet',
|
||||
param,
|
||||
function (json, res) {
|
||||
var listRoomData = JSON.parse(json);
|
||||
|
||||
@ -151,8 +151,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('listStoreManage',
|
||||
'getStoreInfo',
|
||||
vc.http.apiGet('/store.listStores',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _listStoreManageInfo = JSON.parse(json);
|
||||
|
||||
@ -29,8 +29,7 @@
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('purchaseApplyManage',
|
||||
'list',
|
||||
vc.http.apiGet('/purchaseApply.listPurchaseApplys',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _purchaseApplyDetailInfo = JSON.parse(json);
|
||||
|
||||
@ -22,8 +22,7 @@
|
||||
}
|
||||
|
||||
//发送get请求
|
||||
vc.http.get('remainingParkingSpace',
|
||||
'list',
|
||||
vc.http.apiGet('/machineTranslate.machineGetFreeParkingSpace',
|
||||
param,
|
||||
function (json, res) {
|
||||
var listParkingSpaceData = JSON.parse(json).data;
|
||||
|
||||
@ -66,8 +66,7 @@
|
||||
}
|
||||
};
|
||||
//查询房屋信息 业主信息
|
||||
vc.http.get('repairDispatchManage',
|
||||
'getRoom',
|
||||
vc.http.apiGet('/room.queryRooms',
|
||||
param,
|
||||
function(json, res) {
|
||||
if (res.status == 200) {
|
||||
|
||||
@ -231,7 +231,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('roomCreateFeeAdd', 'list', param,
|
||||
vc.http.apiGet('/feeConfig.listFeeConfigs', param,
|
||||
function(json, res) {
|
||||
var _feeConfigManageInfo = JSON.parse(json);
|
||||
vc.component.reportFeeDetailInfo.feeConfigDtos = _feeConfigManageInfo.feeConfigs;
|
||||
|
||||
@ -250,7 +250,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('feeConfigManage', 'list', param,
|
||||
vc.http.apiGet('/feeConfig.listFeeConfigs', param,
|
||||
function (json, res) {
|
||||
var _feeConfigManageInfo = JSON.parse(json);
|
||||
vc.component.reportFeeSummaryInfo.feeConfigs = _feeConfigManageInfo.feeConfigs;
|
||||
|
||||
@ -249,7 +249,7 @@
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('feeConfigManage', 'list', param,
|
||||
vc.http.apiGet('/feeConfig.listFeeConfigs', param,
|
||||
function(json, res) {
|
||||
var _feeConfigManageInfo = JSON.parse(json);
|
||||
vc.component.reportFloorUnitFeeSummaryInfo.feeConfigs = _feeConfigManageInfo.feeConfigs;
|
||||
|
||||
@ -92,8 +92,7 @@
|
||||
params: vc.component.staffFeeManageInfo.conditions
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('staffFeeManage',
|
||||
'list',
|
||||
vc.http.apiGet('/api.getStaffFee',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _staffFeeManageInfo = JSON.parse(json);
|
||||
|
||||
@ -80,8 +80,7 @@
|
||||
params: vc.component.tempCarInoutFeeManageInfo.conditions
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.get('tempCarInoutFeeManage',
|
||||
'list',
|
||||
vc.http.apiGet('/api.getTempCarInoutFee',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _tempCarInoutFeeManageInfo = JSON.parse(json);
|
||||
|
||||
@ -91,8 +91,7 @@
|
||||
param.params.vName = param.params.vName.trim();
|
||||
param.params.phoneNumber = param.params.phoneNumber.trim();
|
||||
//发送get请求
|
||||
vc.http.get('visitManage',
|
||||
'list',
|
||||
vc.http.apiGet('/visit.listVisits',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _visitManageInfo = JSON.parse(json);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user