@@ -93,7 +93,7 @@ export default {
},
computed: {
dialogTitle () {
- return this.mesh.id ? '编辑网点' : '新增网点'
+ return this.mesh.meshId ? '编辑网点' : '新增网点'
}
methods: {
@@ -1,7 +1,8 @@
import request from '@/utils/request'
import {
messageSend,
- confirmAndSend
+ confirmAndSend,
+ addTenant
} from '@/api/base'
export function getBoundDevices (query, options) {
@@ -22,10 +23,10 @@ export function getDevices (query, options) {
return request({
url: '/device/unassigned/page',
method: 'GET',
- params: {
+ params: addTenant({
pageIndex, pageSize,
...params
- },
+ }),
...options
})