mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 21:59:12 +08:00
优化admin 调转物联网功能
This commit is contained in:
parent
29e25b4685
commit
f2cd6b17b0
@ -55,7 +55,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="direction" :label="$t('aAccessControl.table.direction')" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.direction === '3306' ? $t('aAccessControl.direction.in') : $t('aAccessControl.direction.out')
|
||||
{{ scope.row.direction === '3306' ? $t('aAccessControl.direction.in') :
|
||||
$t('aAccessControl.direction.out')
|
||||
}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
@ -83,6 +84,7 @@
|
||||
<script>
|
||||
import { listAdminAccessControl } from '@/api/iot/aAccessControlApi'
|
||||
import SelectAdminCommunity from '@/components/community/selectAdminCommunity'
|
||||
import { jumpToIot } from '@/api/user/menuApi'
|
||||
|
||||
export default {
|
||||
name: 'AAccessControlList',
|
||||
@ -144,10 +146,7 @@ export default {
|
||||
this.handleSearch()
|
||||
},
|
||||
handleDetail(row) {
|
||||
this.$router.push({
|
||||
path: '/iot/aAccessControlDetail',
|
||||
query: { machineId: row.machineId }
|
||||
})
|
||||
jumpToIot('/#/pages/iot/aAccessControlDetail?machineId=' + row.machineId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -73,6 +73,7 @@
|
||||
<script>
|
||||
import { listAdminChargeMachine } from '@/api/iot/adminChargeMachineApi'
|
||||
import SelectAdminCommunity from '@/components/community/selectAdminCommunity'
|
||||
import { jumpToIot } from '@/api/user/menuApi'
|
||||
|
||||
export default {
|
||||
name: 'AdminChargeMachineList',
|
||||
@ -126,7 +127,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
handleDetail(row) {
|
||||
this.$router.push({ path: '/iot/chargeMachineDetail', query: { machineId: row.machineId } })
|
||||
jumpToIot('/#/pages/iot/chargeMachineDetail?machineId=' + row.machineId)
|
||||
},
|
||||
handleSizeChange(val) {
|
||||
this.page.size = val
|
||||
|
||||
@ -97,6 +97,7 @@
|
||||
<script>
|
||||
import SelectAdminCommunity from '@/components/community/selectAdminCommunity'
|
||||
import { listAdminMeterMachine } from '@/api/iot/adminMeterApi'
|
||||
import { jumpToIot } from '@/api/user/menuApi'
|
||||
|
||||
export default {
|
||||
name: 'AdminMeterList',
|
||||
@ -164,13 +165,7 @@ export default {
|
||||
return type ? type.typeName : '-'
|
||||
},
|
||||
handleDetail(row) {
|
||||
this.$router.push({
|
||||
path: '/iot/meterDetail',
|
||||
query: {
|
||||
machineId: row.machineId,
|
||||
roomId: row.roomId
|
||||
}
|
||||
})
|
||||
jumpToIot('/#/pages/iot/meterDetail?machineId=' + row.machineId + '&roomId=' + row.roomId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user