优化代码

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: {
_loadAllResourceStoreInfo: function (_page, _row) {
let _resOrderType = vc.component.chooseResourceStoreInfo2.resOrderType;
let _shType = '2806';
if (_resOrderType == '20000') {
_shType = '2807';
}
var param = {
params: {
page: _page,
row: _row,
communityId: vc.getCurrentCommunity().communityId,
resOrderType:vc.component.chooseResourceStoreInfo2.resOrderType,
shType:'2806'
resOrderType: _resOrderType,
shType: _shType
}
};