mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-11 06:07:24 +08:00
优化代码
This commit is contained in:
parent
86d46e5604
commit
b76061257e
@ -57,7 +57,7 @@
|
||||
},
|
||||
methods: {
|
||||
_loadAllResourceStoreInfo: function(_page, _row, _name) {
|
||||
var param = {
|
||||
let param = {
|
||||
params: {
|
||||
page: _page,
|
||||
row: _row,
|
||||
@ -71,6 +71,9 @@
|
||||
shId: $that.chooseResourceStoreInfo.shId
|
||||
}
|
||||
};
|
||||
if($that.chooseResourceStoreInfo.shId){
|
||||
param.params.communityId = '';
|
||||
}
|
||||
//发送get请求
|
||||
vc.http.apiGet('/resourceStore.listResourceStores',
|
||||
param,
|
||||
|
||||
@ -113,15 +113,16 @@
|
||||
_openAllocationStorehouseModel: function() {
|
||||
vc.emit('chooseResourceStore', 'openChooseResourceStoreModel', {
|
||||
resOrderType: '20000',
|
||||
shId: $that.allocationStorehouseApplyInfo.shId
|
||||
shId: $that.allocationStorehouseApplyInfo.shId,
|
||||
});
|
||||
},
|
||||
_listAllocationStorehouse: function(_page, _rows) {
|
||||
//communityId: vc.getCurrentCommunity().communityId
|
||||
let param = {
|
||||
params: {
|
||||
page: 1,
|
||||
row: 100,
|
||||
communityId: vc.getCurrentCommunity().communityId
|
||||
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
|
||||
Loading…
Reference in New Issue
Block a user