mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
道闸部分和新版物联网打通
This commit is contained in:
parent
880b4ecfe2
commit
78c7be9562
@ -83,7 +83,7 @@
|
||||
|
||||
<script>
|
||||
import noDataPage from '../../components/no-data-page/no-data-page.vue'
|
||||
import {listChargeMachine,listChargeMachineOrder} from '../../api/machine/machineApi.js';
|
||||
import {listChargeMachine,listChargeMachineOrder,getIotOpenApi} from '../../api/machine/machineApi.js';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -104,22 +104,24 @@
|
||||
methods: {
|
||||
_loadChargeMachineOrder:function(){
|
||||
let _that =this;
|
||||
listChargeMachineOrder(this,{
|
||||
getIotOpenApi(this,{
|
||||
machineId:this.machineId,
|
||||
communityId:this.getCommunityId(),
|
||||
page:1,
|
||||
row:100,
|
||||
personName:this.personName
|
||||
personName:this.personName,
|
||||
iotApiCode:'listChargeMachineOrderBmoImpl'
|
||||
}).then(_data=>{
|
||||
_that.orders = _data.data;
|
||||
})
|
||||
},
|
||||
_loadChargeMachine:function(){
|
||||
let _that =this;
|
||||
listChargeMachine(this,{
|
||||
getIotOpenApi(this,{
|
||||
communityId:this.getCommunityId(),
|
||||
page:1,
|
||||
row:100,
|
||||
iotApiCode:'listChargeMachineBmoImpl'
|
||||
}).then(_data=>{
|
||||
_that.machines = _data.machines;
|
||||
})
|
||||
|
||||
@ -63,7 +63,8 @@
|
||||
|
||||
<script>
|
||||
import noDataPage from '../../components/no-data-page/no-data-page.vue'
|
||||
import {listMachines,listMachineRecords} from '../../api/machine/machineApi.js';
|
||||
import {listMachines,listMachineRecords,getIotOpenApi} from '../../api/machine/machineApi.js';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -84,26 +85,28 @@
|
||||
methods: {
|
||||
_loadOpenDoorLog:function(){
|
||||
let _that =this;
|
||||
listMachineRecords(this,{
|
||||
getIotOpenApi(this,{
|
||||
machineId:this.machineId,
|
||||
communityId:this.getCommunityId(),
|
||||
page:1,
|
||||
row:100,
|
||||
name:this.name
|
||||
name:this.name,
|
||||
iotApiCode:'listAccessControlInoutBmoImpl'
|
||||
}).then(_data=>{
|
||||
_that.logs = _data.machineRecords;
|
||||
_that.logs = _data.data;
|
||||
})
|
||||
},
|
||||
_loadAccessControl:function(){
|
||||
let _that =this;
|
||||
listMachines(this,{
|
||||
getIotOpenApi(this,{
|
||||
communityId:this.getCommunityId(),
|
||||
page:1,
|
||||
row:100,
|
||||
machineTypeCd:'9999',
|
||||
domain:'ACCESS_CONTROL'
|
||||
domain:'ACCESS_CONTROL',
|
||||
iotApiCode:'listAccessControlBmoImpl',
|
||||
}).then(_data=>{
|
||||
_that.machines = _data.machines;
|
||||
_that.machines = _data.data;
|
||||
})
|
||||
},
|
||||
machineChange: function(e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user