|
|
@ -212,11 +212,20 @@ export default { |
|
|
|
}) |
|
|
|
.catch(util.hideLoad) |
|
|
|
}, |
|
|
|
// 打开柜子分接口 |
|
|
|
// e.page_id == 8 || // 租售柜 |
|
|
|
// e.page_id == 9 || // 储物柜 |
|
|
|
getOpenApi(){ |
|
|
|
let { optionsQuery } = this; |
|
|
|
if(optionsQuery.page_id == 8)return deviceApi.leaseTest; |
|
|
|
if(optionsQuery.page_id == 9)return deviceApi.lockerTest; |
|
|
|
}, |
|
|
|
openLockerReq(cabinet_ids){ |
|
|
|
let { curStoreInfo } = this; |
|
|
|
util.showLoad(); |
|
|
|
|
|
|
|
return deviceServer.get({ |
|
|
|
url: deviceApi.leaseTest, |
|
|
|
url: this.getOpenApi(), |
|
|
|
data: { |
|
|
|
brand_id: curStoreInfo.brand_id, |
|
|
|
cabinet_ids: cabinet_ids, |
|
|
|