优化代码

This commit is contained in:
java110 2021-04-08 19:10:46 +08:00
parent 4a4fed1262
commit 0f947fe265

View File

@ -31,13 +31,20 @@
}, },
methods: { methods: {
_loadAllResourceStoreInfo: function (_page, _row) { _loadAllResourceStoreInfo: function (_page, _row) {
let _resOrderType = vc.component.chooseResourceStoreInfo2.resOrderType;
let _shType = '2806';
if (_resOrderType == '20000') {
_shType = '2807';
}
var param = { var param = {
params: { params: {
page: _page, page: _page,
row: _row, row: _row,
communityId: vc.getCurrentCommunity().communityId, communityId: vc.getCurrentCommunity().communityId,
resOrderType:vc.component.chooseResourceStoreInfo2.resOrderType, resOrderType: _resOrderType,
shType:'2806' shType: _shType
} }
}; };